Re: [v4l4j] Old Creative Webcam3 cam: CAP: VIODIOC_S_FMT succeeded but returned a different palette from the one

102 views
Skip to first unread message

Gilles Gigan

unread,
Mar 11, 2013, 6:34:50 PM3/11/13
to v4...@googlegroups.com
Hi Ivo,
this sounds like a bug in v4l4j. Give me a few days, i ll check how to fix it.
Gilles


On 11 March 2013 04:29, Ivo Abeloos <ivo.a...@gmail.com> wrote:
Hi,

I'm trying to get a *very* old webcam running on my RPi running Arch Linux.  When I query the webcam using v4l4j I get the following exception when trying to open a grabber:

     [java] Driver name: ov519
     [java] Device name: USB Camera (05a9:0511)
     [java] bus_info: usb-bcm2708_usb-1.3
     [java] version: 3.6.11
     [java] Has capture capability
     [java] [ v4l2-input.c:255 ] CAP: VIODIOC_S_FMT succeeded but returned a different palette from the one requested: requested palette 0x33424752  - returned palette: 0x3131354f
     [java] [ v4l2-input.c:256 ] This is most likely a bug in v4l4j. Please
     [java] [ v4l2-input.c:257 ] let the author know about this issue. See README file.

     ...

     [java] ============================================
     [java] Querying capture capabilities
     [java] Input number: 0
     [java] Name: ov519
     [java] Type: (2) Camera
     [java] Supported standards: (0)
     [java]
     [java] ============================================
     [java] Querying image format
     [java]
     [java] 0 - O511 (compressed : 0) (0x3131354f)
     [java]
     [java] ============================================
     [java] Querying current image format settings
     [java]
     [java] Current width: 320
     [java] Current height: 240
     [java] Current bytes per line: 320
     [java] Current image size: 230400
     [java] Current color space: 7
     [java] Current pixel format: O511
     [java]

Any ideas?

Thanx,

--Ivo

--
You received this message because you are subscribed to the Google Groups "v4l4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v4l4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Gilles Gigan

unread,
Jul 2, 2013, 2:06:57 AM7/2/13
to v4...@googlegroups.com
Hi Ivo,
I finally managed to find some time to fix current bugs in v4l4j. If you are still interested in helping me fix this issue, can you uninstall v4l4j, rebuild it in debug mode (ant clean all-debug) and reinstall it. After that, run "ant test-fps" and email the output.
Thanks
Gilles


On 15 March 2013 02:51, Ivo Abeloos <ivo.a...@gmail.com> wrote:
Hi Gilles,

Ok, no problem ... I'll hold on.

Thanx for your response.

--Ivo

Op zondag 10 maart 2013 18:29:42 UTC+1 schreef Ivo Abeloos het volgende:

Владислав Глаголев

unread,
Mar 10, 2014, 3:52:40 PM3/10/14
to v4...@googlegroups.com
Hello! I need help with this cam. It seems that I can't find the O511 palette. How can I get it and use to stream video? 

pi@raspberrypi ~ $ fswebcam -r 640x480 -d /dev/video0 -v ./webcam.jpg
--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
src_v4l2_get_capability,87: /dev/video0 information:
src_v4l2_get_capability,88: cap.driver: "ov519"
src_v4l2_get_capability,89: cap.card: "USB Camera (05a9:a511)"
src_v4l2_get_capability,90: cap.bus_info: "usb-bcm2708_usb-1.3"
src_v4l2_get_capability,91: cap.capabilities=0x85000001
src_v4l2_get_capability,92: - VIDEO_CAPTURE
src_v4l2_get_capability,101: - READWRITE
src_v4l2_get_capability,103: - STREAMING
No input was specified, using the first.
src_v4l2_set_input,181: /dev/video0: Input 0 information:
src_v4l2_set_input,182: name = "ov519"
src_v4l2_set_input,183: type = 00000002
src_v4l2_set_input,185: - CAMERA
src_v4l2_set_input,186: audioset = 00000000
src_v4l2_set_input,187: tuner = 00000000
src_v4l2_set_input,188: status = 00000000
src_v4l2_set_pix_format,541: Device offers the following V4L2 pixel formats:
src_v4l2_set_pix_format,554: 0: [0x3131354F] 'O511' (O511)
Unable to find a compatible palette format.



вторник, 2 июля 2013 г., 10:06:57 UTC+4 пользователь Gilles написал:
Reply all
Reply to author
Forward
0 new messages