Page 2 of 4
Posted: Sun 06 Apr 2008, 19:22
by edoc
Fat finger redux! Sorry ...
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)
#
Posted: Sun 06 Apr 2008, 19:46
by linuxcbon
v4l2 and not v4L2
take some sleep and test a lot and google before posting
Posted: Sun 06 Apr 2008, 19:52
by edoc
Actually this time I merely provided you with only the results of my second try and not both my first and second try.
I tried both v4l2 and v4L2, both failed the same.
Posted: Sun 06 Apr 2008, 19:59
by linuxcbon
type cat /dev/video > test.avi
wait for 3 seconds
type ctrl and c at the same time (ctrl+c)
open the file test.avi with mediaplayer (gxine or else).
Posted: Sun 06 Apr 2008, 20:09
by edoc
A file is created and when I open it with MPlayer it plays it but it is too quick for me to actually see what is being played.
I tried also test1.avi and test2.avi each running a little longer but even 20 seconds of being goofy in front of the camera didn't result in anything but a quick flash in the MPlayer window.
Posted: Sun 06 Apr 2008, 22:43
by edoc
Is what I have described what you would expect or do I perhaps have a setting wrong in MPlayer?
How do we proceed from here, please?
I am excited that we may have a solution soon!
Posted: Mon 07 Apr 2008, 02:19
by MU
edoc wrote:Actually this time I merely provided you with only the results of my second try and not both my first and second try.
I tried both v4l2 and v4L2, both failed the same.
I think there will be different output...
Please copy&paste the result you get from the command I suggested.
The exact errors are very important to have an idea, what goes wrong.
I am currently without idea, what goes wrong.
Also googling did not help me, to find out more.
So the error-messages are currently the only hint we might get.
Mark
Posted: Mon 07 Apr 2008, 02:36
by edoc
OK, here is the result from
gmplayer tv:// -tv driver=v4l2:width=352:height=288:device=/dev/video0
I think you now have everything.
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)
#
Posted: Mon 07 Apr 2008, 02:59
by MU
ah I see, your mplayer is too old.
I get the same error when I test version 1.0.8, but not with 1rc1.
Please uninstall mplayer with Petget, then install:
http://dotpups.de/dotpups/Multimedia/Mp ... chrome.pup
mirror:
http://puppyfiles.ca/dotpupsde/dotpups/ ... chrome.pup
Then run
gmplayer, and open a video, to check that it plays well (that the correct video-out driver is active).
Then run my command again, please, and post the result here.
Mark
Posted: Mon 07 Apr 2008, 03:05
by edoc
PetGet doesn't see mplayer in the right hand column.
Is there another way to cause PetGet to do the uninstall?
Posted: Mon 07 Apr 2008, 03:07
by MU
then maybe you have it pre-installed.
Do you use a puplett, a modified Puppy?
It should be ok, too, to install the new mplayer without uninstalling the old one.
Posted: Mon 07 Apr 2008, 03:19
by edoc
Yes, ChurchPup.
I have to hit the hay here but will read and follow your next suggestions in the morning.
Sure appreciate the help!
Posted: Mon 07 Apr 2008, 03:21
by MU
ok, should sleep, too soon
Keep us informed about your results
Important:
as you will shutdown Puppy now, for your tests tomorrow, do not forget to run Muppywebcam again, as it loads the required Kernelmodules.
After that, type:
gmplayer tv:// -tv driver=v4l2:width=352:height=288:device=/dev/video0
Have a good night, Mark
Posted: Mon 07 Apr 2008, 17:24
by edoc
Code: Select all
# Muppywebcam
ERROR: Module gspca does not exist in /proc/modules
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.0pre8-3.3.4 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1500MHz (Family: 6, Model: 9, Stepp ing: 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://.
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 Planar YV12 -> BGRA 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
ioctl mcapture failed: Numerical result out of range
V: 0.0 2/ 2 ??% ??% ??,?% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.1 3/ 3 ??% ??% ??,?% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.1 4/ 4 ??% ??% ??,?% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.2 5/ 5 ??% ??% ??,?% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.2 6/ 6 ??% ??% ??,?% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.2 7/ 7 ??% ??% ??,?% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.3 8/ 8 ??% ??% ??,?% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.3 9/ 9 ??% ??% ??,?% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.4 10/ 10 ??% ??% ??,?% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.4 11/ 11 ??% ??% ??,?% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.4 12/ 12 ??% ??% ??,?% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.5 13/ 13 ??% ??% ??,?% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.5 14/ 14 0% 19% 0.0% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.6 15/ 15 0% 18% 0.0% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.6 16/ 16 0% 18% 0.0% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.6 17/ 17 0% 17% 0.0% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.7 18/ 18 0% 18% 0.0% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.7 19/ 19 0% 18% 0.0% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.8 20/ 20 0% 18% 0.0% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.8 21/ 21 0% 17% 0.0% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.8 22/ 22 0% 17% 0.0% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.9 23/ 23 0% 17% 0.0% 0 0
ioctl mcapture failed: Numerical result out of range
V: 0.9 24/ 24 0% 17% 0.0% 0 0
ioctl mcapture failed: Numerical result out of range
V: 1.0 25/ 25 0% 17% 0.0% 0 0
ioctl mcapture failed: Numerical result out of range
V: 1.0 26/ 26 0% 17% 0.0% 0 0
ioctl mcapture failed: Numerical result out of range
V: 1.0 27/ 27 0% 17% 0.0% 0 0
ioctl mcapture failed: Numerical result out of range
V: 1.1 28/ 28 0% 17% 0.0% 0 0
ioctl mcapture failed: Numerical result out of range
V: 1.1 29/ 29 0% 17% 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-)
#
Posted: Mon 07 Apr 2008, 17:38
by edoc
After this I get no errors but I do get a window with an all-green display.
Code: Select all
# gmplayer 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, Stepp
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://.
Selected driver: dummy
name: NULL-TV
author: alex
Selected input hasn't got a tuner!
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 320 x 200 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 320x200 => 320x200 Planar YV12
SwScaler: using unscaled Planar YV12 -> BGRA special converter
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
V: 1.0 29037/29037 ??% ??% ??,?% 0 0
Playing tv://.
Selected driver: dummy
name: NULL-TV
author: alex
Selected input hasn't got a tuner!
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 320 x 200 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 320x200 => 320x200 Planar YV12
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
V: 1.0 1779/1779 ??% ??% ??,?% 0 0
Exiting... (Quit)
#
Posted: Mon 07 Apr 2008, 19:08
by MU
you forgot the -tv
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
Mark
Posted: Mon 07 Apr 2008, 19:13
by edoc
I rushed again so as to not keep you waiting ... should have had that cup of coffee first!
I also didn't know about the middle mouse click trick, that is very handy!
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)
#
Posted: Mon 07 Apr 2008, 19:23
by MU
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
and
/usr/local/bin/gmplayer
If yes, then delete
/usr/bin/gmplayer
That must be the old one then.
Mark
Posted: Mon 07 Apr 2008, 19:27
by edoc
I think that that step in the process was forgotten last night - I meant to ask again about it.
You speculated that the Puppy301-based ChurchPup may have installed the old version of MPlayer ... but I don't know how to best uninstall it cleanly since PupGet doesn't see it.
Posted: Mon 07 Apr 2008, 19:34
by MU
just install the new one, it should replace the old one.
Mark