[FFmpeg-user] How to embed SCC closed caption file into a video file mov/mp4/mpg

Marcelo Boufleur mboufleur at gmail.com
Tue Aug 11 17:21:02 CEST 2015


Indeed, this can be used to add SRT subtitles into MP4, but the original
post mentioned if ffmpeg could handle SCC Closed Caption files, and if it
could embed these into MOV/MP4/MPEG files.

This can be achieved with MacCaptions / CaptionMaker, but the original
poster is interested in open source solutions for this workflow.

The problem with Closed Caption is that there are many standards (CEA-608,
CEA-708, SCTE-20), and different implementations depending on which final
file format you will be choosing.

For Elementary MPEG and Quicktime ProRes files you may choose CEA-608 to be
embedded into Line 21 of the original video, without reencoding. For HD
content, CEA-708 Closed Caption is inserted into VANC data of the original
video. You may also choose to use a particular Quicktime track for the
Closed Caption for other codecs that use Quicktime container, or if you go
through MPEG TS container, you may use a particular PID for that Closed
Caption.

To my knowledge, there are no open source solutions that handle all (if
any) of the above situations.


More information about the ffmpeg-user mailing list