[FFmpeg-user] BT601-625
Mark Filipak
markfilipak.imdb at gmail.com
Thu Jun 26 17:07:03 EEST 2025
On 25/06/2025 16.25, BloodMan wrote:
> Hi,
>
> Your "script" is completely illegible for me ;)
Does this work better for you, BloodMan? I'll just let our email clients wrap the text however thay
want. -- Mark.
: Extracts HD of an SD movie, burns-in HD subtitles. (speed < 1 fps.)
:
set _STANDARD_PREP_=-analyzeduration 500000000 -probesize 500000000 -copyts -start_at_zero
:
set _NO_CAPTIONS_=filter_units=remove_types=6
:
set _BT601_BT709_=colormatrix=src=bt601:dst=bt709
:
set _TO_HD_=scale=w=1920:h=1080
:
set _STANDARD_ENCODE_=-c:v libx264 -x264-params
8x8dct=1:analyse=0x3,0x133:aq-mode=1:aq-strength=1.0:b-adapt=2:b-bias=0:b-pyramid=2:bframes=5:bitrate=2850:bluray-compat=0:cabac=1:chroma-me=1:chroma-qp-offset=-2:constrained-intra=0:cplxblur=20.0:cqm=flat:deadzone-inter=21:deadzone-intra=11:deblock=1,-1,-1:direct=auto:fast-pskip=0:filler=0:interlaced=0:intra-refresh=0:ipratio=1.40:keyint-min=23:keyint=240:lookahead-threads=3:mbtree=1:me=umh:merange=30:nal-hrd=none:nr=0:open-gop=0:psy-rd=1.00,0.00:psy=1:qblur=0.5:qcomp=0.60:qpmax=69:qpmin=1:qpstep=4:ratetol=1.0:rc-lookahead=50:ref=5:scenecut=40:sliced-threads=0:slices=4:subme=7:threads=12:trellis=1:vbv-bufsize=78125:vbv-maxrate=62500:weightb=1:weightp=2
:
ffmpeg %_STANDARD_PREP_%^
-r:v 24000/1001 -i "d:\VIDEO_TS\VTS_00_1.VOB" -ss 240 -t 20^
-bsf:v "%_NO_CAPTIONS_%"^
-filter_complex^
"[0:v]%_BT601_BT709_%,%_TO_HD_%[v],[0:s:0]%_TO_HD_%[s],[v][s]overlay[sv]"^
-map "[sv]"^
%_STANDARD_ENCODE_%^
c:\foo.mp4
More information about the ffmpeg-user
mailing list