[Bug 726144] gst_element_query_duration returns false while pipeline paused, even if MP3 has duration tag

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Mar 11 19:02:35 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=726144
  GStreamer | don't know | 1.2.3

--- Comment #1 from W. Michael Petullo <mike at flyn.org> 2014-03-12 02:26:00 UTC ---
I meant to also report that gst-launch also finds the duration tag in this
file:

$ gst-launch -t uridecodebin uri=file:///var/db/BigDisk/Storage/Music/Dire\
Straits/Dire\ Straits\ -\ On\ The\ Night\ -\ 04\ -\ Romeo\ And\ Juliet.mp3 
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
FOUND TAG      : found by element "id3demux0".
           title: Romeo And Juliet
          artist: Dire Straits
           album: On The Night
    track number: 4
           genre: Rock
container format: ID3 tag
     track count: 10
        duration: 604000000000
Pipeline is PREROLLED ...
FOUND TAG      : found by element "mpegaudioparse0".
     audio codec: MPEG 1 Audio, Layer 3 (MP3)
 nominal bitrate: 128000
FOUND TAG      : found by element "mpegaudioparse0".
         has crc: FALSE
    channel mode: stereo
Setting pipeline to PLAYING ...
FOUND TAG      : found by element "mad0".
           layer: 3
            mode: stereo
        emphasis: none
         bitrate: 128000
New clock: GstSystemClock
ERROR: from element
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMpegAudioParse:mpegaudioparse0:
GStreamer encountered a general stream error.
Additional debug info:
gstbaseparse.c(2890): gst_base_parse_loop ():
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMpegAudioParse:mpegaudioparse0:
streaming stopped, reason not-linked
Execution ended after 244905 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list