After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 712384 - ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstASFDemux:asfdemux0: Internal data stream error.
ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstASFDemu...
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
1.2.0
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-11-15 18:08 UTC by Tanu Kaskinen
Modified: 2013-11-16 18:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gst-launch output (3.22 KB, text/plain)
2013-11-15 18:08 UTC, Tanu Kaskinen
Details

Description Tanu Kaskinen 2013-11-15 18:08:50 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
Comment 1 Tanu Kaskinen 2013-11-15 18:10:13 UTC
I forgot to mention: Totem plays the file just fine.
Comment 2 Tim-Philipp Müller 2013-11-15 18:25:07 UTC
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
Comment 3 Tanu Kaskinen 2013-11-16 18:34:05 UTC
Indeed, audioconvert solves my problem. Thank you!