[FFmpeg-devel] [PATCH v2 04/18] avformat/movenc: deal with AVMEDIA_TYPE_DATA by using AV_CODEC_ID_META

Erkki Seppälä erkki.seppala.ext at nokia.com
Tue Sep 6 14:13:09 EEST 2016


(Cc'ing as it's been some time.)

On 08/31/2016 04:42 PM, Carl Eugen Hoyos wrote:
> I meant "defaulting to an additional track in the output mov file if the
> input file contains such a data track (instead of ignoring this track
> of the input file by default)".

So I looked into it and indeed the data tracks end up with the enabled 
flag enabled. If this affects anything is a bit unclear to me, perhaps 
in some players? It seems to me they would unlikely try to play 
something they don't know how to - in a worse case perhaps the can stop 
or crash.

It seems also 'tmcd' tracks end up being enabled (but not by this 
function). I imagine this is by design.

I can remove the enabled-flag for the next patch set for the 
AVMEDIA_TYPE_DATA tracks (this does not include tmcd as it doesn't have 
a corresponding stream). Or perhaps the appropriate solution would be to 
not write such data tracks into QuickTime video files in the first place 
and only support them in .mp4 by reverting the codec support for MOV 
with these kind of codecs.

Thanks for input!

More information about the ffmpeg-devel mailing list