[gstreamer-bugs] [Bug 311423] [playbin] doesn't handle ac3 output to alsaspdifsink

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Nov 9 08:01:55 PST 2008


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=311423

  GStreamer | gst-plugins-base | Ver: HEAD CVS




------- Comment #12 from Josselin Mouette  2008-11-09 16:01 UTC -------
(In reply to comment #10)
> I think alsasink also handles SPDIF now, rendering alsaspdifsink obsolete (not
> that it matters much in terms of implementation).

Actually it doesn’t seem to work. The following does not work:
 gst-launch-0.10 -v filesrc location=/tmp/toto.ac3 ! ac3iec958  ! alsasink
while the following does:
 gst-launch-0.10 -v filesrc location=/tmp/toto.ac3 ! ac3iec958  ! alsaspdifsink

but actually playbin does not use it.

AIUI, we need to extend playbin with a new property so that it actually
understands that we want IEC958 output. Otherwise you may end up with no sound
on other systems.

If this parameter is set and if the audio stream type is audio/ac3, we should
replace the audio decoder by ac3iec958 and the output sink by alsaspdif sink.
Does it feel like a correct approach?

I’m ready to code it, however I’m relatively new to GStreamer and don’t
know where these are set in playbin, so if someone could point me to where to
start, it would be very nice.


-- 
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=311423.




More information about the Gstreamer-bugs mailing list