[FFmpeg-user] make mpeg2 file with hardcoded subs from .srt file

Albert Scholtalbers compuvision.sr at gmail.com
Wed Jul 10 22:21:26 CEST 2013


>I didn't test but I suspect specifying two"-vf" options for one output
file is either
> undefined behaviour or forces only the
> second option.

>Carl Eugen

I found a working command under Linux:
/usr/local/bin/ffmpeg -y -i src.mkv  -f dvd -target ntsc-dvd -r 29.97 -vf
scale=720:480 -vf subtitles=filename=src.srt -aspect 16:9 -b:v 8000k -g 12
-mbd rd -trellis 1 -flags +mv0 -cmp 0 -subcmp 2 dest.mpg

That "seems"to be easier. But I haven't found any option to set
font/size/color in document or Google yet.


More information about the ffmpeg-user mailing list