<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Thank you for your input Chuck, <span style="font-size: 12pt;">I will have a look if the logging can reveal the allowed resolutions.</span></p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> gstreamer-devel <gstreamer-devel-bounces@lists.freedesktop.org> on behalf of Chuck Crisler <ccrisler@mutualink.net><br>
<b>Sent:</b> Tuesday, October 27, 2015 2:31 PM<br>
<b>To:</b> Discussion of the development of and with GStreamer<br>
<b>Subject:</b> Re: iOS avfvideosrc resolution</font>
<div> </div>
</div>
<div>
<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>
</div>
</div>
</body>
</html>