I am trying to get a Microdia webcam to take snapshots. I switched from the sn9c102 driver which worked under 12.1 to gspca_sonixj under Slackware 13.37, which I was advised to do. With sn9c102, I could get as far as to get a green 640x480 screen with -vo xv. Errors moved me to use the following command: # mplayer tv:// -tv driver=v4l2:width=640:height=480:fps=25:device=/dev/video0 -vo x11 #under gspca_sonixj
Can someone explain whether the lines below prefixed with XX= are errors or advisories or status?
ALSO what is the ffmpeg/ffmjpeg and what causes/is selected timeout?
This is the output: -------------------Playing tv://. TV file format detected. Selected driver: v4l2 name: Video 4 Linux 2 input author: Martin Olschewski comment: first try, more to comev4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead. Selected device: USB camera Capabilities: video capture read/write streaming supported norms: inputs: 0 = sonixj; Current input: 0 Current format: unknown (0x4745504a) tv.c: norm_from_string(pal): Bogus norm parameter, setting default. XX=v4l2: ioctl enum norm failed: Invalid argument XX=Error: Cannot set norm! Selected input hasn't got a tuner! XX=v4l2: Cannot get fps XX=v4l2: ioctl set mute failed: Invalid argument XX=v4l2: ioctl query control failed: Invalid argument ====================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG) ====================================== Audio: no sound Starting playback... v4l2: select timeout v4l2: select timeout v4l2: select timeout v4l2: select timeout V: 0.0 10/ 10 ??% ??% ??,?% 0 0 v4l2: select timeout
repeats...

Reply With Quote