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 667430 - gnonlin cant process flac files. Gives error
gnonlin cant process flac files. Gives error
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gnonlin
0.10.17
Other Linux
: Normal critical
: 1.1.2
Assigned To: GStreamer Maintainers
Edward Hervey
Depends on:
Blocks:
 
 
Reported: 2012-01-06 18:51 UTC by J.Rios
Modified: 2013-06-25 22:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Log portion showing last lines before blocked pad (32.00 KB, text/x-log)
2012-01-10 12:17 UTC, Vincent Penquerc'h
Details

Description J.Rios 2012-01-06 18:51:22 UTC
This pipeline gives error

gst-launch gnlcomposition \( gnlfilesource location=test.file.flac media-start=392133000000 media-duration=335200000000 start=0 duration=335200000000 \) ! audioconvert ! fakesink

The error is
ERROR: from element /GstPipeline:pipeline0/GstBin:bin0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/GstDecodeBin2:decodebin20/GstFlacParse:flacparse0: GStreamer encountered a general streamer error.
Additional debug info:
gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline0/GstBin:bin0/GnlFileSource:gnlfilesouce0/GstURIDecodeBin:internal-uridecodebin/GstDecodeBin2:decodebin20/GstFlacParse:flacparse0:
streaming stopped, reason error
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
Comment 1 Vincent Penquerc'h 2012-01-10 12:16:35 UTC
Here's what I worked out so far from reading and comparing logs:

A seek request goes through flacdec/flacparse down to the source, which fails to seek (this also happens for a normal playbin2 pipeline using, eg, Totem, and seeking works here). The baseparse class then tries to seek after the source fails to. This causes a flush-start event to be sent. When using the command line above, a pad in an internal uridecodebin is blocking, and this causes the pipeline to error out. In Totem, no such blocking pad is hit, and baseparse correctly continues seeking.

See attached portion of logs showing what happens before the error, described above.

I'm now stumped, so I guess we'll need someone who knows gnonlin to check whether that pad is supposed to be blocked at that time.
Comment 2 Vincent Penquerc'h 2012-01-10 12:17:26 UTC
Created attachment 204936 [details]
Log portion showing last lines before blocked pad
Comment 3 Nicolas Dufresne (ndufresne) 2013-06-25 22:06:20 UTC
I just tested with git master of GNL and it seem to work now. Note the API change here:

gst-launch gnlcomposition \( gnlurisource uri=file:///home/nicolas/Musique/test.flac start=0 inpoint=392133000000 duration=335200000000 \) ! audioconvert ! fakesink