<div dir="ltr">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.<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 27, 2015 at 5:43 AM, Eddie Kämpe <span dir="ltr"><<a href="mailto:eddiek@kth.se" target="_blank">eddiek@kth.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi,<br>
</p>
<p><br>
</p>
<p>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 l<span style="font-size:12pt">ooks like this </span></p>
<p><span style="font-size:12pt"><br>
</span></p>
<p><span style="font-size:12pt">"avfvideosrc ! video/x-raw,width=640,height=480,framerate=30/1 ! videoflip
</span><span style="font-size:12pt">method=clockwise ! glimagesink"</span></p>
<p><br>
</p>
<p>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). <span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)">What limits/determines which resolutions that can be used?</span><br>
</p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)"><br>
</span></p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)">Thanks in advance</span></p><span class="HOEnZb"><font color="#888888">
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)">/Eddie</span></p>
</font></span></div>

<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br>
</div></div></div>