个人工具

UbuntuHelp:Install IVTV Feisty

来自Ubuntu中文

跳转至: 导航, 搜索

<<Include(Tag/Unsupported)>> <<Include(Install_IVTV_Header)>>

Ubuntu 7.04 IVTV Installation

This driver is mainly used for the Hauppauge WinTV PVR 150, 250, 350 and 500 See also Hardware|Support Components Multimedia Hauppauge Ubuntu 7.04 includes the drivers directly. You will not need to obtain either the firmware or drivers.

Command-Line Control

The only known application that will allow for controlling an ivtv card (as in change channels on the fly and such) is MythTV. The following applications also have support for ivtv video capture, but require you to change the channels externally:

mplayer /dev/video0
  • VLC
vlc pvr:// :pvr-device="/dev/video0" :pvr-norm=0 :pvr-frequency=-1 :pvr-bitrate=-1

To change channels externally, you will need the ivtv-utils package.

  • Enable Universe
  • Install the package
sudo apt-get install ivtv-utils

You can switch channels with the ivtv-tune application:

ivtv-tune -f [channel-frequency]

Troubleshooting

Ubuntu-specific steps

See the page at Install_IVTV_Troubleshooting for Ubuntu specific troubleshooting steps. <<Include(Install_IVTV_Troubleshooting/General)>>

PVR-350 S-Video Output

If you have a PVR-350, you can use a feature of the card that allows you to output both X and MythTV to the S-Video output on the card. This S-Video output is natively 720x480, and provides an excellent picture that will rival most commercial graphics card TV-Outs. trubblemaker has written a superb howto explaining how to do this, MythTV_Feisty_hardware_pvr-350_TV-out. The guide was update from the guide written for Edgy, but should also work for Feisty.

Known Feisty-specific issues

PVR-350 TV-output

if you use the tv-out on a Hauppauge pvr-350, you will need to enable the saa7127 module, which is not included in the default feisty kernels < 2.6.20-12. Upgrading to 2.6.20-13 or newer will resolve this bug.

Black Screen

If you encounter a black/blank screen when testing your .mpg files ensure that you have a modules called fbtv-fb loaded (insmod fbtv-fb), this was not loaded in /etc/modules.conf in Feisty.

MythTV blank screen or errors

If you get problems with mythfrontend showing a black screen but your /dev/video0 show video in player or the likes and you have kernel 2.6.19+ In 'dmesg' you should see something like:

ivtv0-fb warning: IVTVFB_IOCTL_GET_FRAME_BUFFER no longer supported
ivtv0-fb warning:  - Please use FBIOGET_VSCREENINFO &  FBIOGET_FSCREENINFO
ivtv0-fb warning: IVTVFB_IOCTL_GET_ACTIVE_BUFFER no longer supported
ivtv0-fb warning:  - Please use FBIOGET_VSCREENINFO
ivtv0-fb warning: ivtv_fb_prep_frame: Nothing to do. count = 0
ivtv0-fb warning: IVTVFB_IOCTL_SET_ACTIVE_BUFFER no longer supported
ivtv0-fb warning:  - Please use FBIOPUT_VSCREENINFO

If you alt-tab while mythfrontend is running you should also then see:

2007-04-19 23:36:51.233 IVD Error: Getting frame buffer
                        eno: Invalid argument (22)
2007-04-19 23:36:51.235 IVD Error: Failed to get active buffer for ClearOSD()
                        eno: Invalid argument (22)
2007-04-19 23:36:51.236 IVD Error: Failed to prepare frame
                        eno: Invalid argument (22)
2007-04-19 23:36:51.236 IVD Error: Setting active buffer
                        eno: Invalid argument (22)
2007-04-19 23:36:51.236 Using the PVR-350 decoder/TV-out
2007-04-19 23:36:51.605 Realtime priority would require SUID as root.
2007-04-19 23:36:51.607 TV: Changing from None to WatchingLiveTV
2007-04-19 23:36:51.611 IVD Error: Failed to process frame
                        eno: Invalid argument (22)

Advice can be followed from the excellent IVTV Troubleshooting guide here where it explains that in /etc/modprobe.conf it should show:

options ivtv-fb osd_compat=1

Newer Firmware

Note this information is currently not correct. New packages will be prepared at a later time. If you would like to obtain a newer copy of the firmware (if its available) however, it is hosted at the ivtv repositories. An ubuntu repository for the firmware is hosted on ivtvdriver.org. You can add this repository so that firmware is automatically updated.

  • Add repository to /etc/apt/sources.list
sudo nano /etc/apt/sources.list

Add:

deb http://dl.ivtvdriver.org/ubuntu feisty firmware
  • Add the key this repository is built with to your apt keyring.
wget http://dl.ivtvdriver.org/ubuntu/80DF6D58.gpg -O- | sudo apt-key add -
  • Update package lists
sudo apt-get update
  • Install the firmware
DEBIAN_FRONTEND=dialog sudo apt-get install ivtv-firmware