iOS avfvideosrc resolution

Eddie Kämpe eddiek at
Fri Oct 30 06:07:51 PDT 2015

Thank you for your input Chuck, I will have a look if the logging can reveal the allowed resolutions.

From: gstreamer-devel <gstreamer-devel-bounces at> on behalf of Chuck Crisler <ccrisler at>
Sent: Tuesday, October 27, 2015 2:31 PM
To: Discussion of the development of and with GStreamer
Subject: Re: iOS avfvideosrc resolution

It could be either your camera, the camera interface or possibly the GStreamer element. If you turn on logging (I don't know how on iOS) the element should display the supported resolutions.

On Tue, Oct 27, 2015 at 5:43 AM, Eddie Kämpe <eddiek at<mailto:eddiek at>> wrote:


I'm playing around with the SDK for iOS. I use avfvideosrc to capture the camera of my phone and output it with glimagesink. My pipeline looks like this

"avfvideosrc ! video/x-raw,width=640,height=480,framerate=30/1 ! videoflip method=clockwise ! glimagesink"

So far so good, it works as expected. I would however, like to request the resolution 640*360, but this fails. I have found that 1920*1080, 1280*720, 640*480, 480*360, 352*288, 192*144 works. I'm confused because these have different aspect ratio (16/9 and 4/3). What limits/determines which resolutions that can be used?

Thanks in advance


gstreamer-devel mailing list
gstreamer-devel at<mailto:gstreamer-devel at>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list