GNOME Bugzilla – Bug 745847
Can't decode ogg files
Last modified: 2015-03-08 19:15:57 UTC
Created attachment 298817 [details] Debug output My OS is Arch Linux x86_64 and I use the following command to decode ogg music: GST_DEBUG=ogg*:5 gst-launch-0.10 filesrc location=~/111.ogg ! decodebin2 ! alsasink The use of gst-launch-1.0 filesrc location=~/111.ogg ! decodebin ! alsasink also fails. See attached debug_out.txt for detailed output. gst-launch-0.10 -v filesrc location=~/111.ogg ! decodebin2 ! alsasink output /GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstVorbisDec:vorbisdec0.GstPad:src: caps = NULL /GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstVorbisDec:vorbisdec0.GstPad:sink: caps = NULL /GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:sink0: caps = NULL /GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src0: caps = NULL /GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstOggDemux:oggdemux0.GstOggPad:serial_41d43ab3: caps = NULL /GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstOggDemux:oggdemux0.GstPad:sink: caps = NULL /GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = NULL
ffplay decodes my ogg files without problems.
Please try gst-launch-0.10 playbin2 uri=file:///home/you/111.ogg The problem is that vorbisdec outputs floating point raw audio but most audio sink want integer-based raw audio. Try adding an audioconvert in front of alsasink. Please also note that GStreamer 0.10 is no longer maintained or supported.