how can i use trt-yolo-app to deal with video and camera

trt-yolo-app deal with image is very well, i want to use it to deal with video and camera,how can i do it? is there any example code for this function? please help me!

duplicate to topic 1057124:
https://devtalk.nvidia.com/default/topic/1057124/jetson-nano/how-can-i-use-trt-yolo-app-to-deal-with-video-and-camera/