szatmary / libcaption

Free open-source CEA608 / CEA708 closed-caption encoder/decoder
MIT License
151 stars 64 forks source link

Resultant MP4 does not have CCs #47

Closed francescotripepi closed 6 years ago

francescotripepi commented 6 years ago

I followed similar steps to what's in the add_captions script. I have a file, in.mp4, and an SCC caption file. The resultant FLV has captions, converting to MP4 with ffmpeg does not have captions.

Commands:

> ffmpeg -i in.mp4 -codec copy -f flv in.flv
> flv+scc in.flv captions.scc out.flv
> ffmpeg -i out.flv -codec copy out.mp4

Using ffmpeg 4.0.1, installed via git clone and directions in Readme, running Mac OS 10.12.6.

Any suggestions on how to make the output MP4 have the embedded CCs?