[FFmpeg-user] Transcoding video with subtitles to mp4 or mpegts

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Sep 10 18:49:01 CEST 2014


Xavier Benech <xavier.benech <at> xb-labs.fr> writes:

> I've got videos with several subtitles streams using 
> subrip and dvdsub codecs.
> When I try to transcode them into mp4 and/or mpegts, 
> from what I've read so far it seems I must use 
> "-scodec mov_text" option.

Note that unfortunately the output files are still 
not completely compatible with Quicktime;-(

> But this seems to work only if input subtitles 
> stream contains subtitles as text.

Definitely (FFmpeg does not use OCR).

> This leads to my question: How can I determine if a 
> subtitle stream can be transcode to "mov_text"? Is 
> there a list of subtitles codecs that are pur text?

The following are the bitmap subtitles:
dvbsub, dvdsub, xsub and pgssub

Teletext is both.

Carl Eugen



More information about the ffmpeg-user mailing list