Menu

#80 Which formats are supportted for zbar library?

version_0.10
open
nobody
5
2015-04-05
2013-07-03
harrykang
No

Which formats are supportted for zbar library?

i got a this error mesg.
------>>>
_zbar_video_open:opened camera device /dev/video0 (fd=5)
opened camera device /dev/video0 (fd=5)

_zbar_v4l2_probe: clcap on <unknown> driver clcap (version 0.5.0)
_zbar_v4l2_probe: capabilities: CAPTURE READWRITE STREAMING
capabilities: CAPTURE READWRITE STREAMING
v4l2_reset_crop: crop bounds: 800 x 480 @ (0, 0)
v4l2_reset_crop: current crop win: 720 x 480 @ (0, 0) aspect 0 / 0
v4l2_probe_formats: enumerating supported formats:
v4l2_probe_formats: [0] MVS0 : 4:2:0, MVS0
v4l2_probe_formats: [1] YUYV : 4:2:2, packed, YUYV
v4l2_probe_formats: current format: MVS0(3053564d) 720 x 480 INTERLACED (line=0x438 size=0x7e900)
_zbar_v4l2_probe: using I/O mode: MMAP
proc_input_thread: spawned input thread

zbar_negotiate_format: YUYV(56595559) -> Y800(30303859) (24)
zbar_negotiate_format: setting best format YUYV(56595559) (24)
v4l2_set_format: VIDIOC_S_FMT returned -1(22), trying interlaced...
v4l2_set_format: WARNING: broken driver returned error when non-interlaced format requested
WARNING: zbar video in v4l2_set_format():
invalid request: video driver only supports interlaced format, vertical scanning may not work
v4l2_set_format: set new format: YUYV(56595559) 720 x 480 (0xa8c00)
v4l2_mmap_buffers: mapping 4 buffers (of 4 requested)
v4l2_mmap_buffers: buf[0] 0xa9000 bytes @0x409ec000
v4l2_mmap_buffers: buf[1] 0xa9000 bytes @0x40a95000
v4l2_mmap_buffers: buf[2] 0xa9000 bytes @0x40b3e000
v4l2_mmap_buffers: buf[3] 0xa9000 bytes @0x40be7000
------>>>

how can I solve this problem?
my board supports that are YUYV and MVS0.
help me please.

Discussion


Log in to post a comment.