GNOME Bugzilla – Bug 565850
mov files can contain xvid, fmp4 and ac3 tracks
Last modified: 2009-01-23 08:39:38 UTC
mov files, can contain those tracks, this happens if people open an avi in quicktime using perian and extract a part to save it as .mov. by setting the right caps these tracks can be decoded.
Created attachment 125420 [details] [review] patch adding fourccs for xvid, fmp4 and ac-3 audio
2008-12-28 Edward Hervey <edward.hervey@collabora.co.uk> Patch by: j^ <j at oil21.org> * gst/qtdemux/qtdemux.c: (qtdemux_video_caps), (qtdemux_audio_caps): Add codec mapping for xvid, fmp4 and ac3 tracks. Fixes #565850
How do we know these fourccs are correct, and not something Perian made up?
AFAICR, we've always added mapping for 'broken'/'non-standard' applications that produce those files. Provided they don't create regressions for existing files, I don't see any problems. It's just like adding the 'FMP4' mapping in riff for all those msmpeg4 avis that some versions of mencoder/ffmpeg use to produce for a long time.
Bug #565777 has another example for such a case. For playback elements its fine, for encoder, formatter, muxer elements its not. For the playback elements its a good idea to add comments in the code for non-standard extensions.