GNOME Bugzilla – Bug 675326
cannot play mov file as audioconvert requires format interleaved and qtdemux does not set it
Last modified: 2012-05-03 22:37:46 UTC
Created attachment 213323 [details] [review] add format interleaved to output audiostream Attach patch blindly add format="interleaved" to the audio caps sent downstream. FIxes the issue on my mov files (twos audio with two channels audio/x-raw rate 48000 and vidoe dvcp). Open for discussion.
This doesn't look quite right to me. We should only add a layout=interleaved field to raw audio caps, not to all audio caps. I've put this somewhere else in the code now. Hope it still fixes the issue for you. If not, please re-open: commit a56361623c4775b56ef0b7cede5d72e06aac54fa Author: Alban Browaeys <prahal@yahoo.com> Date: Wed May 2 21:17:43 2012 +0200 isomp4: set layout=interleaved on raw audio caps This fixes a not-negotiated error at least on mov files with twos audio with two channels and video dvcp. As playbin and gst-launch sample coming from the qtdemux.c file uses audioconvert and the latter require format interleaved. https://bugzilla.gnome.org/show_bug.cgi?id=675326