In DS 4.0 I use nvstreammux only to create metadata (as advised during EA)
uridecodebin ! nvstreammux ! plugin1 ! …
But the pipeline complains about needing to specify output width and height for nvstreammux.
I want the output width and height to be the same as the source. Is there a way
to pass this this to nvstreammux automatically without extra code to extract
source width and height?
And even if it did work, I still have to specify source width and height
somewhere in the pipeline. This is something I did not
have to do in TX2/DS 1.5
Setting pipeline to PAUSED …
ERROR: Pipeline doesn’t want to pause.
ERROR: from element /GstPipeline:pipeline0/GstNvStreamMux:m: Output width not set
Additional debug info:
/dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvmultistream/gstnvstreammux.c(2077): gst_nvstreammux_change_state (): /GstPipeline:pipeline0/GstNvStreamMux:m
Setting pipeline to NULL …
Freeing pipeline …
You may also refer to source8_1080p_dec_infer-resnet_tracker_tiled_display_fp16_nano.txt. It is must-have configurations. Please configure it accordingly.
the output width and height are mandatory for nvstreammux
and the answer to my original question:
“I want the output width and height to be the same as the source. Is there a way
to pass this this to nvstreammux automatically without extra code to extract
source width and height?”
Hi,
My bad I got confused by ‘Output width’. It is source/sink pad in gstreamer and output/capture planes in v4l2. Just confuse Output width to be sink pad.
On DS4.0, we support fixed resolution case. All width/height has to be configured according to the sources in the config file. Automatic resolution detection is not supported.