The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: Programming E2k


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FW: [V4L] New PVR Script



Maybe of interest to others on this list.

Dave

-----Original Message-----
From: David Norwood [mailto:judapeno@xxxxxxx]
Sent: 04 July 2002 19:32
To: video4linux-list@xxxxxxx Cc: Bruce Winter
Subject: [V4L] New PVR Script


Included with the latest release of Misterhouse is a PVR script I wrote.
Misterhouse is an open source home automation program written entirely in
Perl.  It is a good platform for developing a PVR because it supports a
variety of user input methods including web, voice, IR, X10, e-mail, WAP,
and others.

v4l_pvr.pl

06/30/2002 Created by David Norwood (dnorwood2@xxxxxxx)

This script adds Personal Video Recorder (PVR) functionality to Misterhouse
systems running Linux.

Features:

- Automatically records shows that match a list of keywords
- Records shows selected from the TV listings
- Uses FFMPEGrec for recording, MPlayer for playback, and Xawtv for live TV
- Decent video quality on 400 MHz machine, 500MB/hour filesize
- Basic web interface for specifying shows to record, watching recordings
and live TV

Requirements:

- misterhouse: http://www.misterhouse.net
- A TV tuner card supported by video4linux
- Optionally, a video card with TVOUT capability
- A kernel that supports v4l1 or v4l2 and a driver for your card (probably
bttv)
  RedHat 7.2 was sufficient for me, but you can get the latest here:
http://bytesex.org/bttv/
- xawtv for watching live TV and changing channels:
http://bytesex.org/xawtv/
- avifile: http://avifile.sourceforge.net/
- ffmpeg: http://ffmpeg.sourceforge.net/
- nvrec: http://nvrec.sourceforge.net/
- mplayer for video playback: http://www.mplayerhq.hu/homepage/
- a2x for controlling X windows applications:
http://www.cl.cam.ac.uk/a2x-voice/a2x-faq.html

Setup:

Install and configure all the above software. Copy the following scripts
into your misterhouse
code directory.

mh/code/public/v4l_pvr.pl
mh/code/bruce/internet_logon.pl
mh/code/bruce/tv_info.pl

Delete tv_grid.pl from your code directory if you have it.

Set the following parameters in your private mh.ini file.

pvr_video_dir=/bigdisk/videos # optional, defaults to
"$config_parms{data_dir}/videos"
html_select_length=9999 # causes web interface to list commands separately
zip_code=91360 # go to http://tv.zap2it.com and enter your zip code...
tv_provider=296974 # select your provider, click View Listings, code will be
in URL
tv_hours=0,2,4,6,8,10,12,14,16,18,20,22 # ensures show database will be
complete

Restart misterhouse, browse to http://localhost:8080/mh4, and click on PVR.

Problems:

- videos don't play directly on Windows
- videos don't contain index according to mplayer
- zap2it show data only has half hour resolution



_______________________________________________
Video4linux-list mailing list
Video4linux-list@xxxxxxx https://listman.redhat.com/mailman/listinfo/video4linux-list

Yahoo! Groups Sponsor
ADVERTISEMENT

For more information: http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe:  ukha_d-subscribe@xxxxxxx
Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
List owner:  ukha_d-owner@xxxxxxx

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.