[MPlayer-users] Using mplayer to watch TV on linux

ying lcs yinglcs at gmail.com
Fri Nov 30 07:09:22 CET 2007


Hi,

I am trying to use mplayer to watch TV using tv card Hauppauge WinTV
HVR 950 on ubuntu 7.10.

I try this command " mplayer tv:// -tv driver=v4l2 "
But all I get is a black and white static screen and there is no audio.

Can you please tell me how can I use mplayer to watch tv?

Thank you.


$ mplayer tv:// -tv driver=v4l2
MPlayer 1.0rc2-4.1.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM) Duo CPU      T2500  @ 2.00GHz (Family: 6,
Model: 14, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
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: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski at zpr.uni-koeln.de>
 comment: first try, more to come ;-)
Selected device: Hauppauge WinTV HVR 950
 Tuner cap:
 Tuner rxs:
 Capabilites:  video capture  tuner  audio  read/write  streaming
 supported norms: 0 = PAL-BG; 1 = PAL-DK; 2 = PAL-I; 3 = NTSC; 4 =
SECAM L; 5 = SECAM LC; 6 = SECAM K1; 7 = PAL-M;
 inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
 Current input: 0
 Current format: YUYV
v4l2: current audio mode is : MONO
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
Xlib:  extension "XFree86-VidModeExtension" missing on display ":1.0".
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Packed YUY2)
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Packed YUY2
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Starting playback...
No bind found for key 'MOUSE_BTN2'.
No bind found for key 'MOUSE_BTN2'.
TV input is not seekable! (Seeking will probably be for changing channels ;)
TV input is not seekable! (Seeking will probably be for changing channels ;)
TV input is not seekable! (Seeking will probably be for changing channels ;)
TV input is not seekable! (Seeking will probably be for changing channels ;)
TV input is not seekable! (Seeking will probably be for changing channels ;)
TV input is not seekable! (Seeking will probably be for changing channels ;)
TV input is not seekable! (Seeking will probably be for changing channels ;)
TV input is not seekable! (Seeking will probably be for changing channels ;)
TV input is not seekable! (Seeking will probably be for changing channels ;)
TV input is not seekable! (Seeking will probably be for changing channels ;)
TV input is not seekable! (Seeking will probably be for changing channels ;)
TV input is not seekable! (Seeking will probably be for changing channels ;)
TV input is not seekable! (Seeking will probably be for changing channels ;)
TV input is not seekable! (Seeking will probably be for changing channels ;)
v4l2: 409 frames successfully processed, 5 frames dropped.
gnome_screensaver_control()
Exiting... (Quit)
scheung at scheung-laptop:~$ mplayer tv:// -tv driver=v4l2
MPlayer 1.0rc2-4.1.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM) Duo CPU      T2500  @ 2.00GHz (Family: 6,
Model: 14, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
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: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski at zpr.uni-koeln.de>
 comment: first try, more to come ;-)
Selected device: Hauppauge WinTV HVR 950
 Tuner cap:
 Tuner rxs:
 Capabilites:  video capture  tuner  audio  read/write  streaming
 supported norms: 0 = PAL-BG; 1 = PAL-DK; 2 = PAL-I; 3 = NTSC; 4 =
SECAM L; 5 = SECAM LC; 6 = SECAM K1; 7 = PAL-M;
 inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
 Current input: 0
 Current format: YUYV
v4l2: current audio mode is : MONO
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
Xlib:  extension "XFree86-VidModeExtension" missing on display ":1.0".
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Packed YUY2)
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Packed YUY2
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Starting playback...
v4l2: 83 frames successfully processed, 3 frames dropped.
gnome_screensaver_control()
Exiting... (Quit)



More information about the MPlayer-users mailing list