[Bug 783842] [REGRESSION] encodebin: Transcoding of several media streams (to h264 in mp4) fail
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Dec 13 09:08:07 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=783842
--- Comment #16 from Edward Hervey <bilboed at bilboed.com> ---
And the issue is deeper. The resulting file can't even be played with
decodebin2/playbin2 because of the following:
* caps without mpegaudioversion arrive in mpegaudioparse
* gap event arrives in mpegaudioparse
* mpegaudioparse negotiates to something, which ends up having
mpegaudioversion=1
* decodebin finds and a compatible decoder, in this case avdec_mp1float
* mpegaudioparse eventually gets data and tries to negotiate to
mpegaudioversion=3
* avdec_mp1float is not compatible with those caps
* => NEGOTIATION FAILURE
Note that the problem doesn't happen with decodebin3/playbin3 because it can
reconfigure itself dynamically.
Do we really want to have parsers output potentially-incompatible formats on
GAP events ? Shouldn't subclasses be able to tell the base class that it should
hold on negotiation until it has some fields ?
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list