Issue with Muxing Audio

I’m not sure if this is place to post this, but I figured I could ask.

Having a weird Issue with audio muxing. Here is the code:

gst-launch-1.0 -e -vvv \
nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1' ! queue ! tee name=tfront \
nvarguscamerasrc sensor-id=1 ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1' ! queue ! nvvidconv flip-method=4 ! tee name=tback \
tfront. ! queue ! comp.sink_0 \
tback. ! queue ! comp.sink_1 \
nvcompositor name=comp sink_0::xpos=0 sink_0::ypos=0 sink_0::width=1920 sink_0::height=1080 sink_1::xpos=1270 sink_1::ypos=10 sink_1::width=640 sink_1::height=360 ! queue ! tee name=tboth \
tboth. ! queue ! nvvidconv ! nvv4l2h264enc maxperf-enable=1 bitrate=5000000 profile=4 ! h264parse ! splitmuxsink location=/home/user/Videos/PIP/PIPUserCam_$(date +%s)_%02d.mkv max-size-time=6000000000000 muxer=matroskamux name=pipmux \
tboth. ! queue ! nvvidconv ! nvv4l2h264enc maxperf-enable=1 bitrate=2000000 profile=4 ! h264parse ! flvmux name=rtmux ! rtmpsink location='rtmp://a.rtmp.youtube.com/live2/KEY' \
tfront. ! queue ! nvvidconv ! nvv4l2h264enc maxperf-enable=1 bitrate=5000000 profile=4 ! h264parse ! splitmuxsink location=/home/user/Videos/Front/FrontUserCam_$(date +%s)_%02d.mkv max-size-time=6000000000000 muxer=matroskamux name=fmux \
tback. ! queue ! nvvidconv ! nvv4l2h264enc maxperf-enable=1 bitrate=5000000 profile=4 ! h264parse ! splitmuxsink location=/home/user/Videos/Back/BackUserCam_$(date +%s)_%02d.mkv max-size-time=6000000000000 muxer=matroskamux name=bmux \
alsasrc device=hw:1,0 ! queue ! audioconvert ! audioresample ! voaacenc bitrate=64000 ! tee name=tmic \
tmic. ! queue ! rtmux. \
tmic. ! queue ! pipmux.audio_0 \
tmic. ! queue ! fmux.audio_0 \
tmic. ! queue ! bmux.audio_0

This just hangs for some reason…

If I modify the last 4 lines to this:

tmic. ! queue ! rtmux. \
tmic. ! queue ! pipmux.audio_0

or this:

tmic. ! queue ! pipmux.audio_0 \
tmic. ! queue ! fmux.audio_0 \
tmic. ! queue ! bmux.audio_0

It works fine.

But this doesn’t work either:

tmic. ! queue ! rtmux. \
tmic. ! queue ! pipmux.audio_0 \
tmic. ! queue ! fmux.audio_0 

So it seems there’s something with the flvmux that I’m missing.

This is not an answer…but is it deliberate that tfront camera stream is in CPU memory while tback is in NVMM memory ?

They’re both in NVMM. I use nvvidconv on the back to mirror the image. But now that you mention it, I can remove the nvvidconv for the tback and tfront filesinks.

Hi,
Suggest you break down the pipeline to clarify which part triggers the issue. You may try single video + single audio, only video, one encoding thread, two encoding threads, …

May you try this ?

gst-launch-1.0 -e -vvv nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1' ! queue ! tee name=tfront nvarguscamerasrc sensor-id=1 ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1' ! queue ! nvvidconv flip-method=4 ! tee name=tback tfront. ! queue ! comp.sink_0 tback. ! queue ! comp.sink_1 nvcompositor name=comp sink_0::xpos=0 sink_0::ypos=0 sink_0::width=1920 sink_0::height=1080 sink_1::xpos=1270 sink_1::ypos=10 sink_1::width=640 sink_1::height=360 ! queue ! tee name=tboth tboth. ! queue ! nvvidconv ! nvv4l2h264enc maxperf-enable=1 bitrate=5000000 profile=4 ! h264parse ! queue2 ! splitmuxsink location=/home/user/Videos/PIP/PIPUserCam_$(date +%s)_%02d.mkv max-size-time=6000000000000 muxer=matroskamux name=pipmux    tboth. ! queue ! nvvidconv ! nvv4l2h264enc maxperf-enable=1 bitrate=2000000 profile=4 ! h264parse ! queue ! flvmux name=rtmux ! rtmpsink location='rtmp://a.rtmp.youtube.com/live2/KEY' tfront. ! queue ! nvvidconv ! nvv4l2h264enc maxperf-enable=1 bitrate=5000000 profile=4 ! h264parse ! queue2 ! splitmuxsink location=/home/user/Videos/Front/FrontUserCam_$(date +%s)_%02d.mkv max-size-time=6000000000000 muxer=matroskamux name=fmux tback. ! queue ! nvvidconv ! nvv4l2h264enc maxperf-enable=1 bitrate=5000000 profile=4 ! h264parse ! queue2 ! splitmuxsink location=/home/user/Videos/Back/BackUserCam_$(date +%s)_%02d.mkv max-size-time=6000000000000 muxer=matroskamux name=bmux alsasrc device=hw:1,0 ! queue ! audioconvert ! audioresample ! voaacenc bitrate=64000 ! tee name=tmic tmic. ! queue ! rtmux. tmic. ! queue ! pipmux.audio_0 tmic. ! queue ! fmux.audio_0 tmic. ! queue ! bmux.audio_0

It seems working fine with my NX running R32.4.4.

EDIT: In fact, I don’t have 2 CSI sensors for really trying your case, but duplicating my first sensor seems working:

gst-launch-1.0 -evvv nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1' ! queue ! tee name=tfront ! queue ! comp.sink_0    tfront. ! queue ! tee name=tback ! queue ! nvvidconv ! queue ! comp.sink_1      nvcompositor name=comp sink_0::xpos=0 sink_0::ypos=0 sink_0::width=1920 sink_0::height=1080 sink_1::xpos=1270 sink_1::ypos=10 sink_1::width=640 sink_1::height=360 ! queue ! tee name=tboth ! queue ! nvvidconv ! nvv4l2h264enc maxperf-enable=1 bitrate=5000000 profile=4 ! h264parse ! queue2 ! splitmuxsink location=./PIPUserCam_$(date +%s)_%02d.mkv max-size-time=6000000000000 muxer=matroskamux name=pipmux       tboth. ! queue ! nvvidconv ! nvv4l2h264enc maxperf-enable=1 bitrate=2000000 profile=4 ! h264parse ! queue ! flvmux name=rtmux ! fakesink            tfront. ! queue ! nvv4l2h264enc maxperf-enable=1 bitrate=5000000 profile=4 ! h264parse ! queue2 ! splitmuxsink location=./FrontUserCam_$(date +%s)_%02d.mkv max-size-time=6000000000000 muxer=matroskamux name=fmux                tback. ! queue ! nvv4l2h264enc maxperf-enable=1 bitrate=5000000 profile=4 ! h264parse ! queue2 ! splitmuxsink location=./BackUserCam_$(date +%s)_%02d.mkv max-size-time=6000000000000 muxer=matroskamux name=bmux                  alsasrc device=hw:1,0 ! queue ! audioconvert ! audioresample ! voaacenc bitrate=64000 ! tee name=tmic                tmic. ! queue ! rtmux.                tmic. ! queue ! pipmux.audio_0                tmic. ! queue ! fmux.audio_0 tmic. ! queue ! bmux.audio_0

You would read these mkv files with gstreamer, Ubuntu video player may not be able to display correctly. For example;

gst-launch-1.0 filesrc location= ./PIPUserCam_1604090203_00.mkv ! decodebin ! autovideosink

First off, I want to say I really appreciate this community. Yourself along with DaneLLL (on a different thread) have been beyond helpful and DaneLLL has tried to get solutions for me weeks after. So I just want to say I appreciate that and am glad I stuck with this platform.

On your pipeline examples, both hung (1 camera duplicated and 2 cameras) like they did before on the Nano I’m using.

I get a PIP video with 0 filesize and no back or front video generated. So it’s odd to me. The RTMP mux seems to be causing the issue since this works fine with all three outputs without it. But it seems to hang after the PIP mux (I think at least since no files are even generated for the other filesinks). CPU usage is at around 70% with it working. It’s around 35% when it hangs. Gstreamer and nvargus-daemon equally take up that CPU usage. When it fails, the Gstreamer process falls to 1%.

Here is the output with replaced rtmp key:

gst-launch-1.0 -e -vvv \
> nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1' ! queue ! tee name=tfront \
> nvarguscamerasrc sensor-id=1 ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1' ! queue ! nvvidconv flip-method=4 ! tee name=tback \
> tfront. ! queue ! comp.sink_0 \
> tback. ! queue ! comp.sink_1 \
> nvcompositor name=comp sink_0::xpos=0 sink_0::ypos=0 sink_0::width=1920 sink_0::height=1080 sink_1::xpos=1270 sink_1::ypos=10 sink_1::width=640 sink_1::height=360 ! queue ! tee name=tboth \
> tboth. ! queue ! nvvidconv ! nvv4l2h264enc maxperf-enable=1 bitrate=5000000 profile=4 ! h264parse ! queue2 ! splitmuxsink location=/home/user/Videos/PIP/PIPUserCam_$(date +%s)_%02d.mkv max-size-time=6000000000000 muxer=matroskamux name=pipmux \
> tboth. ! queue ! nvvidconv ! nvv4l2h264enc maxperf-enable=1 bitrate=2000000 profile=4 ! h264parse ! queue ! flvmux name=rtmux ! rtmpsink location='rtmp://a.rtmp.youtube.com/live2/KEY' \
> tfront. ! queue ! nvvidconv ! nvv4l2h264enc maxperf-enable=1 bitrate=5000000 profile=4 ! h264parse ! queue2 ! splitmuxsink location=/home/user/Videos/Front/FrontUserCam_$(date +%s)_%02d.mkv max-size-time=6000000000000 muxer=matroskamux name=fmux \
> tback. ! queue ! nvvidconv ! nvv4l2h264enc maxperf-enable=1 bitrate=5000000 profile=4 ! h264parse ! queue2 ! splitmuxsink location=/home/user/Videos/Back/BackUserCam_$(date +%s)_%02d.mkv max-size-time=6000000000000 muxer=matroskamux name=bmux \
> alsasrc device=hw:1,0 ! queue ! audioconvert ! audioresample ! voaacenc bitrate=64000 ! tee name=tmic \
> tmic. ! queue ! rtmux. \
> tmic. ! queue ! pipmux.audio_0 \
> tmic. ! queue ! fmux.audio_0 \
> tmic. ! queue ! bmux.audio_0
Setting pipeline to PAUSED ...
Opening in BLOCKING MODE 
Opening in BLOCKING MODE 
Opening in BLOCKING MODE 
Opening in BLOCKING MODE 
Pipeline is live and does not need PREROLL ...
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstFileSink:sink: async = false
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstFileSink:sink: async = false
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstFileSink:sink: async = false
Setting pipeline to PLAYING ...
New clock: GstAudioSrcClock
/GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstTee:tfront.GstTeePad:src_0: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstQueue:queue2.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstQueue:queue2.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstQueue:queue2.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstQueue:queue8.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstTee:tfront.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstQueue:queue8.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstNvCompositor:comp.GstNvCompositorPad:sink_0: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/Gstnvvconv:nvvconv3.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/nvv4l2h264enc:nvv4l2h264enc2.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, profile=(string)NULL, level=(string)NULL, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2
NvMMLiteOpen : Block : BlockType = 4 
/GstPipeline:pipeline0/GstH264Parse:h264parse2.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, profile=(string)NULL, level=(string)NULL, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2
Redistribute latency...
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4 
/GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: actual-buffer-time = 200000
/GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: actual-latency-time = 28571
Redistribute latency...
/GstPipeline:pipeline0/GstAlsaSrc:alsasrc0.GstPad:src: caps = audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)44100, channels=(int)1
/GstPipeline:pipeline0/GstQueue:queue10.GstPad:sink: caps = audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)44100, channels=(int)1
/GstPipeline:pipeline0/GstQueue:queue10.GstPad:src: caps = audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)44100, channels=(int)1
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps = audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)44100, channels=(int)1
/GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc1.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstAudioResample:audioresample0.GstPad:src: caps = audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)44100, channels=(int)1
/GstPipeline:pipeline0/GstVoAacEnc:voaacenc0.GstPad:sink: caps = audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)44100, channels=(int)1
/GstPipeline:pipeline0/GstAudioResample:audioresample0.GstPad:sink: caps = audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)44100, channels=(int)1
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps = audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)44100, channels=(int)1
/GstPipeline:pipeline0/Gstnvvconv:nvvconv0.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstTee:tback.GstTeePad:src_0: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstQueue:queue3.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstTee:tback.GstTeePad:src_1: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstQueue:queue3.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstQueue:queue9.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstQueue:queue9.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstQueue:queue9.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstNvCompositor:comp.GstNvCompositorPad:sink_1: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/Gstnvvconv:nvvconv4.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/nvv4l2h264enc:nvv4l2h264enc3.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, profile=(string)NULL, level=(string)NULL, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2
/GstPipeline:pipeline0/GstH264Parse:h264parse3.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, profile=(string)NULL, level=(string)NULL, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2
NvMMLiteOpen : Block : BlockType = 4 
Redistribute latency...
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4 
/GstPipeline:pipeline0/nvv4l2h264enc:nvv4l2h264enc2.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/Gstnvvconv:nvvconv3.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/nvv4l2h264enc:nvv4l2h264enc3.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/Gstnvvconv:nvvconv4.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/Gstnvvconv:nvvconv0.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstVoAacEnc:voaacenc0.GstPad:src: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstTee:tmic.GstTeePad:src_0: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstQueue:queue11.GstPad:sink: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstTee:tmic.GstTeePad:src_1: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstQueue:queue12.GstPad:sink: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstTee:tmic.GstTeePad:src_2: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstQueue:queue13.GstPad:sink: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstQueue:queue11.GstPad:src: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstQueue:queue13.GstPad:src: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstQueue:queue13.GstPad:src: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstQueue:queue12.GstPad:src: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux.GstGhostPad:audio_0.GstProxyPad:proxypad3: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18.GstPad:sink: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18.GstPad:sink: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstTee:tmic.GstTeePad:src_3: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstQueue:queue14.GstPad:sink: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstQueue:queue14.GstPad:src: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstQueue:queue14.GstPad:src: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstSplitMuxSink:bmux.GstGhostPad:audio_0.GstProxyPad:proxypad5: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20.GstPad:sink: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstSplitMuxSink:bmux.GstGhostPad:audio_0: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux.GstGhostPad:audio_0: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstNvCompositor:comp.GstAggregatorPad:src: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
/GstPipeline:pipeline0/GstQueue:queue4.GstPad:sink: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
/GstPipeline:pipeline0/GstQueue:queue4.GstPad:src: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
Redistribute latency...
NvMMLiteOpen : Block : BlockType = 4 
/GstPipeline:pipeline0/GstNvCompositor:comp.GstAggregatorPad:src: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
/GstPipeline:pipeline0/GstTee:tboth.GstTeePad:src_0: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
NvMMLiteOpen : Block : BlockType = 4 
/GstPipeline:pipeline0/GstTee:tboth.GstTeePad:src_0: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
/GstPipeline:pipeline0/GstQueue:queue5.GstPad:sink: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
/GstPipeline:pipeline0/GstQueue:queue5.GstPad:sink: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
/GstPipeline:pipeline0/GstTee:tboth.GstTeePad:src_1: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
/GstPipeline:pipeline0/GstQueue:queue6.GstPad:sink: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
/GstPipeline:pipeline0/GstQueue:queue6.GstPad:src: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
/GstPipeline:pipeline0/GstQueue:queue6.GstPad:src: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
/GstPipeline:pipeline0/GstQueue:queue4.GstPad:src: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
/GstPipeline:pipeline0/GstTee:tboth.GstTeePad:src_0: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
/GstPipeline:pipeline0/GstQueue:queue5.GstPad:sink: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
/GstPipeline:pipeline0/GstTee:tboth.GstTeePad:src_1: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
/GstPipeline:pipeline0/GstQueue:queue6.GstPad:sink: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
===== NVMEDIA: NVENC =====
/GstPipeline:pipeline0/GstTee:tboth.GstPad:sink: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
NvMMLiteBlockCreate : Block : BlockType = 4 
/GstPipeline:pipeline0/Gstnvvconv:nvvconv2.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)I420
/GstPipeline:pipeline0/Gstnvvconv:nvvconv1.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)I420
/GstPipeline:pipeline0/nvv4l2h264enc:nvv4l2h264enc1.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, profile=(string)NULL, level=(string)NULL, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2
/GstPipeline:pipeline0/GstH264Parse:h264parse1.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, profile=(string)NULL, level=(string)NULL, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2
/GstPipeline:pipeline0/nvv4l2h264enc:nvv4l2h264enc0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, profile=(string)NULL, level=(string)NULL, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, profile=(string)NULL, level=(string)NULL, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2
Redistribute latency...
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4 
Redistribute latency...
/GstPipeline:pipeline0/nvv4l2h264enc:nvv4l2h264enc0.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)I420
/GstPipeline:pipeline0/Gstnvvconv:nvvconv1.GstPad:sink: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
/GstPipeline:pipeline0/GstQueue:queue5.GstPad:src: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
/GstPipeline:pipeline0/Gstnvvconv:nvvconv1.GstPad:sink: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
/GstPipeline:pipeline0/nvv4l2h264enc:nvv4l2h264enc1.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)I420
/GstPipeline:pipeline0/Gstnvvconv:nvvconv2.GstPad:sink: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
/GstPipeline:pipeline0/GstQueue:queue6.GstPad:src: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
/GstPipeline:pipeline0/Gstnvvconv:nvvconv2.GstPad:sink: caps = video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-site=(string)NULL, colorimetry=(string)sRGB
H264: Profile = 100, Level = 0 
H264: Profile = 100, Level = 0 
/GstPipeline:pipeline0/GstH264Parse:h264parse1.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstQueue:queue7.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstQueue:queue7.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstFlvMux:rtmux.GstFlvMuxPad:sink_0: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstFlvMux:rtmux.GstAggregatorPad:src: caps = video/x-flv
/GstPipeline:pipeline0/GstRTMPSink:rtmpsink0.GstPad:sink: caps = video/x-flv
/GstPipeline:pipeline0/GstFlvMux:rtmux: streamable = true
/GstPipeline:pipeline0/GstFlvMux:rtmux.GstAggregatorPad:src: caps = video/x-flv, streamheader=(buffer)< 464c5601050000000900000000, 1200012d0000000000000002000a6f6e4d65746144617461080000000b000c766964656f636f646563696400401c0000000000000005776964746800409e0000000000000006686569676874004090e00000000000000c417370656374526174696f58003ff0000000000000000c417370656374526174696f59003ff000000000000000096672616d657261746500403e000000000000000d766964656f6461746172617465000000000000000000000c617564696f636f6465636964004024000000000000000d617564696f6461746172617465000000000000000000000f6d6574616461746163726561746f7202001a4753747265616d657220312e31342e3520464c56206d75786572000c6372656174696f6e64617465020018467269204f63742033302032313a30303a3032203230323000000900000138, 0900002000000000000000170000000001640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb00000002b, 0800000400000000000000af0012080000000f >
/GstPipeline:pipeline0/GstRTMPSink:rtmpsink0.GstPad:sink: caps = video/x-flv, streamheader=(buffer)< 464c5601050000000900000000, 1200012d0000000000000002000a6f6e4d65746144617461080000000b000c766964656f636f646563696400401c0000000000000005776964746800409e0000000000000006686569676874004090e00000000000000c417370656374526174696f58003ff0000000000000000c417370656374526174696f59003ff000000000000000096672616d657261746500403e000000000000000d766964656f6461746172617465000000000000000000000c617564696f636f6465636964004024000000000000000d617564696f6461746172617465000000000000000000000f6d6574616461746163726561746f7202001a4753747265616d657220312e31342e3520464c56206d75786572000c6372656174696f6e64617465020018467269204f63742033302032313a30303a3032203230323000000900000138, 0900002000000000000000170000000001640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb00000002b, 0800000400000000000000af0012080000000f >
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstQueue2:queue2-0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstQueue2:queue2-0.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux.GstGhostPad:video.GstProxyPad:proxypad0: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux.GstGhostPad:video: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstMatroskaMux:matroskamux0.GstMatroskamuxPad:video_0: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstMatroskaMux:matroskamux0.GstMatroskamuxPad:video_0: caps = NULL
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstFileSink:sink: location = /home/user/Videos/PIP/PIPUserCam_1604091601_00.mkv
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstMatroskaMux:matroskamux0.GstMatroskamuxPad:video_0: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18.GstPad:src: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstMatroskaMux:matroskamux0.GstMatroskamuxPad:audio_0: caps = audio/mpeg, mpegversion=(int)4, channels=(int)1, rate=(int)44100, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw, codec_data=(buffer)1208
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 6
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 7
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 8
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 6
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 9
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 10
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 11
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 8
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 8
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 9
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 9
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 15
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 15
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 16
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 11
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 11
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 12
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 18
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 13
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 20
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 21
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 15
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 15
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 15
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 16
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 16
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 17
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 17
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 18
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 18
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 28
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 28
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 20
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 20
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 21
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 22
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 32
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 33
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 23
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 34
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 24
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 35
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 36
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 25
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 37
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 26
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 38
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 39
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 27
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 40
GST_ARGUS: Creating output stream
GST_ARGUS: Creating output stream
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 41
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 41
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 29
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 29
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 44
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 45
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 30
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstMatroskaMux:matroskamux0.GstPad:src: caps = video/x-matroska
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstFileSink:sink.GstPad:sink: caps = video/x-matroska
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 31
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 32
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 4032 x 3040 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1920 x 1080 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 2592 x 1944 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 2560 x 1440 FR = 40.000000 fps Duration = 25000000 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;

GST_ARGUS: Running with following settings:
   Camera index = 0 
   Camera mode  = 1 
   Output Stream W = 1920 H = 1080 
   seconds to Run    = 0 
   Frame Rate = 59.999999 
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 33
CONSUMER: Waiting until producer is connected...
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 34
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 4032 x 3040 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1920 x 1080 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 2592 x 1944 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 2560 x 1440 FR = 40.000000 fps Duration = 25000000 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;

GST_ARGUS: Running with following settings:
   Camera index = 1 
   Camera mode  = 1 
   Output Stream W = 1920 H = 1080 
   seconds to Run    = 0 
   Frame Rate = 59.999999 
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
CONSUMER: Producer has connected; continuing.
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 35
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 36
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 37
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 38
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 39
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue15: max-size-buffers = 40
H264: Profile = 100, Level = 0 
/GstPipeline:pipeline0/GstH264Parse:h264parse2.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstQueue2:queue2-1.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstQueue2:queue2-1.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstSplitMuxSink:fmux.GstGhostPad:video.GstProxyPad:proxypad1: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue16.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstSplitMuxSink:fmux.GstGhostPad:video: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue16.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstMatroskaMux:matroskamux1.GstMatroskamuxPad:video_0: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 6
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 7
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 8
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 10
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 10
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 11
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 12
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 13
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 14
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 15
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 16
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 17
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 18
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 19
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 20
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 21
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 22
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 23
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 24
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 25
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 26
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 27
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 28
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 29
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 30
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 31
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 32
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 33
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 34
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 35
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 36
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 37
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 38
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 39
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 40
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 41
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 42
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 43
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 44
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 45
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 46
H264: Profile = 100, Level = 0 
/GstPipeline:pipeline0/GstH264Parse:h264parse3.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstQueue2:queue2-2.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstQueue2:queue2-2.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstSplitMuxSink:bmux.GstGhostPad:video.GstProxyPad:proxypad2: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue17.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue17.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue17.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 6
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstMatroskaMux:matroskamux2.GstMatroskamuxPad:video_0: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, codec_data=(buffer)01640c28ffe1000c67640c28ac2ca80780227e5401000468ee3cb0
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 7
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 8
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 9
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 10
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 11
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 46
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 46
/GstPipeline:pipeline0/GstSplitMuxSink:pipmux/GstQueue:queue18: max-size-buffers = 46
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 15
/GstPipeline:pipeline0/GstSplitMuxSink:fmux/GstQueue:queue19: max-size-buffers = 47
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 16
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 17
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 18
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 19
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 20
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 21
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 22
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 23
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 24
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 25
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 26
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 27
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 28
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 29
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 30
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 31
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 32
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 33
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 34
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 35
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 36
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 37
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 38
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 39
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 40
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 41
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 42
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 43
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 44
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 45
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 46
/GstPipeline:pipeline0/GstSplitMuxSink:bmux/GstQueue:queue20: max-size-buffers = 47

cpuusage

You may try to add option async-handling=true to each instance of splitmuxsink:

gst-launch-1.0 -evvv nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1' ! tee name=tfront ! queue ! comp.sink_0    tfront. ! queue ! tee name=tback ! queue ! nvvidconv ! queue ! comp.sink_1      nvcompositor name=comp sink_0::xpos=0 sink_0::ypos=0 sink_0::width=1920 sink_0::height=1080 sink_1::xpos=1270 sink_1::ypos=10 sink_1::width=640 sink_1::height=360 ! tee name=tboth ! queue ! nvvidconv ! nvv4l2h264enc maxperf-enable=1 bitrate=5000000 profile=4 ! h264parse ! queue2 ! splitmuxsink async-handling=true location=./PIPUserCam_$(date +%s)_%02d.mkv max-size-time=6000000000000 muxer=matroskamux name=pipmux       tboth. ! queue ! nvvidconv ! nvv4l2h264enc maxperf-enable=1 bitrate=2000000 profile=4 ! h264parse ! queue ! flvmux name=rtmux ! fakesink            tfront. ! queue ! nvv4l2h264enc maxperf-enable=1 bitrate=5000000 profile=4 ! h264parse ! queue2 ! splitmuxsink async-handling=true location=./FrontUserCam_$(date +%s)_%02d.mkv max-size-time=6000000000000 muxer=matroskamux name=fmux                tback. ! queue ! nvv4l2h264enc maxperf-enable=1 bitrate=5000000 profile=4 ! h264parse ! queue2 ! splitmuxsink async-handling=true location=./BackUserCam_$(date +%s)_%02d.mkv max-size-time=6000000000000 muxer=matroskamux name=bmux                  alsasrc device=hw:1,0 ! queue ! audioconvert ! audioresample ! voaacenc bitrate=64000 ! tee name=tmic ! queue ! rtmux.                tmic. ! queue ! pipmux.audio_0                tmic. ! queue ! fmux.audio_0           tmic. ! queue ! bmux.audio_0
1 Like

Sorry for the delay, I’ve been traveling and haven’t had time to do this until now. That being said, it worked! Thanks a lot for the help!