I’m working with this script with the OV5640 on the 4.14 kernel that accepts H Resolution, V Resolution, and framerate as args $1, $2, $3 in this script: https://gist.github.com/RobGries/6518cd9272a19ef8925a271b5bba7721
Usage: ./capture.sh 1280 720 15
Captures a JPEG at 720P from a stream running at 15 fps
The script seems to work fine with 1280x720 (15/30 fps) and 1920x1080 (15 fps), however any other resolution fails and I get an SOF error when stopping gstreamer.
SOF errors on every other resolution:
[ 2690.333039] qcom-camss 1b0ac00.camss: VFE sof timeout
[ 2690.845283] qcom-camss 1b0ac00.camss: VFE reg update timeout
Another observation, is that it appears that the driver registers a whole host of other resolutions other than 1080 and 720, but none seem to work. Is there a different media-ctl pipeline to use with other resolutions?
So far the following resolutions result in the error above:
176x144, 640x480, 720x480, 720x576, 1024x768, and 2592x1944