<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<br>
<div class="moz-cite-prefix">Den 03.11.2022 01:42, skrev Andrew
Randrianasulu via Cin:<br>
</div>
<blockquote type="cite"
cite="mid:CA+rFky4hqkhdADW+G8mOyx3ZWMooV4TB0cd9eKd60xcX52ifDA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">чт, 3 нояб. 2022 г., 03:34
Andrew Randrianasulu <<a
href="mailto:randrianasulu@gmail.com" target="_blank"
rel="noreferrer" moz-do-not-send="true"
class="moz-txt-link-freetext">randrianasulu@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">чт, 3 нояб. 2022
г., 03:14 Andrew Randrianasulu <<a
href="mailto:randrianasulu@gmail.com"
rel="noreferrer noreferrer noreferrer"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">randrianasulu@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">I think we can add some
clarification
<div dir="auto"><br>
</div>
<div dir="auto">---</div>
<div dir="auto">
<h1>HDV on a Blu-ray Disc Without Re-encoding
</h1>
<p>
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. Legal input for Video –
MPEG1VIDEO, MPEG2VIDEO, H264; Audio – MP1,
MP2, AC3, AC3PLUS, DTS, TRUHD.
</p>
<p>Note, mp2 and mp1 audio codecs are valid
for transport stream itself but not as
on-disk format for Blu-Rays.</p>
<p>In this case you still can save original
video by using ffmpeg's switches</p>
<p> -c:v copy -c:a ac3 , while outputting into
another temporal ts container.</p>
<p>{waiting for Terje's results on pcm_bluray
case}</p>
<p><br>
</p>
<p>---</p>
<p><br>
</p>
<p>I think all m2ts files you used for testing
were h264/aac (or ac3), not from-camcoder
HDVs with mpeg2 video/mp2 audio. </p>
<p>you can try HDV-in-mov from this folder as
ffmpeg test file, I think</p>
<p><a
href="http://samples.mplayerhq.hu/mov/FCP/"
rel="noreferrer noreferrer noreferrer
noreferrer" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">http://samples.mplayerhq.hu/mov/FCP/</a></p>
</div>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">oh, this is not mp2 audio but pcm audio.
And ..not exactly kind of pcm used on blurays!</div>
<div dir="auto"><br>
</div>
<div dir="auto">so this line work, note mpegts_m2ts_mode
switch for enabling more bluray like output, without
it ffmpeg will mux audio into private stream - good
luck getting it back!</div>
<div dir="auto"><br>
</div>
<div dir="auto">ffmpeg -i HDV_1080i50.mov -c:v copy
-c:a pcm_bluray -mpegts_m2ts_mode 1 hdv.mts<br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">then tsmuxer recognizes mts file as
below:</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div dir="auto">~/tsMuxer $ tsmuxer hdv.mts</div>
<div dir="auto">tsMuxeR version 2.6.16-dev. <a
href="http://github.com/justdan96/tsMuxer"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">github.com/justdan96/tsMuxer</a></div>
<div dir="auto">Track ID: 4113
Stream type: MPEG-2</div>
<div dir="auto">Stream ID: V_MPEG-2</div>
<div dir="auto">Stream info: Profile: Main@6.
Resolution: 1440:1080i. Frame rate: 25</div>
<div dir="auto">Stream lang:</div>
<div dir="auto"><br>
</div>
<div dir="auto">Track ID: 4352</div>
<div dir="auto">Stream type: LPCM</div>
<div dir="auto">Stream ID: A_LPCM</div>
<div dir="auto">Stream info: Bitrate: 1536Kbps Sample
Rate: 48KHz Channels: 2 Bits per sample: 16bit</div>
<div dir="auto">Stream lang: eng</div>
<div dir="auto"><br>
</div>
<div dir="auto">Duration: 00:00:08.000</div>
<div dir="auto"><br>
</div>
<div dir="auto">====</div>
<div dir="auto"><br>
</div>
<div dir="auto">I wonder if you can cp this file few
times and then cat them back together for simulating
longer video ) ?</div>
</div>
<div dir="auto"><br>
</div>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><a
href="https://github.com/OpenShot/openshot-qt/issues/3428#top"
target="_blank" rel="noreferrer" moz-do-not-send="true"
class="moz-txt-link-freetext">https://github.com/OpenShot/openshot-qt/issues/3428#top</a><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">this one contain real very short hdv sample with
mp2 sound</div>
<div dir="auto"><br>
</div>
<div dir="auto"><a href="http://twenkid.com/os/3.m2t"
moz-do-not-send="true" class="moz-txt-link-freetext">http://twenkid.com/os/3.m2t</a><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
</div>
</blockquote>
<br>
I can try to dig and test further into this matter later this month
- or possibly more realistic next month. <br>
Currently I spend some holiday weeks on Gran Canaria 😎<br>
<br>
Some thoughts in advance:<br>
<br>
Would it possibly be better/clear to differ/split between the
formats, HDV video on tape (M2T container) and the successor
H264/AVC(HD) video on disk?<br>
<a class="moz-txt-link-freetext" href="https://en.wikipedia.org/wiki/HDV">https://en.wikipedia.org/wiki/HDV</a><br>
<br>
Possibly you still have the probably little longer HDV 1080i sample
file, "20081103140154.m2t" we used for the HDV format patch here<br>
<a class="moz-txt-link-freetext" href="https://www.mail-archive.com/cin@lists.cinelerra-gg.org/msg02048.html">https://www.mail-archive.com/cin@lists.cinelerra-gg.org/msg02048.html</a><br>
<br>
And if Phyllis has access to a Blu-ray disc burner and BD hw
player, testing could possibly start sooner(?)<br>
<br>
<br>
<br>
<br>
<br>
<blockquote type="cite"
cite="mid:CA+rFky4hqkhdADW+G8mOyx3ZWMooV4TB0cd9eKd60xcX52ifDA@mail.gmail.com">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">
<div dir="auto">
<p><br>
</p>
<p><br>
</p>
<p>----</p>
<p>
For creating a blu-ray disc, if you have HDV
MPEG-2 media that is in blu-ray format, you
can save the original quality of your work,
rather than rendering it to another format. </p>
<p><br>
</p>
<p>{I hope Terje will let us know if bdwrite
still works with bluray pcm audio as
produced by ffmpeg 5.1+}</p>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
</blockquote>
<br>
</body>
</html>