bug with interleave
Hello,
It seems there is a bug with interleave and/or deinterleave (with v1.15.1 but not with v1.8.3) :
GST_DEBUG=3 gst-launch-1.0 filesrc location=output.wav ! wavparse ! deinterleave name=d d.src_0 ! volume name="vol0" volume=0.5 ! audiopanorama name="pan0" panorama=0 ! audio/x-raw,channels=2 ! audioconvert ! queue ! i. d.src_1 ! volume name="vol1" volume=0.5 ! audiopanorama name="pan1" panorama=0 ! audio/x-raw,channels=2 ! audioconvert ! queue ! i. interleave name=i ! opusenc frame-size=20 max-payload-size=4000 ! rtpopuspay pt=96 ! fakesink
I get :
Setting pipeline to PAUSED ...
0:00:00.014909281 25566 0x5569f3678550 WARN basesrc gstbasesrc.c:3592:gst_base_src_start_complete <filesrc0> pad not activated yet
Pipeline is PREROLLING ...
0:00:00.015098902 25566 0x5569f3668de0 FIXME default gstutils.c:3981:gst_pad_create_stream_id_internal:<wavparse0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:00.020775475 25566 0x5569f3668c50 WARN interleave interleave.c:316:gst_interleave_set_channel_positions:<i> Invalid channel positions, using NONE
0:00:00.020796839 25566 0x5569f3668c50 FIXME basesink gstbasesink.c:3248:gst_base_sink_default_event:<fakesink0> stream-start event without group-id. Consider implementing group-id handling in the upstream elements
0:00:00.020936961 25566 0x5569f3668c50 FIXME interleave interleave.c:920:gst_interleave_sink_event:<i> FIXME: merge tags and send after stream-start
0:00:00.021016249 25566 0x5569f3668c00 FIXME interleave interleave.c:920:gst_interleave_sink_event:<i> FIXME: merge tags and send after stream-start
0:00:00.021754444 25566 0x5569f3668c50 WARN GST_PADS gstpad.c:4230:gst_pad_peer_query:<opusenc0:src> could not send sticky events
Redistribute latency...
0:00:00.023276294 25566 0x5569f3668de0 WARN wavparse gstwavparse.c:2297:gst_wavparse_loop:<wavparse0> error: Internal data stream error.
0:00:00.023285254 25566 0x5569f3668de0 WARN wavparse gstwavparse.c:2297:gst_wavparse_loop:<wavparse0> error: streaming stopped, reason not-negotiated (-4)
0:00:00.023313614 25566 0x5569f3668de0 WARN queue gstqueue.c:988:gst_queue_handle_sink_event:<queue1> error: Internal data stream error.
0:00:00.023321091 25566 0x5569f3668de0 WARN queue gstqueue.c:988:gst_queue_handle_sink_event:<queue1> error: streaming stopped, reason not-negotiated (-4)
ERROR: from element /GstPipeline:pipeline0/GstWavParse:wavparse0: Internal data stream error.
Additional debug info:
gstwavparse.c(2297): gst_wavparse_loop (): /GstPipeline:pipeline0/GstWavParse:wavparse0: streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
"Most likely yes, and most likely it's caused by interleave having being ported to the new audio aggregator base class."
This pipeline works perfctly with Gstreamer v1.8.3 !
The soundfile "output.wav" is :
Input #0, wav, from 'localisation/bruxelles/sounds/output.wav':
Metadata:
date : 2018-06-20
encoder : Lavf56.40.101
encoded_by : REAPER
Duration: 00:18:40.00, bitrate: 3072 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 4.0, s16, 3072 kb/s