Error when passing raw PCM through adder
Andrew Nesbit
andrew.nesbit at gmail.com
Tue Aug 26 17:42:28 PDT 2014
Hello,
I've constructed the following pipeline to mix two raw PCM audio streams
together. The inputs and output are named pipes:
mkfifo input1 input2 output
gst-launch-1.0 \
filesrc location=input1 \
! queue \
! audio/x-raw, channels=2, format=S16LE, rate=44100, layout=interleaved
\
! audioconvert \
! adder name=m \
! audio/x-raw, channels=2, format=S16LE, rate=44100, layout=interleaved
\
! filesink location=output \
filesrc location=input2 \
! queue \
! audio/x-raw, channels=2, format=S16LE, rate=44100, layout=interleaved
\
! m.
where input1 and input2 are supplied with raw PCM by two FFmpeg processes,
and output is consumed by a third FFmpeg process.
On executing the above pipeline, although the audio seems to be processed
OK, the following error is repeated as long as the stream is running:
** (gst-launch-1.0:44): CRITICAL **: gst_audio_buffer_clip: assertion
'segment->format == GST_FORMAT_TIME || segment->format ==
GST_FORMAT_DEFAULT' failed
What is likely to be causing this, and what would be the best way to
address it?
Thank you,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140827/3623e608/attachment.html>
More information about the gstreamer-devel
mailing list