raw opus playback

Sebastian Dröge sebastian at centricular.com
Sat Dec 28 03:42:53 PST 2013


On Fr, 2013-12-27 at 21:30 +0400, LRN wrote:
> i seem to have difficulty playing raw opus
> 
> recorder: autoaudiosrc ! audioconvert ! audioresample ! opusenc !
> filesink location=foo.opus
> <run for a few seconds, kill with Ctrl+C>
> 
> player: filesrc location=foo.opus ! opusparse ! opusdec ! audioconvert
> ! audioresample ! autoaudiosink
> 
> The player pipeline matches the one in documentation [1].
> 
> While payloading or muxing is a possibility, i would rather make this
> work with raw opus. I am told that a non-GStreamer implementation
> (using pulseaudio + libopus) does work, so there's no reason for
> GStreamer to not to work as well.
> 
> [1]
> http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/ext/opus/gstopusparse.c

Yes, this is supposed to work but doesn't. I just fixed one of the bugs
in git but there's still the problem that libopus returns
OPUS_INVALID_PACKET when trying to decode something. Could you file a
bug about that? The mailing list is no bugtracker :)

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131228/0fe8dd75/attachment-0001.pgp>


More information about the gstreamer-devel mailing list