To avoid typos, you can select this line with the mouse, and paste it in the consolewindow with a MIDDLE-click:
Code: Select all
gmplayer tv:// -tv driver=v4l2:width=352:height=288:device=/dev/video0
Code: Select all
gmplayer tv:// -tv driver=v4l2:width=352:height=288:device=/dev/video0
Code: Select all
# gmplayer tv:// -tv driver=v4l2:width=352:height=288:device=/dev/video0
MPlayer 1.0pre8-3.3.4 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1500MHz (Family: 6, Model: 9, Stepping: 5)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Xlib: extension "XFree86-VidModeExtension" missing on display ":0.0".
Xlib: extension "XFree86-VidModeExtension" missing on display ":0.0".
Playing tv://.
No such driver: v4l2
Exiting... (Quit)
#
Code: Select all
# Muppywebcam
ERROR: Module sn9c102 does not exist in /proc/modules
ERROR: Module v4l2_common is in use by videodev
ERROR: Module sn9c102 does not exist in /proc/modules
MPlayer 1.0rc1-3.4.4 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1500MHz (Family: 6, Model: 9, Stepping: 5)
SSE2 supported but disabled
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing tv://.
Cache fill: 0.00% (0 bytes)
TV file format detected.
Selected driver: v4l
name: Video 4 Linux input
author: Alex Beregszaszi
comment: under development
=================================================================
WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!!
As the V4L1 compatibility layer is broken, this may not work.
If you encounter any problems, use driver=v4l2 instead.
Bugreports on driver=v4l with v4l2 drivers will be ignored.
=================================================================
Selected device: Philips SPC 900NC webcam
Capabilites: capture
Device type: 1
Supported sizes: 160x120 => 640x480
Inputs: 1
0: Webcam: (tuner:0, norm:pal)
Using input 'Webcam'
Selected input hasn't got a tuner!
Xlib: extension "XVideo" missing on display ":0.0".
Sorry, Xv not supported by this X11 version/driver
******** Try with -vo x11 or -vo sdl *********
Error opening/initializing the selected video_out (-vo) device.
MPlayer interrupted by signal 11 in module: free_demuxer
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
This is xawtv-3.95, running on Linux/i686 (2.6.21.7)
# Xlib: extension "XVideo" missing on display ":0.0".
Xlib: extension "XVideo" missing on display ":0.0".
WARNING: Your X-Server has no DGA support.
/dev/video0 [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway
Warning: Cannot convert string "7x13bold" to type FontStruct
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
Xlib: extension "GLX" missing on display ":0.0".
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=384;fmt.pix.height=288;fmt.pix.pixelformat=0x32315559 [YU12];fmt.pix.field=ANY;fmt.pix.bytesperline=0;fmt.pix.sizeimage=0;fmt.pix.colorspace=unknown;fmt.pix.priv=0): Numerical result out of range
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=384;fmt.pix.height=288;fmt.pix.pixelformat=0x32315559 [YU12];fmt.pix.field=ANY;fmt.pix.bytesperline=0;fmt.pix.sizeimage=0;fmt.pix.colorspace=unknown;fmt.pix.priv=0): Numerical result out of range
no way to get: 384x288 32 bit TrueColor (LE: bgr-)
# gmplayer tv:// -tv driver=v4l2:width=352:height=288:device=/dev/video0
MPlayer 1.0rc1-3.4.4 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1500MHz (Family: 6, Model: 9, Stepping: 5)
SSE2 supported but disabled
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing tv://.
Cache fill: 0.00% (0 bytes)
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
Selected device: Philips SPC 900NC webcam
Capabilites: video capture read/write streaming
supported norms: 0 = webcam;
inputs: 0 = usb;
Current input: 0
Current format: YUV420
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set width failed: Numerical result out of range
v4l2: ioctl set height failed: Numerical result out of range
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
FPS not specified in the header or invalid, use the -fps option.
No stream found.
v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.
Exiting... (Quit)
#
Code: Select all
# gmplayer
MPlayer 1.0rc1-3.4.4 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1500MHz (Family: 6, Model: 9, Stepping: 5)
SSE2 supported but disabled
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Exiting... (Quit)
# Muppywebcam
ERROR: Module sn9c102 does not exist in /proc/modules
ERROR: Module v4l2_common is in use by videodev
ERROR: Module sn9c102 does not exist in /proc/modules
MPlayer 1.0rc1-3.4.4 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1500MHz (Family: 6, Model: 9, Stepping: 5)
SSE2 supported but disabled
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing tv://.
Cache fill: 0.00% (0 bytes)
TV file format detected.
Selected driver: v4l
name: Video 4 Linux input
author: Alex Beregszaszi
comment: under development
=================================================================
WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!!
As the V4L1 compatibility layer is broken, this may not work.
If you encounter any problems, use driver=v4l2 instead.
Bugreports on driver=v4l with v4l2 drivers will be ignored.
=================================================================
Selected device: Philips SPC 900NC webcam
Capabilites: capture
Device type: 1
Supported sizes: 160x120 => 640x480
Inputs: 1
0: Webcam: (tuner:0, norm:pal)
Using input 'Webcam'
Selected input hasn't got a tuner!
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 352 x 288 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 352x288 => 352x288 Planar YV12
SwScaler: using unscaled yuv420p -> rgb32 special converter
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
ioctl mcapture failed: Numerical result out of range
ioctl mcapture failed: Numerical result out of range
ioctl mcapture failed: Numerical result out of range
V: 0.0 1/ 1 ??% ??% ??,?% 0 0 0%
ioctl mcapture failed: Numerical result out of range
V: 0.0 2/ 2 ??% ??% ??,?% 0 0 0%
ioctl mcapture failed: Numerical result out of range
V: 0.1 3/ 3 ??% ??% ??,?% 0 0 0%
ioctl mcapture failed: Numerical result out of range
V: 0.1 4/ 4 ??% ??% ??,?% 0 0 0%
ioctl mcapture failed: Numerical result out of range
V: 0.2 5/ 5 ??% ??% ??,?% 0 0 0%
ioctl mcapture failed: Numerical result out of range
V: 0.2 6/ 6 ??% ??% ??,?% 0 0 0%
ioctl mcapture failed: Numerical result out of range
V: 0.2 7/ 7 ??% ??% ??,?% 0 0 0%
ioctl mcapture failed: Numerical result out of range
V: 0.3 8/ 8 ??% ??% ??,?% 0 0 0%
ioctl mcapture failed: Numerical result out of range
V: 0.3 9/ 9 ??% ??% ??,?% 0 0 0%
ioctl mcapture failed: Numerical result out of range
V: 0.4 10/ 10 ??% ??% ??,?% 0 0 0%
ioctl mcapture failed: Numerical result out of range
V: 0.4 11/ 11 ??% ??% ??,?% 0 0 0%
ioctl mcapture failed: Numerical result out of range
V: 0.4 12/ 12 ??% ??% ??,?% 0 0 0%
ioctl mcapture failed: Numerical result out of range
V: 0.5 13/ 13 ??% ??% ??,?% 0 0 0%
ioctl mcapture failed: Numerical result out of range
V: 0.5 14/ 14 0% 8% 0.0% 0 0 0%
ioctl mcapture failed: Numerical result out of range
V: 0.6 15/ 15 0% 7% 0.0% 0 0 0%
ioctl mcapture failed: Numerical result out of range
V: 0.6 16/ 16 0% 8% 0.0% 0 0 0%
ioctl mcapture failed: Numerical result out of range
V: 0.6 17/ 17 0% 8% 0.0% 0 0 0%
ioctl mcapture failed: Numerical result out of range
V: 0.7 18/ 18 0% 8% 0.0% 0 0 0%
ioctl mcapture failed: Numerical result out of range
V: 0.7 19/ 19 0% 8% 0.0% 0 0 0%
ioctl mcapture failed: Numerical result out of range
V: 0.8 20/ 20 0% 8% 0.0% 0 0 0%
ioctl mcapture failed: Numerical result out of range
V: 0.8 21/ 21 0% 8% 0.0% 0 0 0%
ioctl mcapture failed: Numerical result out of range
V: 0.8 22/ 22 0% 8% 0.0% 0 0 0%
ioctl mcapture failed: Numerical result out of range
MJP: returning!
Exiting... (Quit)
This is xawtv-3.95, running on Linux/i686 (2.6.21.7)
# Xlib: extension "XVideo" missing on display ":0.0".
Xlib: extension "XVideo" missing on display ":0.0".
WARNING: Your X-Server has no DGA support.
/dev/video0 [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway
Warning: Cannot convert string "7x13bold" to type FontStruct
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to typ e FontStruct
Xlib: extension "GLX" missing on display ":0.0".
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=384;fmt.pix.height=288;fmt. pix.pixelformat=0x32315559 [YU12];fmt.pix.field=ANY;fmt.pix.bytesperline=0;fmt.p ix.sizeimage=0;fmt.pix.colorspace=unknown;fmt.pix.priv=0): Numerical result out of range
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=384;fmt.pix.height=288;fmt. pix.pixelformat=0x32315559 [YU12];fmt.pix.field=ANY;fmt.pix.bytesperline=0;fmt.p ix.sizeimage=0;fmt.pix.colorspace=unknown;fmt.pix.priv=0): Numerical result out of range
no way to get: 384x288 32 bit TrueColor (LE: bgr-)
# gmplayer tv:// -tv driver=v4l2:width=352:height=288:device=/dev/video0
MPlayer 1.0rc1-3.4.4 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1500MHz (Family: 6, Model: 9, Stepping: 5)
SSE2 supported but disabled
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing tv://.
Cache fill: 0.00% (0 bytes)
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
Selected device: Philips SPC 900NC webcam
Capabilites: video capture read/write streaming
supported norms: 0 = webcam;
inputs: 0 = usb;
Current input: 0
Current format: YUV420
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set width failed: Numerical result out of range
v4l2: ioctl set height failed: Numerical result out of range
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
FPS not specified in the header or invalid, use the -fps option.
No stream found.
v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.
Exiting... (Quit)
#
This doesn't exist.MU wrote:this tells us, that still Mplayer 1.0.8 is active.
Did you install the new one already?
If yes, please look, if you maybe have it twice now:
/usr/bin/gmplayer
This is there.MU wrote: and
/usr/local/bin/gmplayer
Code: Select all
gmplayer tv:// -tv driver=v4l:width=160:height=120:device=/dev/video0
Code: Select all
gmplayer tv:// -tv driver=v4l2:width=160:height=120:device=/dev/video0
THIS ONE WORKED!!!!!MU wrote:I think a re-installation will not help.
Hm, maybe one other issue, please try:
Code: Select all
gmplayer tv:// -tv driver=v4l:width=160:height=120:device=/dev/video0
This one didn't.MU wrote: And also:MarkCode: Select all
gmplayer tv:// -tv driver=v4l2:width=160:height=120:device=/dev/video0
I have no idea, why this is.Oh, there was an error pop-up that just had a series of "=============" but no text.
Im very happy it woorks nowThis is terrific news ... now I just have to figure out how to stream the video to someone via videoconferencing and how to capture a snapshot to send.
This currently requires, that you run Muppywebcam before skype, as it loads all Kernel-modules for you.Open Skype, open Main Menu and select Options>Video Devices. Your Logitech Quickcam should be shown as the available device. Click the Test button, but make sure you have sufficient light or the output will look pretty dark.
Code: Select all
/usr/local/Muppywebcam-Puppy301/Muppywebcam-nogui &
I will try to do this a little later and report my results. Thanks!MU wrote:Done.Please install Muppywebcam again (over the old one, no need to uninstall first):
http://murga-linux.com/puppy/viewtopic. ... ch&id=8941
Works fine on the small and large size but fails with an "out of numeric range" error on the middle size.MU wrote: I added a dialog, where you can choose the resolution for gmplayer.
Your camera also should work with 640x480.
I also added a startup-script for X.
MU wrote: For videoconferencing, skype should work.
Please read this thread:
http://murga-linux.com/puppy/viewtopic.php?t=27889
WhoD writes:This currently requires, that you run Muppywebcam before skype, as it loads all Kernel-modules for you.Open Skype, open Main Menu and select Options>Video Devices. Your Logitech Quickcam should be shown as the available device. Click the Test button, but make sure you have sufficient light or the output will look pretty dark.
To avoid this, you can do this:
edit the file /root/.xinitrc
Add as second line (after the line "#!/bin/sh") this line:This will load only the Kernelmodules, when X starts, but not run gmplayer.Code: Select all
/usr/local/Muppywebcam-Puppy301/Muppywebcam-nogui &
Mark
yes, that is ok.Works fine on the small and large size but fails with an "out of numeric range" error on the middle size.