GNOME Bugzilla – Bug 769694
Critical errors when using mpd fifo as source
Last modified: 2018-01-20 14:58:03 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.
(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
This is not really a valid pipeline. You need an 'audioparse' element after fdsrc here. (Or alternatively rawaudioparse in git master)