Hi, I’ve got DeepStream SDK V1.5 installed on a TX2. When I try to run the sample application with
$ nvgstiva-app -c ${HOME}/configs/PGIE-FP16-CarType-CarMake-CarColor.txt
it runs successfully, no problems. But when I try to run the sample application with custom video without the GUI with this command:
$ nvgstiva-app -c /home/nvidia/configs/PGIE-FP16-CarType-CarMake-CarColor.txt -i '/dev/video1'
I get the following error:
Error from source: Could not read from resource.
Debug info: gstfilesrc.c(400): gst_file_src_fill (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin0/GstURIDecodeBin:src_elem/GstFileSrc:source:
When I try to run the sample application with the GUI with this command:
$ nvgstiva-app-gui -c ${HOME}/configs/PGIE-FP16-CarType-CarMake-CarColor.txt -i '/dev/video1' -g ${HOME}/configs/gui_cfg.txt
I get the following error:
** ERROR: <main:1781>: Unknown option -i
Quitting
App run failed
To test the input video source, I tested GStreamer with:
$ gst-launch-1.0 v4l2src device="/dev/video1" ! "video/x-raw,width=640,height=480,format=I420" ! nvoverlaysink
and I had no problems, the video is displayed correctly.
The full outputs can be found here: nvgstiva-gui_output.txt - Google Drive
The system configuration for the TX2 is as follows:
Linux tegra-ubuntu 4.4.38-tegra #1
R28 (release), REVISION: 2.0, GCID: 10567845, BOARD: t186ref, EABI: aarch64