<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 01/06/2015 02:35 AM, Kevin Song
wrote:<br>
</div>
<blockquote
cite="mid:CAKtaqZ-iFGOUWvVAVTa7Rs8V_tX7e=o=wnOimiG9Vg1RWhijig@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,<br>
<br>
As camera support several resolutions, application want get and
set camera native supported resolution to get better
performance. As wappercamerabinsrc add videoconvert and
videoscale in the bin. The viewfinder-supported-caps caps got
from camerabin will be below.<br>
<br>
Do need add get camera native caps in camerabin and
wrappercamerabin? Do need add capsfilter to set native camera
resolution?<br>
</div>
</blockquote>
<br>
What do you get from the image-capture-supported-caps and for the
video one? Do they have the natively supported formats first in the
caps just like the viewfinder one below? Is it enough for your use
case to have them in the order of preference (native first,
converted last) or would you want to have only native?<br>
<br>
It should be possible to add a property to wrappercamerabinsrc to
get the native supported caps. Patches welcome.<br>
<br>
<blockquote
cite="mid:CAKtaqZ-iFGOUWvVAVTa7Rs8V_tX7e=o=wnOimiG9Vg1RWhijig@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
0:00:01.979042667 2630 0x165ad00 DEBUG recorder-engine
/nfsroot/songbing/yocto/build-x11/tmp/work/imx6allref-poky-linux-gnueabi/gst1<br>
.0-fsl-plugin/git-r0/git/tools/grecorder/recorder_engine.c:1279:get_camera_capabilities:
viewfinder-supported-caps: video/x-raw, format=(stri<br>
ng){ I420, NV12, YUY2, UYVY }, width=(int)640, height=(int)480,
framerate=(fraction){ 30/1, 15/1 }; video/x-raw,
format=(string){ I420, NV12,<br>
YUY2, UYVY }, width=(int)320, height=(int)240,
framerate=(fraction){ 30/1, 15/1 }; video/x-raw,
format=(string){ I420, NV12, YUY2, UYVY }, w<br>
idth=(int)720, height=(int)480, framerate=(fraction){ 30/1, 15/1
}; video/x-raw, format=(string){ I420, NV12, YUY2, UYVY },
width=(int)720, h<br>
eight=(int)576, framerate=(fraction){ 30/1, 15/1 }; video/x-raw,
format=(string){ I420, NV12, YUY2, UYVY }, width=(int)1280,
height=(int)720,<br>
framerate=(fraction){ 30/1, 15/1 }; video/x-raw,
format=(string){ I420, NV12, YUY2, UYVY }, width=(int)1920,
height=(int)1080, framerate=(fr<br>
action)15/1; video/x-raw, format=(string){ I420, NV12, YUY2,
UYVY }, width=(int)2592, height=(int)1944,
framerate=(fraction)15/1; video/x-raw<br>
, format=(string){ I420, NV12, YUY2, UYVY }, width=(int)176,
height=(int)144, framerate=(fraction){ 30/1, 15/1 };
video/x-raw, format=(string<br>
){ I420, NV12, YUY2, UYVY }, width=(int)1024, height=(int)768,
framerate=(fraction){ 30/1, 15/1 }; video/x-raw, width=(int)640,
height=(int)4<br>
80, framerate=(fraction){ 30/1, 15/1 }, format=(string){ I420,
YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA,
ARGB, ABGR, RGB, B<br>
GR, YVYU, NV12, GRAY8, GRAY16_BE, GRAY16_LE, RGB16, RGB15 };
video/x-raw, width=(int)320, height=(int)240,
framerate=(fraction){ 30/1, 15/1 }<br>
, format=(string){ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx,
xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, YVYU, NV12, GRAY8,
GRAY16_BE, GRAY<br>
16_LE, RGB16, RGB15 }; video/x-raw, width=(int)720,
height=(int)480, framerate=(fraction){ 30/1, 15/1 },
format=(string){ I420, YV12, YUY2, U<br>
YVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB,
BGR, YVYU, NV12, GRAY8, GRAY16_BE, GRAY16_LE, RGB16, RGB15 };
video/x-raw, wi<br>
dth=(int)720, height=(int)576, framerate=(fraction){ 30/1, 15/1
}, format=(string){ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx,
xRGB, xBGR, RGB<br>
A, BGRA, ARGB, ABGR, RGB, BGR, YVYU, NV12, GRAY8, GRAY16_BE,
GRAY16_LE, RGB16, RGB15 }; video/x-raw, width=(int)1280,
height=(int)720, framer<br>
ate=(fraction){ 30/1, 15/1 }, format=(string){ I420, YV12, YUY2,
UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB,
BGR, YVYU, <br>
NV12, GRAY8, GRAY16_BE, GRAY16_LE, RGB16, RGB15 }; video/x-raw,
width=(int)1920, height=(int)1080, framerate=(fraction)15/1,
format=(string){<br>
I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA,
BGRA, ARGB, ABGR, RGB, BGR, YVYU, NV12, GRAY8, GRAY16_BE,
GRAY16_LE, RGB16, RGB1<br>
5 }; video/x-raw, width=(int)2592, height=(int)1944,
framerate=(fraction)15/1, format=(string){ I420, YV12, YUY2,
UYVY, AYUV, RGBx, BGRx, xRG<br>
B, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, YVYU, NV12, GRAY8,
GRAY16_BE, GRAY16_LE, RGB16, RGB15 }; video/x-raw,
width=(int)176, height=(int)<br>
144, framerate=(fraction){ 30/1, 15/1 }, format=(string){ I420,
YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA,
ARGB, ABGR, RGB, <br>
BGR, YVYU, NV12, GRAY8, GRAY16_BE, GRAY16_LE, RGB16, RGB15 };
video/x-raw, width=(int)1024, height=(int)768,
framerate=(fraction){ 30/1, 15/1<br>
}, format=(string){ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx,
xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, YVYU, NV12, GRAY8,
GRAY16_BE, GR<br>
AY16_LE, RGB16, RGB15 }; video/x-raw, format=(string){ I420,
NV12, YUY2, UYVY }, width=(int)[ 1, 32767 ], height=(int)[ 1,
32767 ], framerate<br>
=(fraction){ 30/1, 15/1 }; video/x-raw, width=(int)[ 1, 32767 ],
height=(int)[ 1, 32767 ], framerate=(fraction){ 30/1, 15/1 },
format=(string<br>
){ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA,
BGRA, ARGB, ABGR, RGB, BGR, YVYU, NV12, GRAY8, GRAY16_BE,
GRAY16_LE, RGB16, RG<br>
B15 }<br>
<br>
<br>
Regards,<br>
Song Bing.<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Thiago Sousa Santos
Senior Multimedia Engineer, Open Source Group
Samsung Research America - Silicon Valley</pre>
</body>
</html>