camerabin: can application get and set camera native supported caps
Kevin Song
kevinbing.song at gmail.com
Mon Jan 5 21:35:58 PST 2015
Hi,
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.
Do need add get camera native caps in camerabin and wrappercamerabin? Do
need add capsfilter to set native camera resolution?
0:00:01.979042667 2630 0x165ad00 DEBUG recorder-engine
/nfsroot/songbing/yocto/build-x11/tmp/work/imx6allref-poky-linux-gnueabi/gst1
.0-fsl-plugin/git-r0/git/tools/grecorder/recorder_engine.c:1279:get_camera_capabilities:
viewfinder-supported-caps: video/x-raw, format=(stri
ng){ I420, NV12, YUY2, UYVY }, width=(int)640, height=(int)480,
framerate=(fraction){ 30/1, 15/1 }; video/x-raw, format=(string){ I420,
NV12,
YUY2, UYVY }, width=(int)320, height=(int)240, framerate=(fraction){ 30/1,
15/1 }; video/x-raw, format=(string){ I420, NV12, YUY2, UYVY }, w
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
eight=(int)576, framerate=(fraction){ 30/1, 15/1 }; video/x-raw,
format=(string){ I420, NV12, YUY2, UYVY }, width=(int)1280, height=(int)720,
framerate=(fraction){ 30/1, 15/1 }; video/x-raw, format=(string){ I420,
NV12, YUY2, UYVY }, width=(int)1920, height=(int)1080, framerate=(fr
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
, format=(string){ I420, NV12, YUY2, UYVY }, width=(int)176,
height=(int)144, framerate=(fraction){ 30/1, 15/1 }; video/x-raw,
format=(string
){ 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
80, framerate=(fraction){ 30/1, 15/1 }, format=(string){ I420, YV12, YUY2,
UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, B
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 }
, format=(string){ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR,
RGBA, BGRA, ARGB, ABGR, RGB, BGR, YVYU, NV12, GRAY8, GRAY16_BE, GRAY
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
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
dth=(int)720, height=(int)576, framerate=(fraction){ 30/1, 15/1 },
format=(string){ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGB
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
ate=(fraction){ 30/1, 15/1 }, format=(string){ I420, YV12, YUY2, UYVY,
AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, YVYU,
NV12, GRAY8, GRAY16_BE, GRAY16_LE, RGB16, RGB15 }; video/x-raw,
width=(int)1920, height=(int)1080, framerate=(fraction)15/1,
format=(string){
I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB,
ABGR, RGB, BGR, YVYU, NV12, GRAY8, GRAY16_BE, GRAY16_LE, RGB16, RGB1
5 }; video/x-raw, width=(int)2592, height=(int)1944,
framerate=(fraction)15/1, format=(string){ I420, YV12, YUY2, UYVY, AYUV,
RGBx, BGRx, xRG
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)
144, framerate=(fraction){ 30/1, 15/1 }, format=(string){ I420, YV12, YUY2,
UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB,
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
}, format=(string){ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR,
RGBA, BGRA, ARGB, ABGR, RGB, BGR, YVYU, NV12, GRAY8, GRAY16_BE, GR
AY16_LE, RGB16, RGB15 }; video/x-raw, format=(string){ I420, NV12, YUY2,
UYVY }, width=(int)[ 1, 32767 ], height=(int)[ 1, 32767 ], framerate
=(fraction){ 30/1, 15/1 }; video/x-raw, width=(int)[ 1, 32767 ],
height=(int)[ 1, 32767 ], framerate=(fraction){ 30/1, 15/1 }, format=(string
){ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB,
ABGR, RGB, BGR, YVYU, NV12, GRAY8, GRAY16_BE, GRAY16_LE, RGB16, RG
B15 }
Regards,
Song Bing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150106/35727dc2/attachment.html>
More information about the gstreamer-devel
mailing list