Discussion:
[FFmpeg-user] include a subtitle stream in mpeg2
Giuliano Uboldi
2009-01-14 15:24:41 UTC
Permalink
Hallo everyone
I'm trying to include a subtitle stream in my mpeg2 video file.
i use this command:

ffmpeg -i video.mpg -i subtitle.srt -sbsf text2movsub -scodec copy -b
5000k -minrate 5000k -maxrate 5000k -bufsize 1835k -vcodec mpeg2video -
acodec copy -f vob -ilme 1 -y output.mpg -newsubtitle

but i have this error:

subtitle.srt: Unknown format

wich are the supported subtitle formats?
i tried to check using "ffmpef -formats" but i haven't found anything.

i googled for hours but there are no info at all.
help please.
Víctor Paesa
2009-01-14 18:04:32 UTC
Permalink
Hi,
Post by Giuliano Uboldi
Hallo everyone
I'm trying to include a subtitle stream in my mpeg2 video file.
ffmpeg -i video.mpg -i subtitle.srt -sbsf text2movsub -scodec copy -b
5000k -minrate 5000k -maxrate 5000k -bufsize 1835k -vcodec mpeg2video -
acodec copy -f vob -ilme 1 -y output.mpg -newsubtitle
subtitle.srt: Unknown format
wich are the supported subtitle formats?
For MPEG, only bitmap style, the one used in DVDs. And it is not yet
possible to create them, you just can copy from VOBs that already have them.
Post by Giuliano Uboldi
i tried to check using "ffmpef -formats" but i haven't found anything.
i googled for hours but there are no info at all.
help please.
The developers are discussing how to add more subtitle formats:
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-December/057918.html

Regards,
V?ctor

Loading...