[gstreamer-bugs] [Bug 476370] New: [faad] shouldn't set channel-positions for mono and stereo
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Wed Sep 12 16:33:16 PDT 2007
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=476370
GStreamer | gst-plugins-bad | Ver: HEAD CVS
Summary: [faad] shouldn't set channel-positions for mono and
stereo
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: notverysmart at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
faad always sets channel-positions on its caps, when nothing else does for the
common mono and stereo cases. When used in a pipeline containing an adder,
this can lead to stuttering or skipping playback and other weirdness.
This gst-launch commandline (which is fairly similar in effect to the rhythmbox
crossfading player pipeline) demonstrates the problem:
ADDER_CAPS=audio/x-raw-int,rate=44100,channels=2,width=16,depth=16,signed=true,endianness=1234
gst-launch-0.10 \
adder name=a ! $ADDER_CAPS ! volume ! audioconvert ! audioresample ! queue !
tee ! queue ! audioconvert ! alsasink \
\
audiotestsrc wave=4 ! audioconvert ! $ADDER_CAPS ! a. \
\
filesrc location=file.m4a ! decodebin ! audioconvert ! audioresample !
$ADDER_CAPS ! queue ! volume ! a.
The section of the pipeline after the adder appears needlessly complex here,
but it's there to allow us to plug in filters and additional sinks at runtime.
If you run that with -v, you can see that the caps of the elements downstream
from the adder alternate between having channel-positions and not. The exact
effect of this on the output depends on the elements in that branch. Sometimes
it plays continuously but skips sections of the stream, sometimes it plays
fragments with seconds of silence between them.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=476370.
More information about the Gstreamer-bugs
mailing list