Hello,
I’m trying to set up a GStreamer pipeline for OpenCV VideoWriter
object to accept frames in 1440p.
Camera with IMX 477 sensor captures frames in 2560 x 1440 resolution and
I need to write a CV8UC3
BGR
frames of 2560 x 1440 px to file. Everything worked fine on 1920 x 1080 with following pipeline:
"appsrc ! video/x-raw, format=BGR ! queue ! videoconvert ! video/x-raw,format=RGBA ! nvvidconv ! nvv4l2h264enc ! h264parse ! qtmux ! filesink location="
Approximately 7 different GStreamer pipelines were tested, but none
of them succeeded.
"appsrc ! video/x-raw, format=BGR ! queue ! videoconvert ! video/x-raw, width=2560, height=1440, format=RGBA ! nvvidconv ! nvv4l2h264enc ! h264parse ! qtmux ! filesink location="
"appsrc ! video/x-raw, format=BGR ! queue ! videoconvert ! 'video/x-raw, width=2560, height=1440, format=RGBA' ! nvvidconv ! nvv4l2h264enc ! h264parse ! qtmux ! filesink location="
"appsrc ! video/x-raw, format=BGR ! queue ! videoconvert ! 'video/x-raw(memory:NVMM), width=2560, height=1440, format=RGBA' ! nvvidconv ! nvv4l2h264enc ! h264parse ! qtmux ! filesink location="
"appsrc ! video/x-raw, format=BGR ! queue ! videoconvert ! video/x-raw,format=BGRx ! nvvidconv ! nvv4l2h264enc ! h264parse ! matroskamux ! filesink location="
"appsrc ! queue ! videoconvert ! video/x-raw(memory:NVMM), width=2560, height=1440, format=BGR ! nvvidconv ! nvv4l2h264enc ! h264parse ! qtmux ! filesink location="
"appsrc ! video/x-raw, width=2560, height=1440, format=BGR ! queue ! videoconvert ! video/x-raw(memory:NVMM), width=2560, height=1440, format=BGRx ! nvvidconv ! nvv4l2h264enc ! h264parse ! qtmux ! filesink location="
Could anyone, please, provide a full working pipeline example for this case?