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 769694 - Critical errors when using mpd fifo as source
Critical errors when using mpd fifo as source
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-08-10 06:44 UTC by Siam
Modified: 2018-01-20 14:58 UTC
See Also:
GNOME target: ---
GNOME version: 3.19/3.20



Description Siam 2016-08-10 06:44:11 UTC
My mpd configuration looks like this:

audio_output {
    type                    "fifo"
    name                    "my_fifo"
    path                    "/tmp/mpd.fifo"
    format                  "44100:16:2"
}

This is the pipeline I am using to get level information:
"gst-launch-1.0 filesrc location=/tmp/mpd.fifo ! audio/x-raw,format=S16LE,rate=44100,channels=2,layout=interleaved ! audioconvert ! level message=TRUE ! fakesink"

I see the following output when I play a track in mpd:

(gst-launch-1.0:26444): GStreamer-CRITICAL **: gst_segment_to_running_time: assertion 'segment->format == format' failed

(gst-launch-1.0:26444): GStreamer-CRITICAL **: gst_segment_to_stream_time: assertion 'segment->format == format' failed

(gst-launch-1.0:26444): GStreamer-CRITICAL **: gst_segment_to_running_time: assertion 'segment->format == format' failed

(gst-launch-1.0:26444): GStreamer-CRITICAL **: gst_segment_to_stream_time: assertion 'segment->format == format' failed

(gst-launch-1.0:26444): GStreamer-CRITICAL **: gst_segment_to_running_time: assertion 'segment->format == format' failed

(gst-launch-1.0:26444): GStreamer-CRITICAL **: gst_segment_to_stream_time: assertion 'segment->format == format' failed

I am also seeing the same message when using the spectrum plugin.
Comment 1 Siam 2016-08-10 06:48:07 UTC
(In reply to Siam from comment #0)
> My mpd configuration looks like this:
> 
> audio_output {
>     type                    "fifo"
>     name                    "my_fifo"
>     path                    "/tmp/mpd.fifo"
>     format                  "44100:16:2"
> }
> 
> This is the pipeline I am using to get level information:
> "gst-launch-1.0 filesrc location=/tmp/mpd.fifo !
> audio/x-raw,format=S16LE,rate=44100,channels=2,layout=interleaved !
> audioconvert ! level message=TRUE ! fakesink"
> 
> I see the following output when I play a track in mpd:
> 
> (gst-launch-1.0:26444): GStreamer-CRITICAL **: gst_segment_to_running_time:
> assertion 'segment->format == format' failed
> 
> (gst-launch-1.0:26444): GStreamer-CRITICAL **: gst_segment_to_stream_time:
> assertion 'segment->format == format' failed
> 
> (gst-launch-1.0:26444): GStreamer-CRITICAL **: gst_segment_to_running_time:
> assertion 'segment->format == format' failed
> 
> (gst-launch-1.0:26444): GStreamer-CRITICAL **: gst_segment_to_stream_time:
> assertion 'segment->format == format' failed
> 
> (gst-launch-1.0:26444): GStreamer-CRITICAL **: gst_segment_to_running_time:
> assertion 'segment->format == format' failed
> 
> (gst-launch-1.0:26444): GStreamer-CRITICAL **: gst_segment_to_stream_time:
> assertion 'segment->format == format' failed
> 
> I am also seeing the same message when using the spectrum plugin.

Should also add that I see the following before the errors begin:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Comment 2 Tim-Philipp Müller 2016-08-10 07:04:19 UTC
This is not really a valid pipeline. You need an 'audioparse' element after fdsrc here. (Or alternatively rawaudioparse in git master)