I’m new to Jetson TX2 but im familiar with deep learning and I wanted to know if I am doing things the correct way.
I ran the sample for detecting cars in the video. I assume that training was done and everytime i loaded it, it was using cached data (weights/model etc) and would re run the demo quicker.
I assumed that now i could just swap the video file and see if it could detect cars in a different scene. I downloaded a CCTV footage video off the internet, saved it to 10fps, 1080p and mp4 using the h264 codec usign Adobe Premiere and I tried loading the video. However it gives me an error that it could not find some nal or EOF
Could anyone please help me with what codec etc i have to use? I create my content on a windows PC using adobe premiere. Here is my log, sample.mp4 is my new video i downloaded and saved. Thanks!
./backend 1 …/…/data/Video/sample.mp4 H264 --trt-deployfile …/…/data/Model/GoogleNet_one_class/GoogleNet_modified_oneClass_halfHD.prototxt --trt-modelfile …/…/data/Model/GoogleNet_one_class/GoogleNet_modified_oneClass_halfHD.caffemodel --trt-forcefp32 0 --trt-proc-interval 1 -fps 10
Net has batch_size, channel, net_height, net_width:1 3 540 960
Using cached TRT model
outputDim c 1 w 240 h 132
outputDimsBBOX.c() 4 w 240 h 132
Failed to query video capabilities: Inappropriate ioctl for device
NvMMLiteOpen : Block : BlockType = 261
TVMR: NvMMLiteTVMRDecBlockOpen: 7647: NvMMLiteBlockOpen
NvMMLiteBlockCreate : Block : BlockType = 261
Failed to query video capabilities: Inappropriate ioctl for device
Failed to query video capabilities: Inappropriate ioctl for device
Starting decoder capture loop thread
Could not read nal unit from file. EOF or file corrupted
Could not read nal unit from file. EOF or file corrupted
Input file read complete
TVMR: NvMMLiteTVMRDecDoWork: 6531: NVMMLITE_TVMR: EOS detected
TVMR: TVMRBufferProcessing: 5486: Processing of EOS
TVMR: TVMRBufferProcessing: 5563: Processing of EOS Done
Segmentation fault (core dumped)