How to run a sample app?

Hey Guys,

I’m trying to run a sample app to understand how deepstream works. I run into “** ERROR: main:651: Failed to set pipeline to PAUSED” Error. I’m not sure if I’ve missed any steps.

Resources I’m following:
https://docs.nvidia.com/metropolis/deepstream/4.0/dev-guide/index.html

System details:
GPU : v100
Driver Version : 418.67
CUDA Version : 10.1

Steps to replicate:

Pull the Container:

docker pull nvcr.io/nvidia/deepstream:4.0-19.07

Allow external applications to connect to the host’s X display:
xhost +

Run the docker container using the nvidia-docker command
nvidia-docker run -it --rm -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -w /root nvcr.io/nvidia/deepstream:4.0-19.07

Current Working Directory:
/root/deepstream_sdk_v4.0_x86_64/samples/configs/deepstream-app

Deepstream sample run:

deepstream-app -c source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt

Error:

** ERROR: main:651: Failed to set pipeline to PAUSED
Quitting
App run failed

I get similar errors when I use any of the config files in the directory.

When you run DeepStream docker container can you add ‘–gpus all’ option?

$ sudo docker run --gpus all -it --rm -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -w /root nvcr.io/nvidia/deepstream:4.0-19.07

This instruction should be update in the DeepStream | NVIDIA NGC as well.

Thank you for the reply.

Same error even with “–gpus all” option.

What docker version are you using? Please use Docker 19.03
[url]https://github.com/NVIDIA/nvidia-docker[/url]

I’m using 19.03. I had to upgrade it previously as the “–gpus all” option was only available in 19.03 and API version 1.40.

Engine:
Version: 19.03.1
API version: 1.40 (minimum version 1.12)

updated docker run command:
sudo docker run --gpus all -it --rm -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -w /root nvcr.io/nvidia/deepstream:4.0-19.07

Am I missing any other steps in here?

Can you try running with '–gst-debug ’ options when you run deepstream-app? Post the debug log here.

Thanks for the suggestion of ‘–gst-debug’. I was able to find some similar errors in the forum and was able to update certain things. After trial and error, I updated the docker run command as I was still getting errors with command in the documentation.

sudo docker run --gpus all -it --rm -v $XAUTH:$XAUTH -e DISPLAY=$DISPLAY -e XAUTHORITY=$XAUTH -w /root nvcr.io/nvidia/deepstream:4.0-19.07

But the app still runs into error.

Debug log for various sink types using ‘–gst-debug-level=3’:

[sink0] type=2 Eglsink, produces the below error with ‘–gst-debug’

0:00:03.016334829 249 0x5576941af000 ERROR nveglglessink ext/eglgles/gsteglglessink.c:2840:gst_eglglessink_setcaps:<sink_sub_bin_sink1> Failed to configure caps

**PERF: FPS 0 (Avg) FPS 1 (Avg) FPS 2 (Avg) FPS 3 (Avg)
**PERF: 113.55 (113.55) 113.55 (113.55) 113.55 (113.55) 113.55 (113.55)
**PERF: 0.00 (113.55) 0.00 (113.55) 0.00 (113.55) 0.00 (113.55)
0:00:13.495499225 249 0x557694285ed0 WARN queue gstqueue.c:988:gst_queue_handle_sink_event:<secondary_gie_bin_queue> error: Internal data stream error.
0:00:13.495515433 249 0x557694285ed0 WARN queue gstqueue.c:988:gst_queue_handle_sink_event:<secondary_gie_bin_queue> error: streaming stopped, reason not-negotiated (-4)
ERROR from secondary_gie_bin_queue: Internal data stream error.
Debug info: gstqueue.c(988): gst_queue_handle_sink_event (): /GstPipeline:pipeline/GstBin:secondary_gie_bin/GstQueue:secondary_gie_bin_queue:
streaming stopped, reason not-negotiated (-4)
Quitting
0:00:13.507697765 249 0x7fc89c002330 WARN queue gstqueue.c:988:gst_queue_handle_sink_event:<sink_bin_queue> error: Internal data stream error.
0:00:13.507706050 249 0x7fc89c002330 WARN queue gstqueue.c:988:gst_queue_handle_sink_event:<sink_bin_queue> error: streaming stopped, reason not-negotiated (-4)
ERROR from sink_bin_queue: Internal data stream error.
Debug info: gstqueue.c(988): gst_queue_handle_sink_event (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:sink_bin/GstQueue:sink_bin_queue:
streaming stopped, reason not-negotiated (-4)
App run failed

[sink0] type =3 produces the below error in the command line.

** ERROR: <create_encode_file_bin:304>: create_encode_file_bin failed
** ERROR: <create_sink_bin:564>: create_sink_bin failed
** ERROR: <create_processing_instance:637>: create_processing_instance failed
** ERROR: <create_pipeline:967>: create_pipeline failed
** ERROR: main:632: Failed to create pipeline
Quitting
App run failed

[sink0] type =1 , produces the below output in the command line, but there was no GUI.

**PERF: FPS 0 (Avg) FPS 1 (Avg) FPS 2 (Avg) FPS 3 (Avg)
**PERF: 35.81 (35.81) 35.81 (35.81) 35.81 (35.81) 35.81 (35.81)
**PERF: 29.99 (31.94) 29.99 (31.94) 29.99 (31.94) 29.99 (31.94)
**PERF: 30.00 (31.16) 30.00 (31.16) 30.00 (31.16) 30.00 (31.16)
**PERF: 30.01 (30.83) 30.01 (30.83) 30.01 (30.83) 30.01 (30.83)
**PERF: 30.00 (30.65) 30.00 (30.65) 30.00 (30.65) 30.00 (30.65)
**PERF: 30.00 (30.53) 30.00 (30.53) 30.00 (30.53) 30.00 (30.53)
**PERF: 29.99 (30.45) 29.99 (30.45) 29.99 (30.45) 29.99 (30.45)
**PERF: 30.00 (30.39) 30.00 (30.39) 30.00 (30.39) 30.00 (30.39)
**PERF: 30.01 (30.34) 30.01 (30.34) 30.01 (30.34) 30.01 (30.34)
**PERF: 29.98 (30.31) 29.98 (30.31) 30.19 (30.33) 29.99 (30.31)
** INFO: <bus_callback:186>: Received EOS. Exiting …

Quitting
App run successful

Hey Guys,
Did you get a chance to check the debug logs I had posted?

Hi,

Regarding

  1. If you do not have a local display attached to your server (i.e headless) then you won’t be able to use EGL sink, and hence you’ll see this error.

  2. Can you post the full [sink] config block you have used for this option ?

  3. Fakesink doesn’t have a display output by default. But as you can see from the logs, pipeline has been running successfully.

If you are running this on a headless server, i would suggest using type=4 which is RTSP streaming output. The related config block sample looks like this -

[sink2]
enable=0
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=4
#1=h264 2=h265
codec=1
sync=0
bitrate=4000000
# set below properties in case of RTSPStreaming
rtsp-port=8554
udp-port=5400
gpu-id=1

You can also find more information regarding config options for sink group over here - DeepStream Development Guide

Hi,

Yes I’m running it on the headless server. enabled the sink2 with type=4 for RTSPStreaming.
Below are the details.

Config block:

[sink2]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=4
#1=h264 2=h265
codec=1
sync=0
#iframeinterval=10
bitrate=400000

set below properties in case of RTSPStreaming

rtsp-port=8554
udp-port=5400

Error:

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8554/ds-test ***

X11 connection rejected because of wrong authentication.
0:00:00.428063294 447 0x55a5e2df1930 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:<sink_sub_bin_encoder1:sink> Unable to try format: Unknown error -1
0:00:00.428083924 447 0x55a5e2df1930 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:<sink_sub_bin_encoder1:sink> Could not probe minimum capture size for pixelformat YM12
0:00:00.428091359 447 0x55a5e2df1930 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:<sink_sub_bin_encoder1:sink> Unable to try format: Unknown error -1
0:00:00.428097475 447 0x55a5e2df1930 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:<sink_sub_bin_encoder1:sink> Could not probe maximum capture size for pixelformat YM12
0:00:00.428104797 447 0x55a5e2df1930 WARN v4l2 gstv4l2object.c:2370:gst_v4l2_object_add_interlace_mode:0x55a5e2d49110 Failed to determine interlace mode
0:00:00.428130359 447 0x55a5e2df1930 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:<sink_sub_bin_encoder1:src> Unable to try format: Unknown error -1
0:00:00.428136687 447 0x55a5e2df1930 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:<sink_sub_bin_encoder1:src> Could not probe minimum capture size for pixelformat H264
0:00:00.428141049 447 0x55a5e2df1930 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:<sink_sub_bin_encoder1:src> Unable to try format: Unknown error -1
0:00:00.428145633 447 0x55a5e2df1930 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:<sink_sub_bin_encoder1:src> Could not probe maximum capture size for pixelformat H264
Creating LL OSD context new
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream-4.0/lib/libnvds_mot_klt.so
gstnvtracker: Optional NvMOT_RemoveStreams not implemented
gstnvtracker: Batch processing is OFF
0:00:02.581583413 447 0x55a5e2df1930 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete: pad not activated yet
0:00:02.581852143 447 0x55a5e2df1930 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete: pad not activated yet
0:00:02.582448231 447 0x55a5e2df1930 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete: pad not activated yet
0:00:02.582612825 447 0x55a5e2df1930 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete: pad not activated yet
0:00:02.583005111 447 0x55a5e2df1930 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete: pad not activated yet
0:00:02.583208048 447 0x55a5e2df1930 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete: pad not activated yet
0:00:02.586076425 447 0x55a5e2df1930 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete: pad not activated yet
0:00:02.586242045 447 0x55a5e2df1930 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete: pad not activated yet

Runtime commands:
h: Print this help
q: Quit

    p: Pause
    r: Resume

NOTE: To expand a source in the 2D tiled display and view object details, left-click on the source.
To go back to the tiled display, right-click anywhere on the window.

** INFO: <bus_callback:163>: Pipeline ready

0:00:02.586883947 447 0x55a5e2c2cc00 WARN qtdemux qtdemux.c:3031:qtdemux_parse_trex: failed to find fragment defaults for stream 1
0:00:02.586897157 447 0x7f2458003990 WARN qtdemux qtdemux.c:3031:qtdemux_parse_trex: failed to find fragment defaults for stream 1
0:00:02.587002978 447 0x7f2458003990 WARN qtdemux qtdemux.c:3031:qtdemux_parse_trex: failed to find fragment defaults for stream 2
0:00:02.587006738 447 0x55a5e2c2cc00 WARN qtdemux qtdemux.c:3031:qtdemux_parse_trex: failed to find fragment defaults for stream 2
0:00:02.587096542 447 0x7f2458003990 WARN basesrc gstbasesrc.c:2445:gst_base_src_update_length: processing at or past EOS
0:00:02.587099136 447 0x55a5e2c2cc00 WARN basesrc gstbasesrc.c:2445:gst_base_src_update_length: processing at or past EOS
0:00:02.588665653 447 0x7f24340046d0 WARN qtdemux qtdemux.c:3031:qtdemux_parse_trex: failed to find fragment defaults for stream 1
0:00:02.588758714 447 0x7f24340046d0 WARN qtdemux qtdemux.c:3031:qtdemux_parse_trex: failed to find fragment defaults for stream 2
0:00:02.588830528 447 0x7f24340046d0 WARN basesrc gstbasesrc.c:2445:gst_base_src_update_length: processing at or past EOS
0:00:02.589610490 447 0x55a5e2c38850 WARN qtdemux qtdemux.c:3031:qtdemux_parse_trex: failed to find fragment defaults for stream 1
0:00:02.590086806 447 0x55a5e2c38850 WARN qtdemux qtdemux.c:3031:qtdemux_parse_trex: failed to find fragment defaults for stream 2
0:00:02.590516460 447 0x55a5e2c38850 WARN basesrc gstbasesrc.c:2445:gst_base_src_update_length: processing at or past EOS
0:00:02.629068696 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.629082515 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat MJPG
0:00:02.629088402 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.629093906 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat MJPG
0:00:02.629106469 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.629113127 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat H265
0:00:02.629117747 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.629125391 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat H265
0:00:02.629138195 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.629144078 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat H264
0:00:02.629148203 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:02.629153321 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat H264
0:00:02.629175700 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:src Unable to try format: Unknown error -1
0:00:02.629181382 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:src Could not probe minimum capture size for pixelformat NM12
0:00:02.629185777 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:src Unable to try format: Unknown error -1
0:00:02.629190975 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:src Could not probe maximum capture size for pixelformat NM12
0:00:02.629199710 447 0x55a5e2c2cf20 WARN v4l2 gstv4l2object.c:2370:gst_v4l2_object_add_interlace_mode:0x7f2414017be0 Failed to determine interlace mode
0:00:02.629414628 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder1:sink Unable to try format: Unknown error -1
0:00:02.629426865 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder1:sink Could not probe minimum capture size for pixelformat MJPG
0:00:02.629434961 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder1:sink Unable to try format: Unknown error -1
0:00:02.629441851 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder1:sink Could not probe maximum capture size for pixelformat MJPG
0:00:02.629455002 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder1:sink Unable to try format: Unknown error -1
0:00:02.629473225 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder1:sink Could not probe minimum capture size for pixelformat H265
0:00:02.629479765 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder1:sink Unable to try format: Unknown error -1
0:00:02.629485193 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder1:sink Could not probe maximum capture size for pixelformat H265
0:00:02.629495718 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder1:sink Unable to try format: Unknown error -1
0:00:02.629501211 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder1:sink Could not probe minimum capture size for pixelformat H264
0:00:02.629507051 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder1:sink Unable to try format: Unknown error -1
0:00:02.629513836 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder1:sink Could not probe maximum capture size for pixelformat H264
0:00:02.629540063 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder1:src Unable to try format: Unknown error -1
0:00:02.629545678 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder1:src Could not probe minimum capture size for pixelformat NM12
0:00:02.629580626 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder1:src Unable to try format: Unknown error -1
0:00:02.629586453 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder1:src Could not probe maximum capture size for pixelformat NM12
0:00:02.629597296 447 0x55a5e2c2ca80 WARN v4l2 gstv4l2object.c:2370:gst_v4l2_object_add_interlace_mode:0x7f243001b6b0 Failed to determine interlace mode
0:00:02.630201641 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder2:sink Unable to try format: Unknown error -1
0:00:02.630213163 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder2:sink Could not probe minimum capture size for pixelformat MJPG
0:00:02.630218736 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder2:sink Unable to try format: Unknown error -1
0:00:02.630225430 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder2:sink Could not probe maximum capture size for pixelformat MJPG
0:00:02.630237094 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder2:sink Unable to try format: Unknown error -1
0:00:02.630243919 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder2:sink Could not probe minimum capture size for pixelformat H265
0:00:02.630249815 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder2:sink Unable to try format: Unknown error -1
0:00:02.630255238 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder2:sink Could not probe maximum capture size for pixelformat H265
0:00:02.630265492 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder2:sink Unable to try format: Unknown error -1
0:00:02.630269891 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder2:sink Could not probe minimum capture size for pixelformat H264
0:00:02.630275575 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder2:sink Unable to try format: Unknown error -1
0:00:02.630283019 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder2:sink Could not probe maximum capture size for pixelformat H264
0:00:02.630300152 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder2:src Unable to try format: Unknown error -1
0:00:02.630305472 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder2:src Could not probe minimum capture size for pixelformat NM12
0:00:02.630311264 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder2:src Unable to try format: Unknown error -1
0:00:02.630316323 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder2:src Could not probe maximum capture size for pixelformat NM12
0:00:02.630322948 447 0x7f24180128a0 WARN v4l2 gstv4l2object.c:2370:gst_v4l2_object_add_interlace_mode:0x7f240801efd0 Failed to determine interlace mode
0:00:02.635027207 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder3:sink Unable to try format: Unknown error -1
0:00:02.635039216 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder3:sink Could not probe minimum capture size for pixelformat MJPG
0:00:02.635044583 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder3:sink Unable to try format: Unknown error -1
0:00:02.635051140 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder3:sink Could not probe maximum capture size for pixelformat MJPG
0:00:02.635062694 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder3:sink Unable to try format: Unknown error -1
0:00:02.635067505 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder3:sink Could not probe minimum capture size for pixelformat H265
0:00:02.635075993 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder3:sink Unable to try format: Unknown error -1
0:00:02.635084252 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder3:sink Could not probe maximum capture size for pixelformat H265
0:00:02.635094573 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder3:sink Unable to try format: Unknown error -1
0:00:02.635099707 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder3:sink Could not probe minimum capture size for pixelformat H264
0:00:02.635105253 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder3:sink Unable to try format: Unknown error -1
0:00:02.635112248 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder3:sink Could not probe maximum capture size for pixelformat H264
0:00:02.635128859 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder3:src Unable to try format: Unknown error -1
0:00:02.635134834 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:2919:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder3:src Could not probe minimum capture size for pixelformat NM12
0:00:02.635139784 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:3033:gst_v4l2_object_get_nearest_size:nvv4l2decoder3:src Unable to try format: Unknown error -1
0:00:02.635144067 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:2925:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder3:src Could not probe maximum capture size for pixelformat NM12
0:00:02.635150318 447 0x55a5e2c2c850 WARN v4l2 gstv4l2object.c:2370:gst_v4l2_object_add_interlace_mode:0x7f242001ac20 Failed to determine interlace mode
0:00:02.735061939 447 0x55a5e2c2cf20 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.735076158 447 0x55a5e2c2cf20 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.735095986 447 0x55a5e2c2cf20 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.735100538 447 0x55a5e2c2cf20 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.735115820 447 0x55a5e2c2cf20 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.735121217 447 0x55a5e2c2cf20 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.735137903 447 0x55a5e2c2cf20 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.735142065 447 0x55a5e2c2cf20 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.735155366 447 0x55a5e2c2cf20 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.735160900 447 0x55a5e2c2cf20 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.736427805 447 0x55a5e2c2cf20 WARN v4l2videodec gstv4l2videodec.c:1433:gst_v4l2_video_dec_decide_allocation: Duration invalid, not setting latency
0:00:02.736603034 447 0x55a5e2c2cf20 WARN v4l2bufferpool gstv4l2bufferpool.c:1054:gst_v4l2_buffer_pool_start:nvv4l2decoder0:pool:src Uncertain or not enough buffers, enabling copy threshold
Creating LL OSD context new
0:00:02.738427577 447 0x55a5e2dd15e0 WARN default v4l2-utils.c:189:gst_v4l2_error:<sink_sub_bin_encoder1> error: Device ‘/dev/nvhost-msenc’ failed during initialization
0:00:02.738442329 447 0x55a5e2dd15e0 WARN default v4l2-utils.c:192:gst_v4l2_error:<sink_sub_bin_encoder1> error: Call to S_FMT failed for YM12 @ 1280x720: Unknown error -1
0:00:02.738487603 447 0x55a5e2dd15e0 WARN videoencoder gstvideoencoder.c:678:gst_video_encoder_setcaps:<sink_sub_bin_encoder1> rejected caps video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, framerate=(fraction)30/1, batch-size=(int)4, num-surfaces-per-frame=(int)1, format=(string)I420
ERROR from sink_sub_bin_encoder1: Device ‘/dev/nvhost-msenc’ failed during initialization
Debug info: gstv4l2object.c(4050): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:sink_bin/GstBin:sink_sub_bin1/nvv4l2h264enc:sink_sub_bin_encoder1:
Call to S_FMT failed for YM12 @ 1280x720: Unknown error -1
0:00:02.738584709 447 0x55a5e2dd15e0 WARN default v4l2-utils.c:189:gst_v4l2_error:<sink_sub_bin_encoder1> error: Device ‘/dev/nvhost-msenc’ failed during initialization
0:00:02.738590545 447 0x55a5e2dd15e0 WARN default v4l2-utils.c:192:gst_v4l2_error:<sink_sub_bin_encoder1> error: Call to S_FMT failed for YM12 @ 1280x720: Unknown error -1
0:00:02.738617622 447 0x55a5e2dd15e0 WARN videoencoder gstvideoencoder.c:678:gst_video_encoder_setcaps:<sink_sub_bin_encoder1> rejected caps video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, framerate=(fraction)30/1, batch-size=(int)4, num-surfaces-per-frame=(int)1, format=(string)I420
0:00:02.738629725 447 0x55a5e2dd15e0 WARN GST_PADS gstpad.c:4226:gst_pad_peer_query:<sink_sub_bin_cap_filter1:src> could not send sticky events
ERROR from sink_sub_bin_encoder1: Device ‘/dev/nvhost-msenc’ failed during initialization
Debug info: gstv4l2object.c(4050): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:sink_bin/GstBin:sink_sub_bin1/nvv4l2h264enc:sink_sub_bin_encoder1:
Call to S_FMT failed for YM12 @ 1280x720: Unknown error -1
0:00:02.738796869 447 0x55a5e2c2ca80 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.738809298 447 0x55a5e2c2ca80 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.738826328 447 0x55a5e2c2ca80 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.738832430 447 0x55a5e2c2ca80 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.738853211 447 0x55a5e2c2ca80 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.738857493 447 0x55a5e2c2ca80 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.738880955 447 0x55a5e2c2ca80 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.738885901 447 0x55a5e2c2ca80 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.738898423 447 0x55a5e2c2ca80 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.738903843 447 0x55a5e2c2ca80 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.739334255 447 0x55a5e2c2ca80 WARN v4l2videodec gstv4l2videodec.c:1433:gst_v4l2_video_dec_decide_allocation: Duration invalid, not setting latency
0:00:02.739498567 447 0x55a5e2dd15e0 WARN default v4l2-utils.c:189:gst_v4l2_error:<sink_sub_bin_encoder1> error: Device ‘/dev/nvhost-msenc’ failed during initialization
0:00:02.739507381 447 0x55a5e2dd15e0 WARN default v4l2-utils.c:192:gst_v4l2_error:<sink_sub_bin_encoder1> error: Call to S_FMT failed for YM12 @ 1280x720: Unknown error -1
0:00:02.739514203 447 0x55a5e2c2ca80 WARN v4l2bufferpool gstv4l2bufferpool.c:1054:gst_v4l2_buffer_pool_start:nvv4l2decoder1:pool:src Uncertain or not enough buffers, enabling copy threshold
ERROR from sink_sub_bin_encoder1: Device ‘/dev/nvhost-msenc’ failed during initialization
0:00:02.739542631 447 0x55a5e2dd15e0 WARN videoencoder gstvideoencoder.c:678:gst_video_encoder_setcaps:<sink_sub_bin_encoder1> rejected caps video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, framerate=(fraction)30/1, batch-size=(int)4, num-surfaces-per-frame=(int)1, format=(string)I420
Debug info: gstv4l2object.c(4050): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:sink_bin/GstBin:sink_sub_bin1/nvv4l2h264enc:sink_sub_bin_encoder1:
Call to S_FMT failed for YM12 @ 1280x720: Unknown error -1
0:00:02.740517703 447 0x7f24180128a0 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.740529808 447 0x7f24180128a0 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.740546659 447 0x7f24180128a0 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.740551143 447 0x7f24180128a0 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.740565581 447 0x7f24180128a0 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.740571399 447 0x7f24180128a0 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.740585805 447 0x7f24180128a0 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.740590056 447 0x7f24180128a0 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.740603837 447 0x7f24180128a0 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.740610233 447 0x7f24180128a0 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.741062737 447 0x7f24180128a0 WARN v4l2videodec gstv4l2videodec.c:1433:gst_v4l2_video_dec_decide_allocation: Duration invalid, not setting latency
0:00:02.741220478 447 0x7f24180128a0 WARN v4l2bufferpool gstv4l2bufferpool.c:1054:gst_v4l2_buffer_pool_start:nvv4l2decoder2:pool:src Uncertain or not enough buffers, enabling copy threshold
Quitting
0:00:02.747863483 447 0x55a5e2dd15e0 WARN default v4l2-utils.c:189:gst_v4l2_error:<sink_sub_bin_encoder1> error: Device ‘/dev/nvhost-msenc’ failed during initialization
0:00:02.747881150 447 0x55a5e2dd15e0 WARN default v4l2-utils.c:192:gst_v4l2_error:<sink_sub_bin_encoder1> error: Call to S_FMT failed for YM12 @ 1280x720: Unknown error -1
0:00:02.747906252 447 0x55a5e2dd15e0 WARN videoencoder gstvideoencoder.c:678:gst_video_encoder_setcaps:<sink_sub_bin_encoder1> rejected caps video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, framerate=(fraction)30/1, batch-size=(int)4, num-surfaces-per-frame=(int)1, format=(string)I420
0:00:02.747983164 447 0x55a5e2dd15e0 WARN default v4l2-utils.c:189:gst_v4l2_error:<sink_sub_bin_encoder1> error: Device ‘/dev/nvhost-msenc’ failed during initialization
0:00:02.747989624 447 0x55a5e2dd15e0 WARN default v4l2-utils.c:192:gst_v4l2_error:<sink_sub_bin_encoder1> error: Call to S_FMT failed for YM12 @ 1280x720: Unknown error -1
0:00:02.748010041 447 0x55a5e2dd15e0 WARN videoencoder gstvideoencoder.c:678:gst_video_encoder_setcaps:<sink_sub_bin_encoder1> rejected caps video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, framerate=(fraction)30/1, batch-size=(int)4, num-surfaces-per-frame=(int)1, format=(string)I420
0:00:02.748084634 447 0x55a5e2dd15e0 WARN default v4l2-utils.c:189:gst_v4l2_error:<sink_sub_bin_encoder1> error: Device ‘/dev/nvhost-msenc’ failed during initialization
0:00:02.748089934 447 0x55a5e2dd15e0 WARN default v4l2-utils.c:192:gst_v4l2_error:<sink_sub_bin_encoder1> error: Call to S_FMT failed for YM12 @ 1280x720: Unknown error -1
0:00:02.748110604 447 0x55a5e2dd15e0 WARN videoencoder gstvideoencoder.c:678:gst_video_encoder_setcaps:<sink_sub_bin_encoder1> rejected caps video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, framerate=(fraction)30/1, batch-size=(int)4, num-surfaces-per-frame=(int)1, format=(string)I420
0:00:02.761111343 447 0x55a5e2c2c850 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.761125054 447 0x55a5e2c2c850 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.761141649 447 0x55a5e2c2c850 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.761146620 447 0x55a5e2c2c850 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.761164379 447 0x55a5e2c2c850 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.761168900 447 0x55a5e2c2c850 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.761181848 447 0x55a5e2c2c850 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.761186372 447 0x55a5e2c2c850 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.761202294 447 0x55a5e2c2c850 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.761206926 447 0x55a5e2c2c850 ERROR v4l2 gstv4l2object.c:2072:gst_v4l2_object_get_interlace_mode: Driver bug detected - check driver with v4l2-compliance from v4l-utils.git - media (V4L2, DVB and IR) applications and libraries

0:00:02.761623516 447 0x55a5e2c2c850 WARN v4l2videodec gstv4l2videodec.c:1433:gst_v4l2_video_dec_decide_allocation: Duration invalid, not setting latency
0:00:02.761794377 447 0x55a5e2c2c850 WARN v4l2bufferpool gstv4l2bufferpool.c:1054:gst_v4l2_buffer_pool_start:nvv4l2decoder3:pool:src Uncertain or not enough buffers, enabling copy threshold
0:00:02.803814987 447 0x7f241c0032d0 WARN v4l2bufferpool gstv4l2bufferpool.c:1518:gst_v4l2_buffer_pool_dqbuf:nvv4l2decoder0:pool:src Driver should never set v4l2_buffer.field to ANY
0:00:02.805047569 447 0x7f2430001990 WARN v4l2bufferpool gstv4l2bufferpool.c:1518:gst_v4l2_buffer_pool_dqbuf:nvv4l2decoder1:pool:src Driver should never set v4l2_buffer.field to ANY
0:00:02.806510284 447 0x7f24080039e0 WARN v4l2bufferpool gstv4l2bufferpool.c:1518:gst_v4l2_buffer_pool_dqbuf:nvv4l2decoder2:pool:src Driver should never set v4l2_buffer.field to ANY
0:00:02.808747539 447 0x7f2420002720 WARN v4l2bufferpool gstv4l2bufferpool.c:1518:gst_v4l2_buffer_pool_dqbuf:nvv4l2decoder3:pool:src Driver should never set v4l2_buffer.field to ANY
ERROR from sink_sub_bin_encoder1: Device ‘/dev/nvhost-msenc’ failed during initialization
Debug info: gstv4l2object.c(4050): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:sink_bin/GstBin:sink_sub_bin1/nvv4l2h264enc:sink_sub_bin_encoder1:
Call to S_FMT failed for YM12 @ 1280x720: Unknown error -1
ERROR from sink_sub_bin_encoder1: Device ‘/dev/nvhost-msenc’ failed during initialization
Debug info: gstv4l2object.c(4050): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:sink_bin/GstBin:sink_sub_bin1/nvv4l2h264enc:sink_sub_bin_encoder1:
Call to S_FMT failed for YM12 @ 1280x720: Unknown error -1
ERROR from sink_sub_bin_encoder1: Device ‘/dev/nvhost-msenc’ failed during initialization
Debug info: gstv4l2object.c(4050): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:sink_bin/GstBin:sink_sub_bin1/nvv4l2h264enc:sink_sub_bin_encoder1:
Call to S_FMT failed for YM12 @ 1280x720: Unknown error -1
0:00:02.900166265 447 0x7f2430001990 WARN videodecoder gstvideodecoder.c:2780:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:00.266666666 < 0:00:00.400000000)
0:00:02.904847333 447 0x7f2420002720 WARN videodecoder gstvideodecoder.c:2780:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:00.266666666 < 0:00:00.400000000)
0:00:02.909200859 447 0x7f24080039e0 WARN videodecoder gstvideodecoder.c:2780:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:00.266666666 < 0:00:00.400000000)
0:00:02.913544616 447 0x7f241c0032d0 WARN videodecoder gstvideodecoder.c:2780:gst_video_decoder_prepare_finish_frame: decreasing timestamp (0:00:00.266666666 < 0:00:00.400000000)
App run failed

Are you sure that you havent left the EGL sink option enabled when you ran this ? Because the error message says - “X11 connection rejected because of wrong authentication.”

Please disable all other sink blocks and leave just the RTSP sink enabled.

Hi,

It finally ran after I pulled a different container (deepstream:4.0.1-19.09-devel). I enabled the RTSP as you had suggested. But I’m still unable to view the GUI. Am I supposed to set anything else?

Below is the output,

deepstream-app -c source30_1080p_dec_infer-resnet_tiled_display_int8.txt

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8554/ds-test ***

Creating LL OSD context new
0:00:00.910840667 19 0x55e5cdb96630 WARN nvinfer gstnvinfer.cpp:515:gst_nvinfer_logger:<primary_gie_classifier> NvDsInferContext[UID 1]:useEngineFile(): Failed to read from model engine file
0:00:00.910877953 19 0x55e5cdb96630 INFO nvinfer gstnvinfer.cpp:519:gst_nvinfer_logger:<primary_gie_classifier> NvDsInferContext[UID 1]:initialize(): Trying to create engine from model files
0:00:11.577739030 19 0x55e5cdb96630 INFO nvinfer gstnvinfer.cpp:519:gst_nvinfer_logger:<primary_gie_classifier> NvDsInferContext[UID 1]:generateTRTModel(): Storing the serialized cuda engine to file at /root/deepstream_sdk_v4.0.1_x86_64/samples/models/Primary_Detector/resnet10.caffemodel_b30_int8.engine

Runtime commands:
h: Print this help
q: Quit

    p: Pause
    r: Resume

NOTE: To expand a source in the 2D tiled display and view object details, left-click on the source.
To go back to the tiled display, right-click anywhere on the window.

**PERF: FPS 0 (Avg) FPS 1 (Avg) FPS 2 (Avg) FPS 3 (Avg) FPS 4 (Avg) FPS 5 (Avg) FPS 6 (Avg) FPS 7 (Avg) FPS 8 (Avg) FPS 9 (Avg) FPS 10 (Avg) FPS 11 (Avg) FPS 12 (Avg) FPS 13 (Avg) FPS 14 (Avg) FPS 15 (Avg) FPS 16 (Avg) FPS 17 (Avg) FPS 18 (Avg) FPS 19 (Avg) FPS 20 (Avg) FPS 21 (Avg) FPS 22 (Avg) FPS 23 (Avg) FPS 24 (Avg)FPS 25 (Avg) FPS 26 (Avg) FPS 27 (Avg) FPS 28 (Avg) FPS 29 (Avg)
**PERF: 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00)
** INFO: <bus_callback:189>: Pipeline ready

Creating LL OSD context new
** INFO: <bus_callback:175>: Pipeline running

**PERF: 35.93 (35.93) 39.36 (39.36) 36.18 (36.18) 36.56 (36.56) 36.10 (36.10) 36.56 (36.56) 36.32 (36.32) 38.00 (38.00) 37.75 (37.75) 39.62 (39.62) 37.39 (37.39) 35.93 (35.93) 36.56 (36.56) 35.48 (35.48) 38.74 (38.74) 37.99 (37.99) 36.11 (36.11) 38.50 (38.50) 37.90 (37.90) 38.49 (38.49) 36.08 (36.08) 39.36 (39.36) 39.11 (39.11) 38.14 (38.14) 37.62 (37.62) 37.66 (37.66) 36.56 (36.56) 39.62 (39.62) 36.56 (36.56) 39.62 (39.62)
**PERF: 39.50 (37.81) 38.90 (39.10) 39.10 (37.72) 39.50 (38.12) 37.89 (37.05) 39.30 (38.01) 39.30 (37.90) 39.50 (38.81) 39.30 (38.59) 39.10 (39.32) 39.50 (38.52) 39.50 (37.81) 38.69 (37.69) 39.10 (37.38) 39.50 (39.16) 39.50 (38.80) 39.50 (37.91) 39.50 (39.05) 39.50 (38.77) 39.10 (38.82) 39.10 (37.70) 39.10 (39.21) 39.30 (39.21) 39.30 (38.77) 39.10 (38.42) 39.50 (38.66) 39.30 (38.01) 38.90 (39.21) 39.30 (38.01) 39.30 (39.44)
**PERF: 38.18 (37.94) 38.98 (39.06) 38.38 (37.95) 38.98 (38.42) 38.98 (37.72) 38.78 (38.28) 37.98 (37.93) 38.98 (38.87) 38.98 (38.73) 38.98 (39.20) 38.98 (38.68) 38.38 (38.01) 38.98 (38.14) 38.78 (37.87) 38.78 (39.02) 37.98 (38.52) 38.98 (38.28) 38.98 (39.02) 38.98 (38.85) 38.18 (38.59) 38.98 (38.14) 38.98 (39.13) 38.98 (39.13) 38.98 (38.85) 38.58 (38.47) 38.18 (38.49) 38.98 (38.35) 38.58 (38.99) 38.78 (38.28) 38.58 (39.13)
**PERF: 39.64 (38.37) 39.64 (39.21) 39.23 (38.28) 39.84 (38.78) 39.84 (38.26) 39.84 (38.68) 39.84 (38.42) 39.84 (39.12) 39.64 (38.96) 39.84 (39.37) 39.84 (38.98) 39.84 (38.48) 38.83 (38.32) 39.84 (38.37) 39.64 (39.18) 39.64 (38.81) 39.84 (38.68) 39.64 (39.18) 39.84 (39.10) 39.84 (38.92) 39.84 (38.58) 39.84 (39.32) 39.84 (39.32) 39.84 (39.10) 39.43 (38.72) 39.84 (38.84) 39.64 (38.68) 39.03 (39.00) 39.84 (38.68) 39.84 (39.32)
**PERF: 39.95 (38.69) 39.55 (39.28) 39.95 (38.62) 39.95 (39.02) 39.95 (38.61) 39.15 (38.78) 39.75 (38.69) 39.95 (39.29) 39.75 (39.12) 39.95 (39.49) 39.95 (39.18) 39.35 (38.65) 39.95 (38.65) 39.95 (38.69) 39.95 (39.34) 39.95 (39.04) 39.95 (38.94) 39.35 (39.22) 39.75 (39.24) 39.15 (38.97) 39.15 (38.70) 39.95 (39.45) 39.95 (39.45) 39.75 (39.24) 39.15 (38.81) 39.55 (38.99) 39.95 (38.94) 39.95 (39.20) 39.95 (38.94) 39.95 (39.45)
**PERF: 38.82 (38.72) 39.22 (39.27) 39.02 (38.69) 38.82 (38.99) 38.82 (38.64) 39.22 (38.85) 39.22 (38.78) 39.02 (39.25) 39.22 (39.14) 37.42 (39.13) 38.62 (39.09) 39.02 (38.72) 39.22 (38.75) 39.22 (38.78) 39.22 (39.32) 38.42 (38.94) 39.02 (38.95) 38.82 (39.15) 39.22 (39.23) 39.22 (39.01) 39.02 (38.75) 39.02 (39.37) 39.22 (39.41) 39.02 (39.20) 39.22 (38.88) 39.22 (39.03) 39.02 (38.95) 39.02 (39.17) 39.02 (38.95) 39.22 (39.41)
**PERF: 37.05 (38.47) 38.45 (39.15) 38.45 (38.65) 38.05 (38.85) 38.25 (38.59) 38.45 (38.79) 37.85 (38.64) 38.05 (39.07) 37.65 (38.92) 38.45 (39.03) 38.45 (38.99) 38.25 (38.65) 38.25 (38.68) 38.25 (38.71) 38.45 (39.19) 38.25 (38.84) 38.45 (38.88) 38.05 (38.99) 38.45 (39.12) 38.25 (38.90) 38.45 (38.71) 38.25 (39.21) 38.45 (39.27) 38.05 (39.03) 38.45 (38.82) 38.45 (38.94) 38.25 (38.85) 38.25 (39.03) 38.45 (38.88) 38.25 (39.24)
** INFO: <bus_callback:212>: Received EOS. Exiting …

Quitting
App run successful

Segment from the config:

[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI 4=RTSP
type=3
uri=file://…/…/streams/sample_1080p_h264.mp4
num-sources=15
#drop-frame-interval=2
gpu-id=0

(0): memtype_device - Memory type Device

(1): memtype_pinned - Memory type Host Pinned

(2): memtype_unified - Memory type Unified

cudadec-memtype=0

[source1]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI 4=RTSP
type=3
uri=file://…/…/streams/sample_1080p_h264.mp4
num-sources=15
gpu-id=0

(0): memtype_device - Memory type Device

(1): memtype_pinned - Memory type Host Pinned

(2): memtype_unified - Memory type Unified

cudadec-memtype=0

[sink0]
enable=0
#Type - 1=FakeSink 2=EglSink 3=File
type=2
sync=1
source-id=0
gpu-id=0
nvbuf-memory-type=0

[sink1]
enable=0
type=3
#1=mp4 2=mkv
container=1
#1=h264 2=h265
codec=1
sync=0
#iframeinterval=10
bitrate=2000000
output-file=out.mp4
source-id=0

[sink2]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=4
#1=h264 2=h265
codec=1
sync=0
bitrate=4000000

set below properties in case of RTSPStreaming

rtsp-port=8554
udp-port=5400

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8554/ds-test ***

Your RTSP stream is available here. You can use media players like VLC to view the stream.

Thank you, selecting type=4 worked