Menu

#83 No video - any camera - Fedora 21

version_0.10
open
nobody
None
1
2015-03-29
2015-03-13
careca
No

No video with any of my cameras.
Fedora21 - Gnome 3.14
zbar version: 0.10-21.fc21

Verbose log:
zbarcam -v /dev/video0
_zbar_video_open: opened camera device /dev/video0 (fd=5)
_zbar_v4l2_probe: Lenovo EasyCamera on usb-0000:00:1a.0-1.6 driver uvcvideo (version 3.18.8)
_zbar_v4l2_probe: capabilities: CAPTURE READWRITE STREAMING
v4l2_reset_crop: crop bounds: 640 x 480 @ (0, 0)
v4l2_reset_crop: current crop win: 640 x 480 @ (0, 0) aspect 1 / 1
ERROR: zbar video in v4l2_reset_crop():
system error: setting default crop window (VIDIOC_S_CROP): Inappropriate ioctl for device (25)
v4l2_probe_formats: current format: YUYV(56595559) 640 x 480 (line=0x500 size=0x96000)
_zbar_v4l2_probe: using I/O mode: MMAP
_zbar_window_probe_xv: XVideo extension version 2.2
xv_probe_port: probing port 145 with 1 encodings:
xv_probe_port: max XV_IMAGE size 8192x8192
xv_probe_port: 5 image formats
xv_probe_port: probing port 161 with 1 encodings:
xv_probe_port: max XV_IMAGE size 8192x8192
xv_probe_port: 3 image formats
v4l2_set_format: set new format: YUYV(56595559) 640 x 480 (0x96000)
v4l2_mmap_buffers: mapping 4 buffers (of 4 requested)

Thank you!

Discussion

  • Malcolm Mielle

    Malcolm Mielle - 2015-03-21

    Same here with the same configuration.

    _zbar_video_open: opened camera device /dev/video0 (fd=5)
    _zbar_v4l2_probe: USB Camera on usb-0000:00:1a.0-1.2 driver uvcvideo (version 3.18.6)
    _zbar_v4l2_probe: capabilities: CAPTURE READWRITE STREAMING
    v4l2_reset_crop: crop bounds: 640 x 480 @ (0, 0)
    v4l2_reset_crop: current crop win: 640 x 480 @ (0, 0) aspect 1 / 1
    ERROR: zbar video in v4l2_reset_crop():
    system error: setting default crop window (VIDIOC_S_CROP): Inappropriate ioctl for device (25)
    v4l2_probe_formats: current format: YUYV(56595559) 640 x 480 (line=0x500 size=0x96000)
    _zbar_v4l2_probe: using I/O mode: MMAP
    _zbar_window_probe_xv: XVideo extension version 2.2
    xv_probe_port: probing port 74 with 1 encodings:
    xv_probe_port: max XV_IMAGE size 16384x16384
    xv_probe_port: 5 image formats
    xv_probe_port: probing port 106 with 1 encodings:
    xv_probe_port: max XV_IMAGE size 8192x8192
    xv_probe_port: 3 image formats
    v4l2_set_format: set new format: YUYV(56595559) 640 x 480 (0x96000)
    v4l2_mmap_buffers: mapping 4 buffers (of 4 requested)
    WARNING: zbar processor in _zbar_processor_handle_input():
    output window is closed: user closed display window
    zbar_video_open: closed camera (fd=-1)
    dump_stats: symbol sets allocated = 4
    dump_stats: scanner syms in use = 8 recycled = 0
    dump_stats: image syms in use = 0 recycled = 5
    dump_stats: symbols allocated = 0
    dump_stats: recycled[0] = 0
    dump_stats: recycled[1] = 0
    dump_stats: recycled[2] = 0
    dump_stats: recycled[3] = 0
    dump_stats: recycled[4] = 0
    _zbar_qr_destroy: max finder lines = 63x63

     

    Last edit: Malcolm Mielle 2015-03-21
  • duck

    duck - 2015-03-28

    It may be a problem with video output. Try blindly scanning some QR-codes and watch the verbose log. Also try switching windows.

     
  • careca

    careca - 2015-03-29

    Hello, thanks for you suggestion.

    YES! It works "blind". There might be a problem with the video output. See verbose output bellow, with scanned URLs at end.
    Interesting to notice, on recognition, the "green marking" around the QR gets shown in the Z-bar window. Please,see attached file.

    Now, what may have changed between last time I used zbar (anytime in 2014) and now?
    I upgraded my Linux distribution from Fedora 20 to 21, and for sure video-driver may have been updated as well...
    I could not see any relating messages in the system-log...

    Any suggestion for a workaround for this issue?
    Sure it is better to see what you are scanning... ;)

    Many thanks again!

    Verbose log:

    [XXX ~]$ zbarcam --verbose --raw --prescale=640x460 /dev/video0
    zbar_video_request_size: request size: 640 x 460
    _zbar_video_open: opened camera device /dev/video0 (fd=5)
    _zbar_v4l2_probe: Lenovo EasyCamera on usb-0000:00:1a.0-1.6 driver uvcvideo (version 3.19.1)
    _zbar_v4l2_probe: capabilities: CAPTURE READWRITE STREAMING
    v4l2_reset_crop: crop bounds: 640 x 480 @ (0, 0)
    v4l2_reset_crop: current crop win: 640 x 480 @ (0, 0) aspect 1 / 1
    ERROR: zbar video in v4l2_reset_crop():
    system error: setting default crop window (VIDIOC_S_CROP): Inappropriate ioctl for device (25)
    v4l2_probe_formats: current format: YUYV(56595559) 640 x 480 (line=0x500 size=0x96000)
    v4l2_probe_formats: setting requested size: 640 x 460
    v4l2_probe_formats: final format: YUYV(56595559) 640 x 480 (line=0x500 size=0x96000)
    _zbar_v4l2_probe: using I/O mode: MMAP
    _zbar_window_probe_xv: XVideo extension version 2.2
    xv_probe_port: probing port 145 with 1 encodings:
    xv_probe_port: max XV_IMAGE size 8192x8192
    xv_probe_port: 5 image formats
    xv_probe_port: probing port 161 with 1 encodings:
    xv_probe_port: max XV_IMAGE size 8192x8192
    xv_probe_port: 3 image formats
    v4l2_set_format: set new format: YUYV(56595559) 640 x 480 (0x96000)
    v4l2_mmap_buffers: mapping 4 buffers (of 4 requested)
    http://www.facebook.com/mathaeser
    http://www.facebook.com/mathaeser


     

Log in to post a comment.