[Cin] Is audio opts file for m2ts usable?

Andrew Randrianasulu randrianasulu at gmail.com
Fri Nov 8 04:18:53 CET 2019


I tried to render blu--ray profile (ffmpeg-m2ts type) and while video worked - audio was giving me troubles ..

I changed 

bluray ac3 at very beginning of /usr/share/cin/ffmpeg/audio/bluray.m2ts to mpegts ac3 ,
now sounds apparently works (no render error, mplayer show audio stream with 192 Kbit/s bitrate)
but is this right fix, or bluray keyword used internally for cin for Blu-Ray profiles?

If this is right fix - there are some video opts files where format defined as "bluray libx264" at the top of the file:

bluray.m2ts
bluray_dv_ntsc.m2ts
bluray_dv_pal.m2ts
bluray_lo.m2ts
visually_lossless.m2ts

I think I made those files work as render choice, but BD creation not tested yet ....

may be bluray.m2ts from audio folder should be renamed bluray_ac3.m2ts ?
-------------- next part --------------
mpegts ac3
#bluray ac3
id 0x1100
maxrate 9000000
minrate 0
bufsize 1835008
-------------- next part --------------
mpegts libx264
bluray-compat=1
id=0x1011
level=41
bf=2
refs=3
color_range=mpeg
colorspace=bt709
color_trc=bt709
color_primaries=bt709
profile=high422
preset=medium
pixel_format=yuv422p
flags=+cgop
x264opts keyint=25:min-keyint=4:qpmin=3:qpmax=33:qp_step=4:merange=8
-------------- next part --------------
mpegts libx264
bluray-compat=1
id=0x1011
level=41
bf=2
refs=3
color_range=mpeg
colorspace=bt709
color_trc=bt709
color_primaries=bt709
profile=high
preset=medium
flags=+cgop
# must be last for bdcreate.C
x264opts keyint=25:min-keyint=4:qpmin=3:qpmax=33:qp_step=4:merange=8
-------------- next part --------------
mpegts libx264
bluray-compat=1
cin_bitrate=15000000
id=0x1011
level=41
profile=high
preset=veryslow
tune=film
sar=8:9
refs=25
bf=2
flags=-cgop
color_primaries=bt470bg
color_trc=gamma28
colorspace=bt470bg
# must be last for bdcreate.C
x264opts cabac=1:keyint=25:min-keyint=4:qpmin=3:qpmax=33:qp_step=4:merange=8:bff
-------------- next part --------------
mpegts libx264
bluray-compat=1
id=0x1011
level=41
bf=2
refs=3
color_range=mpeg
colorspace=bt709
color_trc=bt709
color_primaries=bt709
profile=baseline
preset=medium
flags=+cgop
x264opts keyint=25:min-keyint=4:qpmin=3:qpmax=33:qp_step=4:merange=8
-------------- next part --------------
mpegts libx264
bluray-compat=1
cin_bitrate=15000000
id=0x1011
level=41
profile=high
preset=veryslow
tune=film
sar=16:15
refs=25
bf=2
flags=-cgop
color_primaries=bt470bg
color_trc=gamma28
colorspace=bt470bg
# must be last for bdcreate.C
x264opts cabac=1:keyint=25:min-keyint=4:qpmin=3:qpmax=33:qp_step=4:merange=8:bff
-------------- next part --------------
mpegts libx264
cin_bitrate=0
cin_quality=0
qp=0
-------------- next part --------------
mpegts libx264
bluray-compat=1
id=0x1011
crf=18
maxrate=20000000
bufsize=20000000
cin_bitrate=20000000
cin_quality=0
preset=medium
level=41
bf=2
refs=3
color_range=mpeg
colorspace=bt709
color_trc=bt709
color_primaries=bt709
flags=+cgop
# must be last for bdcreate.C
x264opts keyint=25:min-keyint=4:qpmin=3:qpmax=33:qp_step=4:merange=8


More information about the Cin mailing list