GNOME Bugzilla – Bug 712384
ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstASFDemux:asfdemux0: Internal data stream error.
Last modified: 2013-11-16 18:34:05 UTC
Created attachment 259933 [details] gst-launch output I tried to run this command: gst-launch-1.0 -v filesrc location=/home/tanu/tmp/kep.wma ! decodebin ! flacenc ! filesink location=/home/tanu/tmp/kep.flac I'd expect the command to convert the wma file into flac. The command has worked in the past, but now it just prints these errors (full output from gst-launch is attached): ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstASFDemux:asfdemux0: Internal data stream error. Additional debug info: gstasfdemux.c(1969): gst_asf_demux_loop (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstASFDemux:asfdemux0: streaming stopped, reason not-linked ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... The input file is available here, so you can try to reproduce: http://files.tanuk.dy.fi/tmp/kep.wma (136 MB, two hours of audio). I use Debian (testing), and the GStreamer version is 1.2.0. I tried version 1.2.1 of package gstreamer1.0-plugins-ugly too (I believe asfdemux comes from that package), but that didn't help. It seems that GStreamer got upgraded from 1.0.x to 1.2.0 recently. My package update history can be seen from the aptitude log: http://files.tanuk.dy.fi/tmp/aptitude.log
I forgot to mention: Totem plays the file just fine.
This is a problem with your pipeline. The wma audio seems to now output audio in a format that flacenc doesn't understand. You will need an audioconvert element before flacenc to make it work. avdec_wmav2-0.GstPad:src: caps = audio/x-raw, format=(string)F32LE, layout=(string)interleaved, rate=(int)48000, channels=(int)2, channel-mask=(bitmask)0x0000000000000003
Indeed, audioconvert solves my problem. Thank you!