This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM68: 4K UYVY capture/encode

Part Number: SK-AM68

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?