[FFmpeg-user] ISSUE ABOUT SUBTITLES TRACK(S)

William C Bonner wimbonner at gmail.com
Fri Mar 15 02:23:37 EET 2024


On Thu, Mar 14, 2024 at 5:48 AM Hervé ANSELME <
hervea95-at-hotmail.com at ffmpeg.org> wrote:

> ffmpeg -y -loglevel error -scodec copy -map 0:s:2 -i "D:\temp\my
> movie.mkv" -map 0:v:0 -map 0:a:0 -acodec ac3 -ar 48k -b:a 112k -q:a 3
> -vcodec libx265 -vf "scale=768:328" -sws_flags lanczos+accurate_rnd -b:v
> 1200k -minrate 1200k -maxrate 1200k -r 23976215/1000000 -qscale:v 2
> -x265-params "nal-hrd=cbr:force-cfr=1:vbv-maxrate=1200:vbv-bufsize=2400"
> -log_level -1 -bufsize 2457600 "C:\temp\my movie.mkv"
>
>
Try moving the -i filename before your -scodec command:

 ffmpeg -y -loglevel error -i "D:\temp\my movie.mkv" -scodec copy -map
0:s:2 -map 0:v:0 -map 0:a:0 -acodec ac3 -ar 48k -b:a 112k -q:a 3 -vcodec
libx265 -vf "scale=768:328" -sws_flags lanczos+accurate_rnd -b:v 1200k
-minrate 1200k -maxrate 1200k -r 23976215/1000000 -qscale:v 2 -x265-params
"nal-hrd=cbr:force-cfr=1:vbv-maxrate=1200:vbv-bufsize=2400" -log_level -1
-bufsize 2457600 "C:\temp\my movie.mkv"


More information about the ffmpeg-user mailing list