[FFmpeg-devel] [PATCH] add QT CC track mux support

Jason Livingston jason at cpcweb.com
Mon Oct 22 06:05:52 CEST 2012

On Oct 21, 2012, at 10:32 PM, Jason Livingston <jason at cpcweb.com> wrote:

Replying to myself... :)

> The codec needs to exist so it can be opened, even if you never call decode/encode on a packet.  Maybe the decoder is not needed when using -codec copy?  But it seems the encoder is, otherwise avcodec_find_encoder(AV_CODEC_ID_EIA_608) returns NULL.  

Sorry, what I wrote is wrong. To be more clear, it looks like ffmpeg itself does not require either the decoder or encoder to do -codec copy, but some of the other code I was testing did.

I attached a new patch that simply updates movenc.c to write the proper headers for this track.  It still fixes ticket 846 and allows -codec copy to copy these tracks.  I can re-submit the other changes as a separate patch later.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-QT-CC-track-mux-support.patch
Type: application/octet-stream
Size: 2767 bytes
Desc: 0001-Add-QT-CC-track-mux-support.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121022/aa03fb39/attachment.obj>

More information about the ffmpeg-devel mailing list