[FFmpeg-user] How do I encode DVB Subtitles?

Roger Pack rogerdpack2 at gmail.com
Mon Jun 18 18:43:34 CEST 2012


> How do I add a STR file to a MPEG-TS file with the "DVB subtitle codec"?
> If so, could you give me a sample command line?
> Thank.

Are you trying to add subtitles?


> I am trying:
> ffmpeg -i video.ts *-i subtitle.srt* -vcodec copy -acodec copy *-scodec
> dvbsub* output.ts
>
> The stream is created because I can see it with MediaInfo, but the
> subtitles don't appear!

You probably can't use vcodec copy and expect new stuff to appear
within the video.
> *QUESTION 2:*
> How do I use the command *slang*? I try to use it, but ffmpeg says the
> command doesn't exist.

Perhaps you're confusing ffmpeg with mplayer/mencoder?


More information about the ffmpeg-user mailing list