iOS avfvideosrc resolution

Eddie Kämpe eddiek at kth.se
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 lists.freedesktop.org> on behalf of Chuck Crisler <ccrisler at mutualink.net>
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 kth.se<mailto:eddiek at kth.se>> wrote:

Hi,


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

/Eddie

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151030/302f512b/attachment-0001.html>


More information about the gstreamer-devel mailing list