[Cin] Testing HDV on a Blu-ray Disc Without Re-encoding

Terje J. Hanssen terjejhanssen at gmail.com
Wed Nov 24 02:52:35 CET 2021


I pick up again and continue another thread on this topic started a year 
ago:
https://www.mail-archive.com/cin@lists.cinelerra-gg.org/msg02145.html


In this post I start carefully with three questions regarding manual 
definitions and procedure in this section:
https://cinelerra-gg.org/download/CinelerraGG_Manual/HDV_on_Blu_ray_Disc_Without.html

> An MTS file is a video file saved in the high-definition (HD) MPEG 
> Transport Stream video format, commonly called AVCHD. It contains HD 
> video compatible with Blu-ray disc format and is based on the MPEG-2 
> transport stream. MTS files are often used by Sony, Panasonic, Canon 
> and other HD camcorders.

==========

Q1. My HDV 1080i video file transfered from tape to HDD via Firewire, 
get a file extension M2T, which then is recognized as format MPEG-TS by 
Mediainfo.
AFAIK the next generation camcorders after HDV used H.264/AVC (AVCHD)?

=========

> Legal input for
> Video – MPEG1VIDEO, MPEG2VIDEO, H264;
> Audio – MP1, MP2, AC3, AC3PLUS, DTS, TRUHD.


To verify this with FFMpeg for the previous HDV test-file 
"20081103140154.m2t" available on internet:

ffmpeg -i 20081103140154.m2t 2>&1 >/dev/null | egrep "Audio|Video"

   Stream #0:0[0x810]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), 
yuv420p(tv, bt709, top first), 1440x1080 [SAR 4:3 DAR 16:9], 25000 kb/s, 
25 fps, 25 tbr, 90k tbn, 50 tbc
   Stream #0:1[0x814]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, 
stereo, fltp, 384 kb/s


According to the manual, both the HDV MPEG2Video stream and MP2 audio 
stream should be legal input to create a Blu-ray disc.

However, MP2 isn't on Sony's list or other I have seen over audio and 
video codecs supported on Blu-ray Disc media.
https://www.sony.com/electronics/support/articles/00029663


Q2. Can someone clarify if MP2 rather should be transcoded to i.e AC3 
instead, possibly also remux to BDAV/M2TS if required (below)?
(On my first attempt with "MTS" format, Mediainfo reported this 
FileExtension_Invalid: ts m2t m2s m4t m4s tmf ts tp trp ty)

=========

Q3. I also wonder if the manual command procedure creates a BDAV or a 
BDM structure, and optional if a DVD-RW disc can be used to create and 
playback this "Blu-ray disc" using a Blu-ray burner and a standalone 
UHD-Blu-ray player device? (At the time I have no free BD-R/RE discs left)

=========


Transcode to AC3 and remux to M2TS with FFMpeg if required:

ffmpeg -i 20081103140154.m2t -acodec ac3 -vcodec copy 20081103140154.m2ts


ffmpeg -i 20081103140154_m2t-ac3.m2ts 2>&1 >/dev/null | egrep "Audio|Video"
.........
   Stream #0:0[0x1011]: Video: mpeg2video (Main) ([2][0][0][0] / 
0x0002), yuv420p(tv, bt709, top first), 1440x1080 [SAR 4:3 DAR 16:9], 
25000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
   Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 
stereo, fltp, 192 kb/s


mediainfo 20081103140154_m2t-ac3.m2ts
..........
General
ID                                       : 1 (0x1)
Complete name                            : 20081103140154_m2t-ac3.m2ts
Format                                   : BDAV
Format/Info                              : Blu-ray Video
File size                                : 42.2 MiB
Duration                                 : 13 s 360 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 26.4 Mb/s

Video
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : MPEG Video
Commercial name                          : HDV 1080i
Format version                           : Version 2
Format profile                           : Main at High 1440
Format settings                          : CustomMatrix / BVOP
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Custom
Format settings, GOP                     : M=3, N=12
Format settings, picture structure       : Frame
Codec ID                                 : 2
Duration                                 : 13 s 440 ms
Bit rate mode                            : Constant
Bit rate                                 : 25.0 Mb/s
Width                                    : 1 440 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 25.000 FPS
Standard                                 : Component
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Top Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.643
Stream size                              : 40.3 MiB (95%)
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : 129
Duration                                 : 13 s 440 ms
Bit rate mode                            : Constant
Bit rate                                 : 192 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Delay relative to video                  : -5 ms
Stream size                              : 315 KiB (1%)
Service kind                             : Complete Main

Menu
ID                                       : 256 (0x100)
Menu ID                                  : 1 (0x1)
Duration                                 : 13 s 360 ms
List                                     : 4113 (0x1011) (MPEG Video) / 
4352 (0x1100) (AC-3)
Service name                             : Service01
Service provider                         : FFmpeg
Service type                             : digital television

=============

Terje J. H


More information about the Cin mailing list