<br><br>On Wednesday, November 24, 2021, Terje J. Hanssen via Cin <<a href="mailto:cin@lists.cinelerra-gg.org">cin@lists.cinelerra-gg.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I pick up again and continue another thread on this topic started a year ago:<br>
<a href="https://www.mail-archive.com/cin@lists.cinelerra-gg.org/msg02145.html" target="_blank">https://www.mail-archive.com/c<wbr>in@lists.cinelerra-gg.org/msg0<wbr>2145.html</a><br>
<br>
<br>
In this post I start carefully with three questions regarding manual definitions and procedure in this section:<br>
<a href="https://cinelerra-gg.org/download/CinelerraGG_Manual/HDV_on_Blu_ray_Disc_Without.html" target="_blank">https://cinelerra-gg.org/downl<wbr>oad/CinelerraGG_Manual/HDV_on_<wbr>Blu_ray_Disc_Without.html</a><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<br>
</blockquote>
<br>
==========<br>
<br>
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.<br>
AFAIK the next generation camcorders after HDV used H.264/AVC (AVCHD)?</blockquote><div><br></div><div>i think yes... </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
=========<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Legal input for<br>
Video – MPEG1VIDEO, MPEG2VIDEO, H264;<br>
Audio – MP1, MP2, AC3, AC3PLUS, DTS, TRUHD.<br>
</blockquote>
<br>
<br>
To verify this with FFMpeg for the previous HDV test-file "20081103140154.m2t" available on internet:<br>
<br>
ffmpeg -i 20081103140154.m2t 2>&1 >/dev/null | egrep "Audio|Video"<br>
<br>
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<br>
Stream #0:1[0x814]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 384 kb/s<br>
<br>
<br>
According to the manual, both the HDV MPEG2Video stream and MP2 audio stream should be legal input to create a Blu-ray disc.<br>
<br>
However, MP2 isn't on Sony's list or other I have seen over audio and video codecs supported on Blu-ray Disc media.<br>
<a href="https://www.sony.com/electronics/support/articles/00029663" target="_blank">https://www.sony.com/electroni<wbr>cs/support/articles/00029663</a><br>
<br>
<br>
Q2. Can someone clarify if MP2 rather should be transcoded to i.e AC3 instead, possibly also remux to BDAV/M2TS if required (below)?<br>
(On my first attempt with "MTS" format, Mediainfo reported this FileExtension_Invalid: ts m2t m2s m4t m4s tmf ts tp trp ty)</blockquote><div><br></div><div><br></div><div>from</div><div><a href="http://blu-raydisc.com/assets/Downloadablefile/BD-ROM-AV-WhitePaper_110712.pdf">http://blu-raydisc.com/assets/Downloadablefile/BD-ROM-AV-WhitePaper_110712.pdf</a></div><div><br></div><div>p. 19 </div><div><br></div><div>it seems mp2 is not allowed on Bd-rom disks (and ffmpeg's muxer had or even today have problems with muxing lpcm into bd-compatible m2ts?) </div><div><br></div><div>so yeah, transcoding seems to be only way, manual need correction. </div><div>I think while mp2 allowed in generic transport stream it is not allowed on bluray especially (at least by standart) </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
=========<br>
<br>
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)</blockquote><div><br></div><div>I tried to find anyone with player for doing experiment like this - no luck! </div><div><br></div><div>of course you are encouraged to try, just lower bitrate to 8-9 mbit/s total</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
=========<br>
<br>
<br>
Transcode to AC3 and remux to M2TS with FFMpeg if required:<br>
<br>
ffmpeg -i 20081103140154.m2t -acodec ac3 -vcodec copy 20081103140154.m2ts<br>
<br>
<br>
ffmpeg -i 20081103140154_m2t-ac3.m2ts 2>&1 >/dev/null | egrep "Audio|Video"<br>
.........<br>
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<br>
Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s<br>
<br>
<br>
mediainfo 20081103140154_m2t-ac3.m2ts<br>
..........<br>
General<br>
ID <wbr> : 1 (0x1)<br>
Complete name <wbr> : 20081103140154_m2t-ac3.m2ts<br>
Format <wbr> : BDAV<br>
Format/Info <wbr> : Blu-ray Video<br>
File size <wbr> : 42.2 MiB<br>
Duration <wbr> : 13 s 360 ms<br>
Overall bit rate mode : Variable<br>
Overall bit rate : 26.4 Mb/s<br>
<br>
Video<br>
ID <wbr> : 4113 (0x1011)<br>
Menu ID <wbr> : 1 (0x1)<br>
Format <wbr> : MPEG Video<br>
Commercial name : HDV 1080i<br>
Format version <wbr> : Version 2<br>
Format profile <wbr> : Main@High 1440<br>
Format settings <wbr> : CustomMatrix / BVOP<br>
Format settings, BVOP : Yes<br>
Format settings, Matrix : Custom<br>
Format settings, GOP : M=3, N=12<br>
Format settings, picture structure : Frame<br>
Codec ID <wbr> : 2<br>
Duration <wbr> : 13 s 440 ms<br>
Bit rate mode <wbr> : Constant<br>
Bit rate <wbr> : 25.0 Mb/s<br>
Width <wbr> : 1 440 pixels<br>
Height <wbr> : 1 080 pixels<br>
Display aspect ratio : 16:9<br>
Frame rate <wbr> : 25.000 FPS<br>
Standard <wbr> : Component<br>
Color space <wbr> : YUV<br>
Chroma subsampling <wbr> : 4:2:0<br>
Bit depth <wbr> : 8 bits<br>
Scan type <wbr> : Interlaced<br>
Scan order <wbr> : Top Field First<br>
Compression mode : Lossy<br>
Bits/(Pixel*Frame) <wbr> : 0.643<br>
Stream size <wbr> : 40.3 MiB (95%)<br>
Color primaries <wbr> : BT.709<br>
Transfer characteristics <wbr> : BT.709<br>
Matrix coefficients <wbr> : BT.709<br>
<br>
Audio<br>
ID <wbr> : 4352 (0x1100)<br>
Menu ID <wbr> : 1 (0x1)<br>
Format <wbr> : AC-3<br>
Format/Info <wbr> : Audio Coding 3<br>
Commercial name : Dolby Digital<br>
Codec ID <wbr> : 129<br>
Duration <wbr> : 13 s 440 ms<br>
Bit rate mode <wbr> : Constant<br>
Bit rate <wbr> : 192 kb/s<br>
Channel(s) <wbr> : 2 channels<br>
Channel layout <wbr> : L R<br>
Sampling rate <wbr> : 48.0 kHz<br>
Frame rate <wbr> : 31.250 FPS (1536 SPF)<br>
Compression mode : Lossy<br>
Delay relative to video : -5 ms<br>
Stream size <wbr> : 315 KiB (1%)<br>
Service kind <wbr> : Complete Main<br>
<br>
Menu<br>
ID <wbr> : 256 (0x100)<br>
Menu ID <wbr> : 1 (0x1)<br>
Duration <wbr> : 13 s 360 ms<br>
List <wbr> : 4113 (0x1011) (MPEG Video) / 4352 (0x1100) (AC-3)<br>
Service name <wbr> : Service01<br>
Service provider <wbr> : FFmpeg<br>
Service type <wbr> : digital television<br>
<br>
=============<br>
<br>
Terje J. H<br>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" target="_blank">https://lists.cinelerra-gg.org<wbr>/mailman/listinfo/cin</a><br>
</blockquote>