We are trying to process video sequences in mp4 format using DeepStream SDK on Jetson Xavier. DSK is telling us to convert to a YUV colorspace. We’ve tried to convert using ffmpeg by using the following.
ffmpeg -i input.mp4 -f rawvideo -vcodec rawvideo -pix_fmt yuv420p -s 1920x1080 -r 25 rawvideo.yuv
The problem is the YUV file output is 100 times larger in MB than the original input. What is the command line to convert input.mp4 to yuv without using a raw video codec?