[FFmpeg-user] ISSUE ABOUT SUBTITLES TRACK(S)
Hervé ANSELME
hervea95 at hotmail.com
Thu Mar 14 14:48:34 EET 2024
Hello all,
using ffmpeg release 6.1, I have an issue when reencoding a movie, issue about the subtitle track(s).
Using the following source movie, having those characteristics, as found in the VLC software :
[cid:1214e9f7-281b-4f10-b20b-fab24ed958fe]
and :
[cid:4b53493b-13d0-4efc-b028-38f33f1f27b0]
I try to reencode this movie, with including the 2nd subtitle track, with the following command :
ffmpeg -y -loglevel error -scodec copy -map 0:s:1 -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"
it creates this error message :
[cid:6566baa0-dbe8-4121-9d07-2bf76e3996ad]
when I try with the next subtitle track (the 3rd subtitle track) with this command :
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"
it creates the same error message as with the 2nd subtitle track.
Does anybody knows how to fix it ?
Are there missing parameters in my command ? And if so, which ones ?
Are there some parameters to modify in my command ? And if so, how to fix it ?
Thanks for your answers and advices.
Regards,
HA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 63941 bytes
Desc: image.png
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20240314/5188e01c/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 13042 bytes
Desc: image.png
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20240314/5188e01c/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 21948 bytes
Desc: image.png
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20240314/5188e01c/attachment-0002.png>
More information about the ffmpeg-user
mailing list