<div dir="ltr">Hello,<br><br>I've constructed the following pipeline to mix two raw PCM audio streams together. The inputs and output are named pipes:<br><br>mkfifo input1 input2 output<br><br>gst-launch-1.0 \<br> filesrc location=input1 \<br>
! queue \<br> ! audio/x-raw, channels=2, format=S16LE, rate=44100, layout=interleaved \<br> ! audioconvert \<br> ! adder name=m \<br> ! audio/x-raw, channels=2, format=S16LE, rate=44100, layout=interleaved \<br>
! filesink location=output \<br> filesrc location=input2 \<br> ! queue \<br> ! audio/x-raw, channels=2, format=S16LE, rate=44100, layout=interleaved \<br> ! m.<br><br>where input1 and input2 are supplied with raw PCM by two FFmpeg processes, and output is consumed by a third FFmpeg process.<br>
<br>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:<br><br>** (gst-launch-1.0:44): CRITICAL **: gst_audio_buffer_clip: assertion 'segment->format == GST_FORMAT_TIME || segment->format == GST_FORMAT_DEFAULT' failed<br>
<br>What is likely to be causing this, and what would be the best way to address it?<br><br>Thank you,<br><br>Andrew<br><br></div>