Results 1 to 5 of 5

Thread: How to: Hauppauge PVR150/250/350/500 TV card working in Ubuntu

  1. #1
    Join Date
    Dec 2004
    Location
    Atlanta, GA USA
    Beans
    7,257
    Distro
    Ubuntu Development Release

    How to: Hauppauge PVR150/250/350/500 TV card working in Ubuntu

    I posted a tutorial a long time ago for this, but thought I would revive it for anyone that may need it searching on google or on the forums.

    If you have a Hauppauge PVR150/250/350/500 tv tuner card (or any ivtv based card) on your computer, this tutorial will show you how to get TV working in Ubuntu. And for users of other distros, everything is the same except for how to get ivtv-utils. Check your package manager to download ivtv drivers.

    Do: (Leave out vlc if you already have it.)
    Code:
    sudo apt-get install ivtv-utils vlc
    Open VLC player

    Media -> Open Capture Device -> PVR (from pull down menu) -> Play.

    Then you can do (in terminal)

    Code:
    ivtv-tune -c25
    (25 is channel number)

    Which changes the channel. (this is for people that have cable coming into their computer directly, and NOT coming from the cable box)

    If your signal is coming from a cable or satellite box, do ivtv-tune -c3 and change the channel on the box.

    Code:
    ivtv-tune -h
    To see the options which control the card, but you probably won't need to change anything for TV.


    For a cool desktop tv remote,(so you dont have to use terminal to change channels, or to start tv) go to: http://tvremote.sourceforge.net/ Highly recommended.

    Remember to have Java installed first. Then you can right click>properties> open with> java. Also go to the permissions tab and make executable. After that, just click normally to launch.

    To record tv while you're watching, in VLC, go to Views and check off advanced contols. You will then see a record button in vlc's interface. All recordings will be saved to your home folder.

    For another way to watch and schedule TV recordings, there is also TV-Viewer. A good GUI-based way of recording and watching TV.

    For those who prefer the command line method, we are going to use cron for the job.

    We need to make sure you are a member of the crontab group first. Go to System>Administration>Users and Groups and unlock the window by clicking the keys button, or the "unlock" button. Enter password. Then click on Manage Groups button. Scroll down until you see the crontab entry. Highlight it, and then click on Properties. Check your name if it is not already. Log out and then back in.

    First, select which channel you want to record by: (we will use channel 25 as an example)
    Code:
    ivtv-tune -c25
    Then, in the same terminal window, do:
    Code:
    crontab -e
    Delete everything you see in there.

    Then as an example of a recording you want done on Dec. 31 4:00 PM to 5:30 PM, you would enter in crontab: (see below for an explanation of how cron works)
    # start recording
    00 16 31 12 05 cat /dev/video0 > /home/user_name/name_of_show.mpg
    # stop recording
    30 17 31 12 05 killall cat

    To save the job, do Ctrl-X then Y then Enter.

    Remember to put your user name in after /home. You can name the show whatever you want, just make sure you have .mpg after the name.

    For those not familiar with cron, in the line 00 16 31 12 05 cat /dev/video0 > /home/user_name/name_of_show.mpg

    00 represents the minutes of the hour (4:00), 16 is the hour (4:00 a 24 hour clock is used. 12 midnight would be 00, 1 AM would be 01, etc.), 31 is the date, 12 is the month, 05 is the day of the week -Thurs. in this case. (Sunday is 00, Monday is 01, etc)

    You may also find the following link useful. Thanks to MeKino for this. http://ubuntuforums.org/showthread.php?t=758845

    wolfen69
    Last edited by wolfen69; February 20th, 2012 at 12:40 AM.

  2. #2
    Join Date
    Jun 2010
    Beans
    1

    Re: How to: Hauppauge PVR150/250/350/500 TV card working in Ubuntu

    does closed captioning work for you? (I'm also in the USA).

    I have a few 150's and 500's. They work fine but I can't get the closed captions to work.

    v4l2-ctl --set-fmt-sliced-vbi=cc -c stream_vbi_format=1 -d0

    When I set stream_vbi_format=1, the video that gets recorded becomes extremely choppy. I've tried values 1-5 and can't get any vbi data.

    I'm checking via ccextractor and media info.

  3. #3
    Join Date
    Jan 2006
    Beans
    53

    Re: How to: Hauppauge PVR150/250/350/500 TV card working in Ubuntu

    Do you know if the the same tools will work with the WinTV-HVR cards?

    Thanks!

  4. #4
    Join Date
    Jul 2007
    Beans
    3

    Re: How to: Hauppauge PVR150/250/350/500 TV card working in Ubuntu

    my pvr 150 device works well with ubuntu (mythbuntu) 11.04. but ivtv-radio always gives a static abnormal sound irrespective of the frequency under mythbuntu 11.10 beta 2. but tv tuner still works. when reverted back to 11.04, it worked again without any issue. any idea?

    thanks in advance.

  5. #5
    Join Date
    Dec 2004
    Location
    Atlanta, GA USA
    Beans
    7,257
    Distro
    Ubuntu Development Release

    Re: How to: Hauppauge PVR150/250/350/500 TV card working in Ubuntu

    Quote Originally Posted by erangaj View Post
    my pvr 150 device works well with ubuntu (mythbuntu) 11.04. but ivtv-radio always gives a static abnormal sound irrespective of the frequency under mythbuntu 11.10 beta 2. but tv tuner still works. when reverted back to 11.04, it worked again without any issue. any idea?

    thanks in advance.
    To be honest, I've never used the radio function. It would be nice if someone could add to this discussion, and shed some light on it.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •