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

Stefano Sabatini stefasab at gmail.com
Fri Jul 12 09:53:49 CEST 2013


On date Thursday 2013-07-11 10:04:18 -0700, gepebril wrote:
> Ok,
[...] 
> Create your video file with burned in subs
> ffmpeg.exe -y -i "src.mkv"  -f dvd -target ntsc-dvd -r 29.97 -vf
> scale=720:480 -vf "ass=subtitle_file.ass" -aspect 16:9 -b:v 8000k -g 12 -mbd
> rd -trellis 1 -flags +mv0 -cmp 0 -subcmp 2 e:\dst.mpg

This is still wrong, -vf foo -vf bar has the same effects as -vf bar,
what you want instead:
-vf scale=720:480,ass=subtitle_file.ass

Also why do you need to convert to ass?
 
> Note: make sure that the .ass file is in the same path as where are, as I
> haven't managed to get a path reference working with ass 

You need to specify an absolute path (and be aware of escaping problems).

[...]


More information about the ffmpeg-user mailing list