|
@1314258
try:
fswebcam -r 800x600 --fps 25 -p YUV420P - > img_800x600.jpg
@yogesh
This is all possible pixel format:
format index = 0, name = planar YUV 422, v4l2 pixel format = 50323234
format index = 1, name = planar YUV 420, v4l2 pixel format = 32315559
format index = 2, name = planar YVU 420, v4l2 pixel format = 32315659
format index = 3, name = planar YUV 422 UV combined, v4l2 pixel format = 3631564e
format index = 4, name = planar YUV 420 UV combined, v4l2 pixel format = 3231564e
format index = 5, name = planar YUV 422 VU combined, v4l2 pixel format = 3136564e
format index = 6, name = planar YUV 420 VU combined, v4l2 pixel format = 3132564e
format index = 7, name = MB YUV420, v4l2 pixel format = 32314d48
format index = 8, name = YUV422 YUYV, v4l2 pixel format = 56595559
format index = 9, name = YUV422 YVYU, v4l2 pixel format = 55595659
format index = 10, name = YUV422 UYVY, v4l2 pixel format = 59565955
format index = 11, name = YUV422 VYUY, v4l2 pixel format = 59555956
format index = 12, name = RAW Bayer BGGR 8bit, v4l2 pixel format = 31384142
format index = 13, name = RAW Bayer GBRG 8bit, v4l2 pixel format = 47524247
format index = 14, name = RAW Bayer GRBG 8bit, v4l2 pixel format = 47425247
format index = 15, name = RAW Bayer RGGB 8bit, v4l2 pixel format = 47425247
format index = 16, name = RAW Bayer BGGR 10bit, v4l2 pixel format = 30314742
format index = 17, name = RAW Bayer GBRG 10bit, v4l2 pixel format = 30314247
format index = 18, name = RAW Bayer GRBG 10bit, v4l2 pixel format = 30314142
format index = 19, name = RAW Bayer RGGB 10bit, v4l2 pixel format = 30314142
format index = 20, name = RAW Bayer BGGR 12bit, v4l2 pixel format = 32314742
format index = 21, name = RAW Bayer GBRG 12bit, v4l2 pixel format = 32314247
format index = 22, name = RAW Bayer GRBG 12bit, v4l2 pixel format = 32314142
format index = 23, name = RAW Bayer RGGB 12bit, v4l2 pixel format = 32314142
I actually set the sensor to a H264 pixel format and the camera did not complain and grabbed the fb for one frame that is supposedly a 640x480 raw H264 format, compressed from 450Kb to 300Kb (expected around 150Kb) but i cannot check if it is a valid H264. In case you want to check the format i attached the image. |
This thread contains more resources
You need to Log in to download or view,No account?
Register
x
|