Moin Leute,
das Problem ist nun etwas "verfahren".
Auf Linux Pardus macht diese exotische Cam ein /dev/video0 und mit Kopete bekomme ich auch ein Bild.
Aber
nur mit Kopete 
: Und das nutzt mir wenig... ich möchte die Cam in motion zur Anwendung bringen.
Mit dem Programm
motion gibt's nur graue oder bunt-gestreifte Bilder und diese Ausgabe:
Code: Alles auswählen
[1] Closing video device /dev/video0
[1] Retrying until successful connection with camera
[1] cap.driver: "sq905c"
[1] cap.card: "USB Digital Still Camera"
[1] cap.bus_info: "usb-0000:00:06.0-2"
[1] cap.capabilities=0x05000001
[1] - VIDEO_CAPTURE
[1] - READWRITE
[1] - STREAMING
[1] Config palette index 0 (S910) doesn't work.
[1] Supported palettes:
[1] 0: 905C (905C)
[1] Unable to find a compatible palette format.
[1] Using VIDEO_PALETTE_YUV420P palette
[1] Using V4L1
[1] File of type 1 saved to: /home/joern/Bilder/01-20100621095750-00.jpg
[1] sync error in proc 14788: Invalid argument
[1] File of type 1 saved to: /home/joern/Bilder/01-20100621095750-01.jpg
[1] mcapture error in proc 14788: Invalid argument
[1] Video device fatal error - Closing video device
Ich hatte hier erfolglos alle
Paletten probiert.
Und
MPlayer reagiert auf die Kamera mit
v4l2 so:
Code: Alles auswählen
joern@joern-pardus bin $ mplayer -fps 30 -cache 128 -tv driver=v4l2:width=640:height=480:device=/dev/video0 tv://
CPLAYER: MPlayer dev-SVN-r31299 (C) 2000-2009 MPlayer Team154 audio & 334 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
LIRC: Failed to open LIRC support. You will not be able to use your remote control.
GLOBAL: [MENU] Can't open menu config file: /home/joern/.mplayer/menu.conf
CPLAYER:
Playing tv://.
Cache fill: 0.00% (0 bytes)
DEMUXER: TV file format detected.
TV: Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
TV: v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
TV: Selected device: USB Digital Still Camera
TV: Capabilites: video capture read/write streaming
TV: supported norms:
inputs: 0 = sq905c;
Current input: 0
TV: Current format: unknown (0x43353039)
TV: tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
TV: v4l2: ioctl enum norm failed: Invalid argument
TV: Error: Cannot set norm!
TV: Selected input hasn't got a tuner!
TV: v4l2: Cannot get fps
TV: v4l2: ioctl set mute failed: Invalid argument
TV: v4l2: ioctl query control failed: Invalid argument
TV: v4l2: ioctl query control failed: Invalid argument
TV: v4l2: ioctl query control failed: Invalid argument
TV: v4l2: ioctl query control failed: Invalid argument
VIDEOOUT: [VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
ASS: [ass] auto-open
[ass] Init
[ass] Updating font cache
CPLAYER: ==========================================================================
DECVIDEO: Cannot find codec matching selected -vo and video format 0x43353039.
CPLAYER: ==========================================================================
CPLAYER:
TV: v4l2: ioctl set mute failed: Invalid argument
TV: v4l2: 0 frames successfully processed, 0 frames dropped.
CPLAYER:
Exiting... (End of file)
bzw. mit
v4l:
Code: Alles auswählen
joern@joern-pardus bin $ mplayer -fps 30 -cache 128 -tv driver=v4l:width=640:height=480:device=/dev/video0 tv://
CPLAYER: MPlayer dev-SVN-r31299 (C) 2000-2009 MPlayer Team154 audio & 334 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
LIRC: Failed to open LIRC support. You will not be able to use your remote control.
GLOBAL: [MENU] Can't open menu config file: /home/joern/.mplayer/menu.conf
CPLAYER:
Playing tv://.
Cache fill: 0.00% (0 bytes)
DEMUXER: TV file format detected.
TV: Selected driver: v4l
name: Video 4 Linux input
author: Alex Beregszaszi
comment: under development
TV: =================================================================
TV: WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!!
TV: As the V4L1 compatibility layer is broken, this may not work.
TV: If you encounter any problems, use driver=v4l2 instead.
TV: Bugreports on driver=v4l with v4l2 drivers will be ignored.
TV: =================================================================
TV: Selected device: USB Digital Still Camera
TV: Capabilites: capture
TV: Device type: 1
TV: Supported sizes: 48x32 => 640x480
TV: Inputs: 1
TV: 0: sq905c: (tuner:0, norm:pal)
TV: ioctl set chan failed: Invalid argument
TV: ioctl set chan failed: Invalid argument
TV: Error: Cannot set norm!
TV: Selected input hasn't got a tuner!
VIDEOOUT: [VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
ASS: [ass] auto-open
[ass] Init
[ass] Updating font cache
CPLAYER: ==========================================================================
DECVIDEO: Opening video decoder: [raw] RAW Uncompressed Video
CPLAYER: Movie-Aspect is undefined - no prescaling applied.
CPLAYER: VO: [x11] 640x480 => 640x480 Planar YV12 [zoom]
[swscaler @ 0xa79f7a0]using unscaled yuv420p -> bgra special converter
DECVIDEO: Selected video codec: [rawyv12] vfm: raw (RAW YV12)
CPLAYER: ==========================================================================
CPLAYER: Audio: no sound
CPLAYER: FPS forced to be 30.000 (ftime: 0.033).
CPLAYER: Starting playback...
TV:
ioctl mcapture failed: Invalid argument
TV:
ioctl mcapture failed: Invalid argument
TV: V:-9223372036854.8 1/ 1 ??% ??% ??,?% 0 0 0%
ioctl mcapture failed: Invalid argument
TV: V:-9223372036854.8 8/ 8 ??% ??% ??,?% 0 0 0%
ioctl mcapture failed: Invalid argument
TV:
ioctl mcapture failed: Invalid argument
TV: V:-9223372036854.8 11/ 11 ??% ??% ??,?% 0 0 0%
ioctl mcapture failed: Invalid argument
TV: V:-9223372036854.8 16/ 16 ??% ??% ??,?% 0 0 0%
ioctl mcapture failed: Invalid argument
Also, es geht nur
Kopete :uff:
Bei dem Versuch da etwas zu tracen fand ich nichts was mir etwas sagte, außer vielleicht:
Code: Alles auswählen
ioctl(15, VIDIOC_DQBUF, 0xbfda1e14) = 0
ioctl(15, VIDIOC_QBUF, 0xbfda1e14) = 0
Was kann Kopete was die anderen nicht können ???
Gruß
ups