Hi,
I tried to save the video 1080P from USB IMX307 camera on Jetson Nano L4T R32.4.2. The command I used is:
gst-launch-1.0 -e -v v4l2src device=/dev/video1 io-mode=2 do-timestamp=true ! image/jpeg, width=1920, height=1080, framerate=30/1 ! jpegparse ! nvjpegdec ! 'video/x-raw(memory:NVMM)' ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420,width=1920,height=1080" ! nvvidconv ! 'video/x-raw(memory:NVMM),format=NV12' ! omxh264enc bitrate=8000000 ! h264parse ! qtmux ! filesink location=video_1080p.mkv
The video is saved successfully but when playing the video file, it shows video with slow motion like dropped frame to 1-2FPS although the video file info shows 1920x1080@30FPS.
When I tried to set the save file to 720P like in below code, the video play back is normal, no drop frame problem.
gst-launch-1.0 -e -v v4l2src device=/dev/video1 io-mode=2 do-timestamp=true ! image/jpeg, width=1920, height=1080, framerate=30/1 ! jpegparse ! nvjpegdec ! 'video/x-raw(memory:NVMM)' ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420,width=1280,height=720" ! nvvidconv ! 'video/x-raw(memory:NVMM),format=NV12' ! omxh264enc bitrate=8000000 ! h264parse ! qtmux ! filesink location=video_720p.mkv
Can Veye double check the codes for 1080P above and provide any solution to this case?