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 698097 - [regression] FLAC audio in an aspx stream does not play
[regression] FLAC audio in an aspx stream does not play
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: dont know
git master
Other Linux
: Normal major
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-04-16 00:16 UTC by Jean-François Fortin Tam
Modified: 2013-04-16 14:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sample file (440.35 KB, application/octet-stream)
2013-04-16 00:16 UTC, Jean-François Fortin Tam
Details
GST_DEBUG=6 (311.48 KB, application/gzip)
2013-04-16 00:19 UTC, Jean-François Fortin Tam
Details

Description Jean-François Fortin Tam 2013-04-16 00:16:21 UTC
Created attachment 241612 [details]
sample file

Simply grab the attached sample file and try to use it with the following:

$ gst-launch-1.0 filesrc location=tone24bit.aspx ! flacdec ! pulsesink

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2814): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:
streaming task paused, reason error (-5)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...



And yet, if you try the exact same command with the last gst 0.10, it works fine and you get an audible tone:

$ gst-launch-0.10 filesrc location=tone24bit.aspx ! flacdec ! pulsesink

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstPulseSinkClock
Comment 1 Jean-François Fortin Tam 2013-04-16 00:19:20 UTC
Created attachment 241613 [details]
GST_DEBUG=6

Debug log or it didn't happen.
Comment 2 Jean-François Fortin Tam 2013-04-16 01:00:33 UTC
(also, while I'm at it... I'm left wondering if bug #680115, which has been observed with ogg vorbis and FLAC, could be related)
Comment 3 Tim-Philipp Müller 2013-04-16 07:43:36 UTC
Please try:

  gst-launch-1.0 filesrc location=tone24bit.aspx ! decodebin ! pulsesink

or

  gst-launch-1.0 filesrc location=tone24bit.aspx ! flacparse ! flacdec ! pulsesink


In 1.0 we now require parsers in front of many/most decoders.
Comment 4 Jean-François Fortin Tam 2013-04-16 14:36:36 UTC
Ah indeed, that works (I was reporting that issue on behalf of someone else). Isn't forcing a parser in front of something that used to not require one (ex: flacdec) going to add latency however?
Comment 5 Tim-Philipp Müller 2013-04-16 14:51:10 UTC
Not necessarily (it depends on what's upstream, the format, and the implementation). Certainly not an issue when reading from a file. Parsing was done before as well, it's just that that code lived in the decoder instead of being in a separate element. If it ever is an issue in practice it can be fixed.