[Libav-user] SCC subtitles to DVB Subs

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Apr 21 23:48:49 EEST 2018

2018-04-19 13:42 GMT+02:00, Gavin Smith <gcs584-at-yahoo.com at ffmpeg.org>:
> Using the C API, I'm reading/decoding an SCC subtitle file. My eventual goal
> is to encode the subs into DVB subs. I have just completed code to decode
> SCC data.
> Before I get to encoding to DVB subs, I have one concern: in the source for
> sccdec.c (around line 77), the code sets the AVStream's codec parameter's
> codec id to 'AV_CODEC_ID_EIA_608'
> The question I have is do I need to perform a conversion of some sorts from
> 608 to DVB sub? Am I actually getting a 608 format once SCC is decoded?
> Admittedly, I was under the impression that once SCC was decoded, it would
> be in intermediate libass format

Yes, there is no conversion from ass (text) format to bitmap format (yet).

Carl Eugen

More information about the Libav-user mailing list