Difference between revisions of "Pixel formats"

From MyLabWiki
Jump to: navigation, search
Line 4: Line 4:
 
! style="background:#D9E5E5;" | Camera
 
! style="background:#D9E5E5;" | Camera
 
! style="background:#D9E5E5;" | Fourcc
 
! style="background:#D9E5E5;" | Fourcc
 +
! style="background:#D9E5E5;" | Type
 
! style="background:#D9E5E5;" | Gstreamer caps
 
! style="background:#D9E5E5;" | Gstreamer caps
 
|-
 
|-
 
| YUYV
 
| YUYV
 
| [http://fourcc.org/yuv.php#YUY2 YUY2]
 
| [http://fourcc.org/yuv.php#YUY2 YUY2]
 +
| packed
 
| video/x-raw-yuv,format=(fourcc)YUY2
 
| video/x-raw-yuv,format=(fourcc)YUY2
 
|-
 
|-
 
| MJPG
 
| MJPG
 
|
 
|
 +
| compressed
 
| image/jpeg
 
| image/jpeg
 
|-
 
|-
 
| RGB3
 
| RGB3
 
|  
 
|  
 +
| packed
 
| video/x-raw-rgb,format=RGB3
 
| video/x-raw-rgb,format=RGB3
 
|-
 
|-
 
| BGR3
 
| BGR3
 
|
 
|
 +
| packed
 
| video/x-raw-rgb,format=BGR3
 
| video/x-raw-rgb,format=BGR3
 
|-
 
|-
 
| YU12
 
| YU12
 
| [http://fourcc.org/yuv.php#IYUV I420]
 
| [http://fourcc.org/yuv.php#IYUV I420]
 +
| planar
 
| video/x-raw-yuv,format=(fourcc)I420
 
| video/x-raw-yuv,format=(fourcc)I420
 
|-
 
|-
 
| YV12
 
| YV12
 
| [http://fourcc.org/yuv.php#YV12 YV12]
 
| [http://fourcc.org/yuv.php#YV12 YV12]
 +
| planar
 
| video/x-raw-yuv,format=(fourcc)YV12
 
| video/x-raw-yuv,format=(fourcc)YV12
 
|}
 
|}

Revision as of 19:39, 27 August 2010

Currently, this only covers my Logitech cameras.

Camera Fourcc Type Gstreamer caps
YUYV YUY2 packed video/x-raw-yuv,format=(fourcc)YUY2
MJPG compressed image/jpeg
RGB3 packed video/x-raw-rgb,format=RGB3
BGR3 packed video/x-raw-rgb,format=BGR3
YU12 I420 planar video/x-raw-yuv,format=(fourcc)I420
YV12 YV12 planar video/x-raw-yuv,format=(fourcc)YV12

References