Difference between revisions of "Watch tv using a hauppauge pvr usb 2 and ubuntu 11.10"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 27: Line 27:
 
* now it is time to see if there is any video signal at all from the TV tuner. Expect to see snow or a TV channel with this command:
 
* now it is time to see if there is any video signal at all from the TV tuner. Expect to see snow or a TV channel with this command:
 
  mplayer /dev/video0
 
  mplayer /dev/video0
 +
 +
= See also =
 +
* [[watch TV]]

Revision as of 15:19, 4 December 2011

To watch TV using my Hauppauge PVR USB 2 tuner and Ubuntu 11.10

  • install Ubuntu 11.10
  • install vlc
  • find out which video devices you have. Video devices can come e.g. from your webcam and - when we have it connected - from your TV tuner:
$ ls /dev/video*
ls: cannot access /dev/video*: No such file or directory
in this case we do not have a webcam or any other video device seen by the system.
  • plug your tuner into a USB slot, connect the antenna cable and connect power
  • find out which video device has been added:
$ ls /dev/video*
/dev/video0
in this case, /dev/video0 is our video device
  • kill all processes that block your video device:
$ lsof | grep video
nautilus  1769  bootstick  mem       REG       8,34    46824    3691 /usr/lib/libgstvideo-0.10.so.0.24.0
ok, there is a process nautilus blocking the video device. Kill it
$ killall nautilus
verify it is killed
$ killall nautilus
nautilus: no process found
verify there is no other process
$ lsof | grep video
$
good
  • install a video viewer
sudo apt-get install mplayer
  • now it is time to see if there is any video signal at all from the TV tuner. Expect to see snow or a TV channel with this command:
mplayer /dev/video0

See also