Run DS sample 2 and 1 with usb camera

Hi all,

I am having difficulty modifying the test-app2 pipeline to make it capable of taking in input a video stream coming from a USB camera. Which plugins should I add / change to make this possible?


deepstream-app support USB camera input, can it meet your requirements?
deepstream-app -c /path to config, source1_usb_dec_infer_resnet_int8.txt/

sample apps 1 and 2 were not born with the functionality of taking a live streaming video as input. They were designed for a .H264 file, my question was if it is possible to adapt these programs to accept as input a live video from a usb camera

Yes, it’s possible, you need to make some changes, refer to code,

1 Like