I am attempting to capture 4K video in UYVY colorspace using the following gstreamer pipeline:
gst-launch-1.0 v4l2src device=/dev/video2 io-mode=dmabuf ! video/x-raw, width=3840, height=2160, framerate=30/1, format=UYVY ! tiovxcolorconvert ! v4l2h264enc ! filesink location=./cap.264
When I do this, I get about 11 frames per second. If I capture in 1080p,
gst-launch-1.0 v4l2src device=/dev/video2 io-mode=dmabuf ! video/x-raw, width=1920, height=1080, framerate=60/1, format=UYVY ! tiovxcolorconvert ! v4l2h264enc ! filesink location=./cap.264
data is captured and encoded properly.
Do you have any suggestions for speeding up the 4k pipeline?