iOS avfvideosrc resolution

Eddie Kämpe eddiek at
Tue Oct 27 02:43:18 PDT 2015


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

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

More information about the gstreamer-devel mailing list