[quote=virus]
prova con questo:
$ mplayer tv:// -tv driver=v4l:device=/dev/video0:width=160:height=120:fps=50
Risultato:
[code]$ mplayer tv:// -tv driver=v4l:device=/dev/video0:width=160:height=120:fps=50
MPlayer SVN-r28461-4.3.2 © 2000-2009 MPlayer Team
CPU: AMD Athlon™ XP 2200+ (Family: 6, Model: 8, Stepping: 0)
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://.
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: CIF Single Chip
Capabilites: capture
Device type: 1
Supported sizes: 48x32 => 352x288
Inputs: 1
0: pac207: (tuner:0, norm:pal)
Using input ‘pac207’
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
Unknown norm!
Error: Cannot set norm!
Selected input hasn’t got a tuner!
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 160 x 120 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 160x120 => 160x120 Planar YV12
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
Audio: no sound
Starting playback…
ioctl mcapture failed: Invalid argument
ioctl mcapture failed: Invalid argument
ioctl mcapture failed: Invalid argument
V:-9223372036854.8 7/ 7 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
V:-9223372036854.8 9/ 9 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
V:-9223372036854.8 10/ 10 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
V:-9223372036854.8 15/ 15 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
V:-9223372036854.8 17/ 17 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
ioctl mcapture failed: Invalid argument
V:-9223372036854.8 23/ 23 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
V:-9223372036854.8 24/ 24 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
ioctl mcapture failed: Invalid argument
V:-9223372036854.8 31/ 31 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
V:-9223372036854.8 34/ 34 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument[/code]
L’errore continuava a ripetizione finchè non ho chiuso il mediaplayer!