Avfvideosource framerate issue.

Sebastian Dröge sebastian at centricular.com
Fri Dec 13 10:58:48 PST 2013


On Sa, 2013-12-07 at 14:58 +0100, elio francesconi wrote:
> Hi all, I noticed avfvideosource set the framerate to 30 frame per
> sec. I'm using avfvideosource on ios devices and the resulting video
> is too delayed I need to use a lower framerate so to reduce cpu
> effort. Is it customizable?

According to the code it should by default use 25fps. But yes,
avfvideosrc queries the hardware at startup to see what it can do. You
can then query the allowed framerates with a CAPS query on the srcpad of
the source, and could select a different framerate with a capsfilter
after the source.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131213/8ba9a377/attachment.pgp>


More information about the gstreamer-devel mailing list