We are looking to record video with H264 format but we have the following command which is recording .ogv format only.
"gst-launch-1.0 -v v4l2src device=/dev/video3 ! videoconvert ! theoraenc ! queue ! filesink location=imx8-record.ogv"
Is there any H264 format for recording other than theora video format? We have to play the video in the IMX9QXP board.
if you need encode h264 video, you can use the below command to generate mp4 file
$ gst-launch-1.0 videotestsrc ! video/x-raw, format=NV12, width=640, height=480 ! v4l2h264enc ! \
filesink location=test.mp4