Raw audio from filesrc: volume element issue

Ádám Balázs broothy at gmail.com
Wed Aug 17 11:36:06 UTC 2022


Hi,

I have the following pipeline, it works well:

filesrc location=file.raw ! audio/x-raw, rate=44100, channels=1,
format=S16LE, layout=interleaved ! queue ! autoaudiosink sync=true

If I add a volume element before the queue I get GStreamer-CRITICAL
messages:

filesrc location=/file.raw ! audio/x-raw, rate=44100, channels=1,
format=S16LE, layout=interleaved ! queue ! volume name=volume volume=1 !
autoaudiosink sync=true

(gst-launch-1.0:63741): GStreamer-CRITICAL **: 13:26:44.092:
gst_segment_to_stream_time: assertion 'segment->format == format' failed
(gst-launch-1.0:63741): GStreamer-CRITICAL **: 13:26:44.093:
gst_segment_to_stream_time: assertion 'segment->format == format' failed
(gst-launch-1.0:63741): GStreamer-CRITICAL **: 13:26:44.093:
gst_segment_to_stream_time: assertion 'segment->format == format' failed
(gst-launch-1.0:63741): GStreamer-CRITICAL **: 13:26:44.111:
gst_segment_to_stream_time: assertion 'segment->format == format' failed

I get a few of these. Is it a bug or a user error?

Thanks,
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220817/5402b994/attachment-0001.htm>


More information about the gstreamer-devel mailing list