@related: ov API Video Linux jingle skype

HARDWARE

@TaG WebCam CT6840 Creative

05a9:a511 OmniVision Technologies, Inc. OV511+ Webcam


sudo apt install v4l-utils

v4l2-ctl --all -d /dev/video2  
Driver Info:
	Driver name      : ov519
	Card type        : USB Camera (05a9:a511)
	Bus info         : usb-0000:00:14.0-1
	Driver version   : 5.0.8
	Capabilities     : 0x85200001
		Video Capture
		Read/Write
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x05200001
		Video Capture
		Read/Write
		Streaming
		Extended Pix Format
Priority: 2
Video input : 0 (ov519: ok)
Format Video Capture:
	Width/Height      : 640/480
	Pixel Format      : 'O511' (GSPCA OV511)
	Field             : None
	Bytes per Line    : 640
	Size Image        : 614400
	Colorspace        : JPEG
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Streaming Parameters Video Capture:
	Frames per second: invalid (0/0)
	Read buffers     : 2

User Controls

                     brightness 0x00980900 (int)    : min=0 max=255 step=1 default=127 value=127 flags=inactive, slider
                       contrast 0x00980901 (int)    : min=0 max=255 step=1 default=127 value=127 flags=slider
                     saturation 0x00980902 (int)    : min=0 max=255 step=1 default=127 value=127 flags=slider
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=0 value=0
           brightness_automatic 0x00980920 (bool)   : default=1 value=1 flags=update

todo

tools

mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0
mplayer tv:// -tv driver=v4l2:width=320:height=240:device=/dev/video0

cinelerra

Cinelerra 2.1CV (C) 2006 Heroine Virtual Ltd.
Compiled on dimanche 6 juillet 2008, 19:01:47 (UTC+0200)

Cinelerra is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. There is absolutely no warranty for Cinelerra.
RecordMonitorCanvas::RecordMonitorCanvas 1 0 35 295 465
VDeviceV4L::ioctl VIDIOCGAUDIO: Invalid argument
VDeviceV4L::ioctl VIDIOCSAUDIO: Invalid argument
VDeviceV4L::v4l_init mmap: Invalid argument

camorama

I wanted to confirm that the bug is still present in camorama, or ov51x-jpeg driver

I just tested with latests versions and It's the same behaviour see screenshot while it works with vlc :

ToRead :

@url: http://rzr.online.fr/q/v4l

webcam grab

mencoder tv:// -tv driver=v4l:width=640:height=480:fps=25:device=/dev/video0 -ovc raw -o /tmp/tmp.avi
...
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
Unknown norm!
Error: Cannot set norm!
Selected input hasn't got a tuner!
[V] filefmt:9  fourcc:0x32315659  size:640x480  fps:25.000  ftime:=0.0400
...
80 duplicate frame(s)!
Pos:   3.3s      2f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [2247:0]
...

errors

unable to open '/dev/video0': No such file or directory
find /lib/modules/$(uname -r)/ -iname "*v4l*"

/lib/modules/2.6.32-5-686/kernel/drivers/media/video/v4l2-int-device.ko /lib/modules/2.6.32-5-686/kernel/drivers/media/video/v4l2-common.ko /lib/modules/2.6.32-5-686/kernel/drivers/media/video/v4l1-compat.ko

modprobe -v v4l2-int-device v4l1-compat

MISC

v4l.txt · Last modified: 2020/12/28 20:23 by rzr
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki