<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<br>
<div class="moz-cite-prefix">Den 06.11.2022 00:56, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite"
cite="mid:CA+rFky7yGXGufvfih5xX5CFxGYR06b3Eayo-OZ7YBNGZxhuzjw@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">вс, 6 нояб. 2022 г., 02:06
Terje J. Hanssen <<a
href="mailto:terjejhanssen@gmail.com"
moz-do-not-send="true" class="moz-txt-link-freetext">terjejhanssen@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<br>
<div>Den 05.11.2022 23:25, skrev Andrew Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">вс, 6 нояб.
2022 г., 01:05 Terje J. Hanssen <<a
href="mailto:terjejhanssen@gmail.com"
target="_blank" rel="noreferrer"
moz-do-not-send="true"
class="moz-txt-link-freetext">terjejhanssen@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div> <br>
<br>
<div>Den 05.11.2022 13:46, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">сб,
5 нояб. 2022 г., 15:39 Terje J.
Hanssen <<a
href="mailto:terjejhanssen@gmail.com"
rel="noreferrer noreferrer"
target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">terjejhanssen@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div> <br>
<br>
<div>Den 03.11.2022 22:13, skrev
Andrew Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr"
class="gmail_attr">чт,
3 нояб. 2022 г., 21:28
Terje J. Hanssen <<a
href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer
noreferrer"
target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">terjejhanssen@gmail.com</a>>:<br>
</div>
<blockquote
class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
<div> <br>
<br>
<div>Den 03.11.2022
16:17, skrev
Andrew
Randrianasulu:<br>
</div>
<blockquote
type="cite">
<div dir="auto">
<div><br>
<br>
<div
class="gmail_quote">
<div dir="ltr"
class="gmail_attr">чт, 3 нояб. 2022 г., 17:52 Terje J. Hanssen <<a
href="mailto:terjejhanssen@gmail.com"
rel="noreferrer noreferrer noreferrer noreferrer" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">terjejhanssen@gmail.com</a>>:<br>
</div>
<blockquote
class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<br>
<div>Den
03.11.2022
01:42, skrev
Andrew
Randrianasulu
via Cin:<br>
</div>
<blockquote
type="cite">
<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" rel="noreferrer noreferrer
noreferrer
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">
<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
noreferrer
noreferrer
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 noreferrer 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
noreferrer
noreferrer
noreferrer
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"
rel="noreferrer
noreferrer
noreferrer
noreferrer
noreferrer
noreferrer"
target="_blank"
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" rel="noreferrer noreferrer noreferrer
noreferrer
noreferrer"
target="_blank"
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>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">have
good times
(even without
camcoder!)</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> <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
href="https://en.wikipedia.org/wiki/HDV"
rel="noreferrer noreferrer noreferrer noreferrer noreferrer"
target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://en.wikipedia.org/wiki/HDV</a></div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">sure,
right now it
confusing.</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"><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
href="https://www.mail-archive.com/cin@lists.cinelerra-gg.org/msg02048.html"
rel="noreferrer noreferrer noreferrer noreferrer noreferrer"
target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://www.mail-archive.com/cin@lists.cinelerra-gg.org/msg02048.html</a></div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">yeah,
will call my
friend 'find'
)</div>
<div dir="auto"><br>
</div>
<div dir="auto">thanks!</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"><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">
<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>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
I forgot one
question:<br>
Will it be possible
and how to access
and use ffmpeg-5.x
included with Cin-GG
in a terminal as
usual?<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">if you
compile your own cinelerra
ffmpeg binary will be in
thirdparty/ffmpeg-5.1/ffmpeg </div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">we do not
install this binary
because cin does all work
via library interface.</div>
<div dir="auto"><br>
</div>
<div dir="auto">So I think
you can do single-user
build and then play with
compiled binary and may be
even use it in shell
scripting as described in</div>
<div dir="auto"><br>
</div>
<div dir="auto"><a
href="https://cinelerra-gg.org/download/CinelerraGG_Manual/Menu_Bar_Shell_Commands.html"
rel="noreferrer
noreferrer noreferrer"
target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">https://cinelerra-gg.org/download/CinelerraGG_Manual/Menu_Bar_Shell_Commands.html</a><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> <br>
The latest openSUSE
Leap 15.4 distro I
use, has so far no
official ffmpeg-5.x
package or codec
enabled from
Packman.<br>
I have add-installed
ffmpeg-5.1.2 from
OBS (Open Build
Service), but don't
know if it works. <br>
<br>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
===========================<br>
<blockquote type="cite">
<div dir="auto">
<div>
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div> <br>
A first test step with
add-installed Experimental
ffmpeg-5-5.1.2-lp154.35.1.x86_64.rpm
for Leap 15.4 from<br>
<a
href="https://software.opensuse.org/download/package?package=ffmpeg-5&project=multimedia%3Alibs"
rel="noreferrer noreferrer
noreferrer" target="_blank"
moz-do-not-send="true">https://software.opensuse.org/download/package?package=ffmpeg-5&project=multimedia%3Alibs</a><br>
<a
href="https://build.opensuse.org/package/show/multimedia%3Alibs/ffmpeg-5"
rel="noreferrer noreferrer
noreferrer" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">https://build.opensuse.org/package/show/multimedia%3Alibs/ffmpeg-5</a><br>
<font face="Courier New,
Courier, monospace"><br>
</font>
<blockquote><font face="Courier
New, Courier, monospace">zypper
addrepo <a
href="https://download.opensuse.org/repositories/multimedia:libs/15.4/multimedia:libs.repo"
rel="noreferrer noreferrer
noreferrer"
target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">https://download.opensuse.org/repositories/multimedia:libs/15.4/multimedia:libs.repo</a><br>
zypper refresh<br>
zypper install ffmpeg-5<br>
</font></blockquote>
<font face="Courier New,
Courier, monospace">----------------<br>
<br>
ffmpeg -i 3.m2t -c:v copy -c:a
pcm_bluray output.ts<br>
ffmpeg version 5.1.2 Copyright
(c) 2000-2022 the FFmpeg
developers<br>
built with gcc 7 (SUSE
Linux)<br>
-------------<br>
Input #0, mpegts, from
'3.m2t':<br>
Duration: 00:00:03.10,
start: 1.400000, bitrate:
21633 kb/s<br>
Program 1<br>
Metadata:<br>
service_name :
Service01<br>
service_provider: FFmpeg<br>
Stream #0:0[0x100]: Video:
mpeg2video (Main)
([2][0][0][0] / 0x0002),
yuv420p(tv, bt709, top first),
1440x1080 [SAR 4:3 DAR 16:9],
25000 kb/s, 29.97 fps, 29.97
tbr, 90k tbn<br>
Side data:<br>
cpb: bitrate
max/min/avg: 25000000/0/0
buffer size: 7340032
vbv_delay: N/A<br>
Stream #0:1[0x101]: Audio:
mp2 ([3][0][0][0] / 0x0003),
48000 Hz, stereo, fltp, 384
kb/s<br>
Unknown encoder 'pcm_bluray'<br>
<br>
-----------<br>
<br>
Obviously pcm_bluray encoder
is not enabled - only the
decoder is enabled. Then it
will be difficult ...<br>
<br>
ffmpeg -codecs -hide_banner |
egrep "pcm|pcm_bluray"<br>
<br>
..AIL. adpcm_4xm
ADPCM 4X Movie<br>
..AIL. adpcm_adx
SEGA CRI ADX ADPCM<br>
..AIL. adpcm_afc
ADPCM Nintendo Gamecube AFC<br>
..AIL. adpcm_agm
ADPCM AmuseGraphics Movie AGM<br>
..AIL. adpcm_aica
ADPCM Yamaha AICA<br>
..AIL. adpcm_argo
ADPCM Argonaut Games<br>
..AIL. adpcm_ct
ADPCM Creative Technology<br>
..AIL. adpcm_dtk
ADPCM Nintendo Gamecube DTK<br>
..AIL. adpcm_ea
ADPCM Electronic Arts<br>
..AIL. adpcm_ea_maxis_xa
ADPCM Electronic Arts Maxis
CDROM XA<br>
..AIL. adpcm_ea_r1
ADPCM Electronic Arts R1<br>
..AIL. adpcm_ea_r2
ADPCM Electronic Arts R2<br>
..AIL. adpcm_ea_r3
ADPCM Electronic Arts R3<br>
..AIL. adpcm_ea_xas
ADPCM Electronic Arts XAS<br>
..AIL. adpcm_g722
G.722 ADPCM<br>
..AIL. adpcm_g726
G.726 ADPCM<br>
..AIL. adpcm_g726le
G.726 ADPCM little-endian<br>
..AIL. adpcm_ima_acorn
ADPCM IMA Acorn Replay<br>
..AIL. adpcm_ima_alp
ADPCM IMA High Voltage
Software ALP<br>
..AIL. adpcm_ima_amv
ADPCM IMA AMV<br>
..AIL. adpcm_ima_apc
ADPCM IMA CRYO APC<br>
..AIL. adpcm_ima_apm
ADPCM IMA Ubisoft APM<br>
..AIL. adpcm_ima_cunning
ADPCM IMA Cunning Developments<br>
..AIL. adpcm_ima_dat4
ADPCM IMA Eurocom DAT4<br>
..AIL. adpcm_ima_dk3
ADPCM IMA Duck DK3<br>
..AIL. adpcm_ima_dk4
ADPCM IMA Duck DK4<br>
..AIL. adpcm_ima_ea_eacs
ADPCM IMA Electronic Arts EACS<br>
..AIL. adpcm_ima_ea_sead
ADPCM IMA Electronic Arts SEAD<br>
..AIL. adpcm_ima_iss
ADPCM IMA Funcom ISS<br>
..AIL. adpcm_ima_moflex
ADPCM IMA MobiClip MOFLEX<br>
..AIL. adpcm_ima_mtf
ADPCM IMA Capcom's MT
Framework<br>
..AIL. adpcm_ima_oki
ADPCM IMA Dialogic OKI<br>
..AIL. adpcm_ima_qt
ADPCM IMA QuickTime<br>
..AIL. adpcm_ima_rad
ADPCM IMA Radical<br>
..AIL. adpcm_ima_smjpeg
ADPCM IMA Loki SDL MJPEG<br>
..AIL. adpcm_ima_ssi
ADPCM IMA Simon & Schuster
Interactive<br>
..AIL. adpcm_ima_wav
ADPCM IMA WAV<br>
..AIL. adpcm_ima_ws
ADPCM IMA Westwood<br>
..AIL. adpcm_ms
ADPCM Microsoft<br>
..AIL. adpcm_mtaf
ADPCM MTAF<br>
..AIL. adpcm_psx
ADPCM Playstation<br>
..AIL. adpcm_sbpro_2
ADPCM Sound Blaster Pro 2-bit<br>
..AIL. adpcm_sbpro_3
ADPCM Sound Blaster Pro
2.6-bit<br>
..AIL. adpcm_sbpro_4
ADPCM Sound Blaster Pro 4-bit<br>
..AIL. adpcm_swf
ADPCM Shockwave Flash<br>
..AIL. adpcm_thp
ADPCM Nintendo THP<br>
..AIL. adpcm_thp_le
ADPCM Nintendo THP
(Little-Endian)<br>
..AIL. adpcm_vima
LucasArts VIMA audio<br>
..AIL. adpcm_xa
ADPCM CDROM XA<br>
..AIL. adpcm_yamaha
ADPCM Yamaha<br>
..AIL. adpcm_zork
ADPCM Zork<br>
..AIL. derf_dpcm
DPCM Xilam DERF<br>
..AIL. gremlin_dpcm
DPCM Gremlin<br>
..AIL. interplay_dpcm
DPCM Interplay<br>
DEAIL. pcm_alaw
PCM A-law / G.711 A-law<br>
D.AI.S pcm_bluray
PCM signed 16|20|24-bit
big-endian for Blu-ray media<br>
D.AI.S pcm_dvd
PCM signed 20|24-bit
big-endian<br>
..AI.S pcm_f16le
PCM 16.8 floating point
little-endian<br>
..AI.S pcm_f24le
PCM 24.0 floating point
little-endian<br>
DEAI.S pcm_f32be
PCM 32-bit floating point
big-endian<br>
DEAI.S pcm_f32le
PCM 32-bit floating point
little-endian<br>
DEAI.S pcm_f64be
PCM 64-bit floating point
big-endian<br>
DEAI.S pcm_f64le
PCM 64-bit floating point
little-endian<br>
..AI.S pcm_lxf
PCM signed 20-bit
little-endian planar<br>
DEAIL. pcm_mulaw
PCM mu-law / G.711 mu-law<br>
DEAI.S pcm_s16be
PCM signed 16-bit big-endian<br>
DEAI.S pcm_s16be_planar
PCM signed 16-bit big-endian
planar<br>
DEAI.S pcm_s16le
PCM signed 16-bit
little-endian<br>
DEAI.S pcm_s16le_planar
PCM signed 16-bit
little-endian planar<br>
DEAI.S pcm_s24be
PCM signed 24-bit big-endian<br>
..AI.S pcm_s24daud
PCM D-Cinema audio signed
24-bit<br>
DEAI.S pcm_s24le
PCM signed 24-bit
little-endian<br>
DEAI.S pcm_s24le_planar
PCM signed 24-bit
little-endian planar<br>
DEAI.S pcm_s32be
PCM signed 32-bit big-endian<br>
DEAI.S pcm_s32le
PCM signed 32-bit
little-endian<br>
DEAI.S pcm_s32le_planar
PCM signed 32-bit
little-endian planar<br>
..AI.S pcm_s64be
PCM signed 64-bit big-endian<br>
..AI.S pcm_s64le
PCM signed 64-bit
little-endian<br>
DEAI.S pcm_s8
PCM signed 8-bit<br>
DEAI.S pcm_s8_planar
PCM signed 8-bit planar<br>
..AI.S pcm_sga
PCM SGA<br>
DEAI.S pcm_u16be
PCM unsigned 16-bit big-endian<br>
DEAI.S pcm_u16le
PCM unsigned 16-bit
little-endian<br>
DEAI.S pcm_u24be
PCM unsigned 24-bit big-endian<br>
DEAI.S pcm_u24le
PCM unsigned 24-bit
little-endian<br>
DEAI.S pcm_u32be
PCM unsigned 32-bit big-endian<br>
DEAI.S pcm_u32le
PCM unsigned 32-bit
little-endian<br>
DEAI.S pcm_u8
PCM unsigned 8-bit<br>
..AIL. pcm_vidc
PCM Archimedes VIDC<br>
..AIL. roq_dpcm
DPCM id RoQ<br>
..AIL. sdx2_dpcm
DPCM Squareroot-Delta-Exact<br>
..AIL. sol_dpcm
DPCM Sol<br>
..AIL. xan_dpcm
DPCM Xan</font><br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">for me it says</div>
<div dir="auto"><br>
</div>
<div dir="auto">DEAI.S pcm_bluray
PCM signed 16|20|24-bit big-endian
for Blu-ray media<br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">on termux. Guess suse
people a bit afraid about enabling
anything bluray related in
widely-distributed packages. Just for
checking you can ask package
maintainer, may be he (?) disabled it
by oversight.</div>
<div dir="auto"><br>
</div>
<div dir="auto">So yeah, for this test
self-compiled ffmpeg will be more
interesting (on x86/glibc system
simple configure/make should give you
ff* binaries)</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"><font
face="Courier New, Courier,
monospace"><br>
</font></div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
======================<br>
<br>
<br>
<font face="Courier New, Courier, monospace">I
upgraded instead my rolling openSUSE
Tumbleweed with the recent multimedia
codec enabled ffmpeg 5.1.2 from Packman<br>
<a
href="https://opensuse.github.io/openSUSE-docs-revamped-temp/codecs/"
rel="noreferrer noreferrer"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://opensuse.github.io/openSUSE-docs-revamped-temp/codecs/</a><br>
<br>
where also the pcm_bluray encoder is
enabled:<br>
<br>
ffmpeg -codecs -hide_banner | grep
pcm_bluray<br>
DEAI.S pcm_bluray PCM signed
16|20|24-bit big-endian for Blu-ray media<br>
<br>
<br>
and verified first the input file<br>
<br>
ffprobe -hide_banner 3.m2t<br>
Input #0, mpegts, from '3.m2t':<br>
Duration: 00:00:03.10, start: 1.400000,
bitrate: 21633 kb/s<br>
Program 1 <br>
Metadata:<br>
service_name : Service01<br>
service_provider: FFmpeg<br>
Stream #0:0[0x100]: Video: mpeg2video
(Main) ([2][0][0][0] / 0x0002),
yuv420p(tv, bt709, top first), 1440x1080
[SAR 4:3 DAR 16:9], 25000 kb/s, 29.97 fps,
29.97 tbr, 90k tbn<br>
Side data:<br>
cpb: bitrate max/min/avg:
25000000/0/0 buffer size: 7340032
vbv_delay: N/A<br>
Stream #0:1[0x101]: Audio: mp2
([3][0][0][0] / 0x0003), 48000 Hz, stereo,
fltp, 384 kb/s<br>
<br>
<br>
Then a new attempt with the first step to
transcode the mp2 audio to pcm_blu-ray.<br>
Added also for this case the
"-mpegts_m2ts_mode 1" switch for enabling
more bluray like output, because without
it didn't seem to be recognized!?<br>
<br>
<br>
ffmpeg -i 3.m2t -c:v copy -c:a pcm_bluray
-mpegts_m2ts_mode 1 output.mts<br>
ffmpeg version 5.1.2 Copyright (c)
2000-2022 the FFmpeg developers<br>
built with gcc 12 (SUSE Linux)<br>
..........<br>
Input #0, mpegts, from '3.m2t':<br>
Duration: 00:00:03.10, start: 1.400000,
bitrate: 21633 kb/s<br>
Program 1 <br>
Metadata:<br>
service_name : Service01<br>
service_provider: FFmpeg<br>
Stream #0:0[0x100]: Video: mpeg2video
(Main) ([2][0][0][0] / 0x0002),
yuv420p(tv, bt709, top first), 1440x1080
[SAR 4:3 DAR 16:9], 25000 kb/s, 29.97 fps,
29.97 tbr, 90k tbn<br>
Side data:<br>
cpb: bitrate max/min/avg:
25000000/0/0 buffer size: 7340032
vbv_delay: N/A<br>
Stream #0:1[0x101]: Audio: mp2
([3][0][0][0] / 0x0003), 48000 Hz, stereo,
fltp, 384 kb/s<br>
Stream mapping:<br>
Stream #0:0 -> #0:0 (copy)<br>
Stream #0:1 -> #0:1 (mp2 (native)
-> pcm_bluray (native))<br>
Press [q] to stop, [?] for help<br>
Output #0, mpegts, to 'output.mts':<br>
Metadata:<br>
encoder : Lavf59.27.100<br>
Stream #0:0: Video: mpeg2video (Main)
([2][0][0][0] / 0x0002), yuv420p(tv,
bt709, top first), 1440x1080 [SAR 4:3 DAR
16:9], q=2-31, 25000 kb/s, 29.97 fps,
29.97 tbr, 90k tbn<br>
Side data:<br>
cpb: bitrate max/min/avg:
25000000/0/0 buffer size: 7340032
vbv_delay: N/A<br>
Stream #0:1: Audio: pcm_bluray, 48000
Hz, stereo, s16, 128 kb/s<br>
Metadata:<br>
encoder : Lavc59.37.100
pcm_bluray<br>
frame= 76 fps=0.0 q=-1.0 Lsize=
8898kB time=00:00:03.00
bitrate=24297.5kbits/s speed= 139x <br>
video:7854kB audio:565kB subtitle:0kB
other streams:0kB global headers:0kB
muxing overhead: 5.697285%<br>
<br>
---------------------<br>
<br>
At last verified the output file:<br>
<br>
ffprobe -hide_banner output.ts<br>
Input #0, mpegts, from 'output.ts':<br>
</font></div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">above you output in mts not ts ....
?</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
</div>
</blockquote>
<font face="Courier New, Courier, monospace"><br>
=======================<br>
<br>
It looks to be copy-error from my note. To be sure I
repete it below for ffprobe and additional mediainfo.
(I also had "output.ts" from the attempt without the
mode switch.)<br>
Not sure if TS and MTS by the way can be used
interchangeable, both are MPEG-transport streams,
possibly TS is for MPEG-2 and MTS for H264/AVC only?<br>
My HDV files on disk get .M2T extension when
transfered from tape.<br>
</font></div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">from output it seems audio is there? Can you
hear it in vlc/mpv ?</div>
</div>
</blockquote>
<br>
<br>
<font face="Courier New, Courier, monospace">Yes, the "output.mts"
audio can be heard ok via playback in vlc and mpv.<br>
<br>
<br>
But no audio heard from "output.ts" :<br>
<br>
ffprobe -hide_banner output.ts<br>
Input #0, mpegts, from 'output.ts':<br>
Duration: 00:00:03.10, start: 1.400000, bitrate: 22791 kb/s<br>
Program 1 <br>
Metadata:<br>
service_name : Service01<br>
service_provider: FFmpeg<br>
Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] /
0x0002), yuv420p(tv, bt709, top first), 1440x1080 [SAR 4:3 DAR
16:9], 25000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn<br>
Side data:<br>
cpb: bitrate max/min/avg: 25000000/0/0 buffer size: 7340032
vbv_delay: N/A<br>
Stream #0:1[0x101]: Data: bin_data ([6][0][0][0] / 0x0006)<br>
Unsupported codec with id 98314 for input stream 1</font><br>
<br>
--------------------------------<br>
<blockquote type="cite"
cite="mid:CA+rFky7yGXGufvfih5xX5CFxGYR06b3Eayo-OZ7YBNGZxhuzjw@mail.gmail.com">
<div dir="auto">
<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><font face="Courier New, Courier, monospace"> <br>
<br>
ffprobe -hide_banner output.mts<br>
Input #0, mpegts, from 'output.mts':<br>
Duration: 00:00:03.10, start: 1.400000, bitrate:
23490 kb/s<br>
Program 1 <br>
Metadata:<br>
service_name : Service01<br>
service_provider: FFmpeg<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,
29.97 fps, 29.97 tbr, 90k tbn<br>
Side data:<br>
cpb: bitrate max/min/avg: 25000000/0/0 buffer
size: 7340032 vbv_delay: N/A<br>
Stream #0:1[0x1100]: Audio: pcm_bluray
([128][0][0][0] / 0x0080), 48000 Hz, stereo, s16, 1536
kb/s<br>
<br>
<br>
------------------------<br>
<br>
mediainfo output.mts<br>
General<br>
ID : 1 (0x1)<br>
Complete name : output.mts<br>
Format : BDAV<br>
Format/Info : Blu-ray
Video<br>
File size : 8.69 MiB<br>
Duration : 2 s 502 ms<br>
Overall bit rate mode : Variable<br>
Overall bit rate : 28.1 Mb/s<br>
<br>
Video<br>
ID : 4113
(0x1011)<br>
Menu ID : 1 (0x1)<br>
Format : MPEG Video<br>
Commercial name : HDV 1080i<br>
Format version : Version 2<br>
Format profile : Main@High
1440<br>
Format settings :
CustomMatrix / BVOP<br>
Format settings, BVOP : Yes<br>
Format settings, Matrix : Custom<br>
Format settings, GOP : M=3, N=15<br>
Format settings, picture structure : Frame<br>
Codec ID : 2<br>
Duration : 2 s 536 ms<br>
Bit rate mode : Constant<br>
Bit rate : 25.5 Mb/s<br>
Maximum bit rate : 25.0 Mb/s<br>
Width : 1 440
pixels<br>
Height : 1 080
pixels<br>
Display aspect ratio : 16:9<br>
Frame rate : 29.970
(30000/1001) FPS<br>
Standard : Component<br>
Color space : YUV<br>
Chroma subsampling : 4:2:0<br>
Bit depth : 8 bits<br>
Scan type : Interlaced<br>
Scan order : Top Field
First<br>
Compression mode : Lossy<br>
Bits/(Pixel*Frame) : 0.546<br>
Stream size : 7.69 MiB
(89%)<br>
Color primaries : BT.709<br>
Transfer characteristics : BT.709<br>
Matrix coefficients : BT.709<br>
<br>
Audio<br>
ID : 4352
(0x1100)<br>
Menu ID : 1 (0x1)<br>
Format : PCM<br>
Format settings : Big /
Signed<br>
Muxing mode : Blu-ray<br>
Codec ID : 128<br>
Duration : 2 s 995 ms<br>
Bit rate mode : Constant<br>
Bit rate : 1 536 kb/s<br>
Channel(s) : 2 channels<br>
Channel layout : L R<br>
Sampling rate : 48.0 kHz<br>
Bit depth : 16 bits<br>
Delay relative to video : -567 ms<br>
Stream size : 562 KiB
(6%)<br>
<br>
Menu<br>
ID : 256 (0x100)<br>
Menu ID : 1 (0x1)<br>
Format : MPEG Video
/ PCM<br>
Duration : 2 s 502 ms<br>
List : 4113
(0x1011) (MPEG Video) / 4352 (0x1100) (PCM)<br>
Service name : Service01<br>
Service provider : FFmpeg<br>
Service type : digital
television<br>
<br>
<br>
================<br>
</font><br>
<br>
<blockquote type="cite">
<div dir="auto">
<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><font face="Courier New, Courier,
monospace"> Duration: 00:00:03.10,
start: 1.400000, bitrate: 22791 kb/s<br>
Program 1 <br>
Metadata:<br>
service_name : Service01<br>
service_provider: FFmpeg<br>
Stream #0:0[0x100]: Video: mpeg2video
(Main) ([2][0][0][0] / 0x0002),
yuv420p(tv, bt709, top first), 1440x1080
[SAR 4:3 DAR 16:9], 25000 kb/s, 29.97 fps,
29.97 tbr, 90k tbn<br>
Side data:<br>
cpb: bitrate max/min/avg:
25000000/0/0 buffer size: 7340032
vbv_delay: N/A<br>
Stream #0:1[0x101]: Data: bin_data
([6][0][0][0] / 0x0006)<br>
Unsupported codec with id 98314 for input
stream 1<br>
<br>
==========================<br>
</font><br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>