GNOME Bugzilla – Bug 518033
Add Monkey's Audio (APE) support
Last modified: 2008-04-19 19:43:36 UTC
Hi, the attached patch adds support for Monkey's Audio (APE) to gst-ffmpeg. Seems to work fine, except for seeking where I sometimes get an internal data flow error. Also, the output of ffdemux_ape is not valid APE data anymore, it's stripped from it's headers or something. Do we have a general policy for such things? Maybe a special caps type, i.e. "audio/x-ape-ffdemux" or similar?
Created attachment 105749 [details] [review] ffmpeg-ape.diff
Ok, committed this now, I use "audio/x-ffmpeg-parsed-ape" as caps for the crippled data that ffdemux outputs and ffdec wants. This way we finally get support for Monkey's audio files... :) 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org> * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps), (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_formatid_to_caps), (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname): * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register): Add support for Monkey's Audio (APE). Fixes bug #518033.