I’m using one of my own trained models and running it through the included detectnet script. I am inputting my data from a video file and exporting the output to another video file using:
detectnet --model=<YOUR_MODEL> --labels=<YOUR_LABELS> --input=blob_0 --output-cvg=scores --threshold=0.1 --output-bboxe=boxes "VIDEO_FILE_INPUT.mp4" "VIDEO_FILE_OUT.mp4"
My issues is that the video file that get imported is 1280x1024, it then displays the output on the openGL window which is a resolution equal to the input. However, the saved video file looks terrible even though the properties show that its the same 1280x1024.
I was thinking that it was the output bit-rate however, I doubled the bitrate option and saw no difference. I cant seem to find anywhere else, even in the detectnet code that specifies the output resolution. I am thinking its somthing to do with the gstreamer pipeline as it compresses the video however thats a bit over my head.
Any help appreciated.