Using external video feed for Path Perception example

Using Linux Host with NVIDIA RTX 2070 GPU. I can run the Path perception sample application without issues when it processed the sample video (video_path.h264).

When trying to feed a captured video matching the same video resolution (1920x1208) the application can’t process the video and shows that camera reached end of stream.

Any tips to debug this issue further?

Original Video

New Video

Hi @jpvans,

Please try with sample_camera_replay. If it also doesn’t work, please attach your .h264 file for our check. Thanks!

./sample_camera_replay --video=/path/to/file.h264

@VickNV

I need to re-encode in raw h264. I used:
ffmpeg -i input.mp4 -an -vcodec libx264 -crf 22 output.h264

I tried your command line for converting a video and still can replay it with sample_camera_replay. FYI.

$ ffmpeg -i /usr/local/driveworks/data/samples/waitcondition/video_B0_FC_60.mp4 -an -vcodec libx264 -crf 22 ~/Downloads/output.h264
$ ./sample_camera_replay --video=$HOME/Downloads/output.h264