On Sat, 2017-03-18 at 12:58 -0700, Steve Longerbeam wrote:
On 03/18/2017 12:22 PM, Russell King - ARM Linux wrote:
quoted
Hi Steve,
I've just been trying to get gstreamer to capture and h264 encode
video from my camera at various frame rates, and what I've discovered
does not look good.
1) when setting frame rates, media-ctl _always_ calls
VIDIOC_SUBDEV_S_FRAME_INTERVAL with pad=0.
To allow setting pad > 0:
https://patchwork.linuxtv.org/patch/39348/
quoted
2) media-ctl never retrieves the frame interval information, so there's
no way to read it back with standard tools, and no indication that
this is going on...
I think Philipp Zabel submitted a patch which addresses these
in media-ctl. Check with him.
To read back and propagate the frame interval:
https://patchwork.linuxtv.org/patch/39349/
https://patchwork.linuxtv.org/patch/39351/
regards
Philipp
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html