The gstreamer example for recording with the IMX577 camera in the user guide is not working:
gst-launch-1.0 -e qtiqmmfsrc camera=0 name=qmmf \
! video/x-h264,format=NV12,width=3840,height=2160,framerate=30/1 \
! h264parse \
! mp4mux \
! queue \
! filesink location=/data/4k30_h264.mp4
Error Message:
# gst-launch-1.0 -e qtiqmmfsrc camera=0 name=qmmf \> ! video/x-h264,format=NV12,width=3840,height=2160,framerate=30/1 \
> ! h264parse \
> ! mp4mux \
> ! queue \
> ! filesink location=/data/4k30_h264.mp4
gbm_create_device(192): Info: backend name is: msm_drm
WARNING: erroneous pipeline: could not link qmmf to h264parse0, qmmf can't handle caps video/x-h264, format=(string)NV12, width=(int)3840, height=(int)2160, framerate=(fraction)30/1
However, using video/x-raw allows camera video recording.
gst-launch-1.0 -e qtiqmmfsrc camera=0 name=qmmf \
! video/x-raw,format=NV12,width=3840,height=2160,framerate=30/1 \
! queue \
! qtic2venc \
! queue \
! h264parse \
! mp4mux \
! queue \
! filesink location="/data/4K_30FPS.mp4"
If anyone knows how to import in H264 format, please let me know.