I am new to gstreamer and trying to save a video to file from a Quad-Camera by Arducam. The current pipeline with gstreamer drops 90% of the frames.
gst-launch-1.0 -e v4l2src device=/dev/video0 do-timestamp=true ! video/x-bayer, framerate=30/1 ! bayer2rgb ! videoconvert ! timeoverlay ! x264enc pass=quant ! h264parse ! mp4mux ! filesink location=stream.mp4
The framerate of the actually camera is around 45fps.
v4l2-ctl --set-fmt-video=width=5120,height=800,pixelformat='RGGB' --stream-mmap --stream-count=-1 -d /dev/video0
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 44.55 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 44.50 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 44.51 fps
I am thankful for any tips.