[FFmpeg-devel] Implementing closed caption for FFmpeg

Anshul anshul.ffmpeg at gmail.com
Mon Dec 1 20:52:18 CET 2014

On 12/02/2014 12:51 AM, Carl Eugen Hoyos wrote:
> Anshul <anshul.ffmpeg <at> gmail.com> writes:
>>> This is basic implementation where all features 
>>> of closed caption are not implemented.
> What does the decoder output?
> Can it be used to produce ass-in-mkv?
> Thank you, Carl Eugen
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

I have only tested with srt and webvtt files, but it should support all
text based output format.

I use following command to decode cc inside h264 user data
./ffmpeg -f lavfi -i
"movie=/home/a141982112/test_videos/cap_eng_sub1.ts[out0+subcc]" some.srt

for cc as separate stream it will work
ffmpeg -i some.ts some.srt


More information about the ffmpeg-devel mailing list