![]() |
|||||
| Home | Search | {msgAddContent} | Ask question | {msgOpenQuestions} | Help |
Categories
|
|
![]() |
After having a lot of success with my previous TV Tuner, I decided to upgrade to a higher quality board that included more features like a FM tuner. The board I picked was a Hauppauge WinTV Radio. The board has these features
|
For almost all TV boards there is a great module included with the 2.4.x+ tree called BTTV (http://bytesex.org/bttv/). This supports a ton of chipset and has lots of nice tweakable features. And since it's included in the main kernel branch life is even better. Most distrubtions include it as a loadable module that you can just modprobe or insmod.
After installing the board and loading the modules, you should see something like this in your kernel logs.
<?php
[kernel] bttv: driver version 0.9.4 loaded
[kernel] bttv: using 8 buffers with 2080k (520 pages) each for capture
[kernel] bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
[kernel] bttv0: using: BT878(Hauppauge (bt878)) [card=10,autodetected]
[kernel] bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
[kernel] tuner: chip found @ 0xc2
[kernel] tuner(bttv): type forced to 2 (Philips NTSC (FI1236,FM1236 and compatibles)) [insmod]
[kernel] bttv0: Hauppauge eeprom: model=44371, tuner=Philips FM1236 (2), radio=yes
[kernel] tuner: type already set (2)
[kernel] msp34xx: init: chip=MSP3435G-B6 +nicam +simple +radio
[kernel] tvaudio: TV audio decoder + audio/video mux driver
[kernel] bttv0: registered device video0
[kernel] bttv0: registered device vbi0
[kernel] bttv0: registered device radio0
?>
Tvtime is a high quality TV viewer with lots of processing to give the best picture for your card. Along with having lots of high quality de-interlacing modes, it also has a great full screen mode. Tvtime also supports auto-scan, naming, and enable/disabling channels. Once you have your channels setup, you can very quickly surf through them with using the mouse scroll wheel. Or any other key you want to use via-remapping it in the configuration file. Take a look at a few screenshots of version 0.9.9-pre17 below. NOTE: These images were changed to JPEG to save bandwidth and reduce download time. So there may be JPEG artifacts from the compression, they are not from tvtime. |
|
|
![]() |
GQRadio is a great FM tuner app for this board. Current I'm using version 0.99 and have had no problems at all with it. Very strait forward, easy to use and has a nice range of features. It's skinnable and even has a RGB Tint so you can tweak sinks to match your fancy. |
If you're like me, you hate having to watch commericals. It's also sometimes hard to always be around when shows you'd like to see are on. The answer is a simple bash script and streamer which is part of the xawtv package. Streamer allows you to record from your TV card to many different formats. I use a cron job and a simple bash script to record shows and watch them later using xine to skip commericals. One nice note, by default xine skips 60 seconds (usually two commericals) so it's almost perfect for watching pre-recorded shows.
<?php
#!/bin/bash
# ================= record-tv.sh ==========================
# = copyright 2003 by Greg Watson <gwatson> =
# = GPL2 License =
# = usage record-tv.sh prefix-filename record-time channel =
# = Example: ./record-tv.sh enterprise 61:00 20 =
# ==========================================================
# Version 0.8
# Last Mod: Wed Jan 7 12:48:15 MST 2004
# Output directory
OUTPUT=$HOME/NFSHOME/vcr
# Streamer location
STREAMER=/usr/bin/streamer
# Alsa Mixer
AMIXER=/usr/bin/amixer
# v4lctl path
V4LCTL=/usr/bin/v4lctl
# Capture Volume to ensure sound is recorded (80%)
CAPTURE_VOLUME=100
# Tvtime settings file for color/brightness/contrast values
TVTIME=$HOME/.tvtime/tvtime.xml
# End of Config
###############
# check if I'm running TV, if so just exit
if [ `ps -C tvtime | grep -c tvtime` -gt 0 ]; then
echo "TVtime is running, aborting recording."
exit
fi
# If the filename prefix wasn't given, set it to 'recording'
if [ -z $1 ]; then
PREFIX="recording"
else
PREFIX=$1
fi
# if time is blank, record for 30 minutes
if [ -z $2 ]; then
TIME="30:00"
else
TIME=$2
fi
if [ ! -z $3 ]; then
$V4LCTL setchannel $3
fi
# Check for vcr dir
if [ ! -x $OUTPUT ]; then
mkdir $OUTPUT
fi
DATE=`date +%m-%d-%Y-%H:%M`
# Set the AC97 volume to 0 (so we don't hear the sounds)
# Get mixer values first
PLAY_VOL=`$AMIXER cget name='Analog Mix Playback Volume' | grep : | sed 's/^.*=\([^,]*\).*$/\1/'`
CAP_VOL=`$AMIXER cget name='Analog Mix Capture Volume' | grep : | sed 's/^.*=\([^,]*\).*$/\1/'`
# Fix for my card since sometimes it wants to record PCM, which I DON'T Want
$AMIXER -q cset name='PCM Capture Volume' 0
$AMIXER -q cset name='Analog Mix Playback Volume' 0
# We want to ensure that volume is set (just in case it wasn't before)
$AMIXER -q cset name='Analog Mix Capture Volume' $CAPTURE_VOLUME
# if tvtime.xml is set, then grab settings out of it
if [ -f $TVTIME ]; then
CONTRAST=`cat ${TVTIME} | grep DefaultContrast | sed 's/^.*value="\([^"]*\).*$/\1/'`
BRIGHTNESS=`cat ${TVTIME} | grep DefaultBrightness | sed 's/^.*value="\([^"]*\).*$/\1/'`
COLOR=`cat ${TVTIME} | grep DefaultColour | sed 's/^.*value="\([^"]*\).*$/\1/'`
HUE=`cat ${TVTIME} | grep DefaultHue | sed 's/^.*value="\([^"]*\).*$/\1/'`
$V4LCTL bright ${BRIGHTNESS}% color ${COLOR}% contrast ${CONTRAST}% hue ${HUE}%
fi
$STREAMER -p 4 -q -t ${TIME} -r 24 -q -o ${OUTPUT}/${PREFIX}-${DATE}-${TIME}.avi -j 90 -f mjpeg -F mono16
# Sometimes streamer doesn't always re-mute audio, mute it again just to be sure
$V4LCTL volume mute on
# Restore volumes
$AMIXER -q cset name='Analog Mix Playback Volume' $PLAY_VOL
$AMIXER -q cset name='Analog Mix Capture Volume' $CAP_VOL</gwatson>
?>
Download HereThen to use it, add a cronjob like this:
<?php
# Record Enterprise Wed 1859-2001 (start 1min early and go 1min long just to be sure)
59 18 * * Wed $HOME/vcr/record-tv.sh enterprise 62:00 20
?>
You will more then likely want to change the quality. This is just a very low quality recording but I generally don't mind as I'm watching broadcast signal anyway. This also only uses 5-10% CPU so it's not using up system resources! To improve the quality, just edit the $STREAMER line to the format you want. Supported formats can be found using streamer --help.
Last update: 2005-04-30 01:53
Author: Erkan Kaplan
printer-friendly version
Send to a friend
Show this as PDF file
export as XML-File
You cannot comment on this entry
Comment of wow gold:
what is world of warcraft? world of warcraft gold (commonly known as wow gold) is a massively multiplayer online sell wow gold game (ffxi gil).if you want to be the most powerful in game, you should have the enough buy wow gold then you can buy wow gold for sale, equipment, etc. but farming cheap wow gold is very boring and waste a lot of power level. now, when wow power level you can buy wow power leveling from us, just one minute world of warcraft power leveling, you will be rich in wow powerleveling.
Comment of seo:
seoof
银行pos机qualities
网站关键词优化symbolizes
长尾关键词its
关键词排名its
链接锚文本or
沙盒效应writing
反向链接communicates
死链接kinship
软文To
Google网站管理员工具is
google关键词分析工具a
博客群发or
文化衫tender
杭州室内装饰give
杭州店面装修toward
杭州办公室装修amuscular
缝纫机维修suddenly
杭州江干区空调维修sounds
腻子粉of morphemes.
杭州植物租赁give
pos机代办tender
seosense
杭州花卉出租ineffable
杭州室内装修is
杭州花卉租赁its
杭州搬家other
杭州搬家ineffable
电雕机combination
缝纫机维修培训or
复印机attractive
杭州效果图制作feeling
温度记录仪a
Comment of morpheme:
seosuddenly
链接锚文本sounds
沙盒效应its
反向链接feet.
T恤衫of
服装缝纫机维修ground
电雕机combination
温度记录仪when
杭州复印机出租or
软文or
杭州效果图制作or
木头arm
昆明hear
萧城is
王order
去single
风of
雨deep
龙A
城motion
岁月person
怒斩hear
查询combination
头a
昆明a
萧城a
去other
去writing
雨you
Comment of of:
seoground
链接锚文本order
沙盒效应Jump
反向链接jumpping
T恤衫a
服装缝纫机维修effort
电雕机coode
温度记录仪and
杭州复印机出租tender
软文is
杭州效果图制作tender
木头in
昆明oneness
萧城deep
王attractive
去oneness
风it
雨of
龙meaning
城that
岁月the
怒斩deep
查询of
头motion
昆明that
萧城a
去an
去a
雨or
Comment of kyrsten1985:
links of london keys, the jewelry series put out by links of london, adopt the familiar shape of "key" to open a unique kind of fashion. links of london The exhibition of gold charm bracelet is acted by the super model, Karen Elson, who perfectly shows the outstanding soul in design of links of london as a world-renowned jewelry brand. linkslondon And the creation of links of london keys is inspired by the "keys" which are collected in links of london. gold charm bracelets These collected keys, made by some experienced goldsmith and silversmith, are extremely exquisite, peculiar, and classic. link of london jewellery They are mainly used in jewelry box, collection box, album, diary, luggage, and even the key to the door of a private club or a country manor. links of london Nevertheless, the romantic "talisman" is now derived into links of london key series and those old stories also relocated themselves from the typical pendants and other ornaments of links of london. linkslondon Every links of london key is elegant and special with rich history and high quality, being hung on oval or round link. While the pendants are made of 18K gold, platinum set with diamond, or genuine silver. link of london jewellery So the traditional "keys" have new meanings here. link of london jewellery The key in figure of the medal foretells the confidence and commitment to get success. links of london The romantic heart-shaped key seems to guide the mystic and loyal love. Charms The key in the shape of the flower is full of poetic feeling, displaying the female charm completely. silver links of london bracelets And the key set with bright diamond will bring you to a distinctively extravagant world. gold charm bracelet Moreover, the links of london link of london jewellery will surely display their native top sales whether they are worn respectively or in overlapped. gold charm bracelet As the keeper of secret, they have a lot of space to imagine, letting us wonder in infinite romance and enjoy sweet and warmth bought by love. gold charm bracelets
Comment of tyriq1986:
In the Radio City Music Hall, lying in New York where the 63rd Annual Tony Awards was taken place. tiffany jewellery Tiffany BraceletsA lot of Hollywood superstars all took part in this grand award ceremony. Tiffany Pendants Tiffany PendantAnne Hathaway, Jane Fonda, Susan Sarandon, Colin Hanks, and many other female stars all dressed up with extremely delicate clothes and Tiffany Ring, Tiffany Earring producing gasps of amazement in addition to applause. Tiffany Pendant First, have a look at Anne Hathaway who made herself like a ballet girl by wearing a black dress with insets of ruffled chiffon decorated with a brilliant Tiffany Charms. Tiffany Pendants Dolly Parton, being regarded as the queen of American country music, was not left behind. Tiffany Earring Tiffany PendantA piece of pink dress and a pair of Tiffany Charms with special design apply glamour and myth to her. Tiffany Necklaces Tiffany RingsTiffany RingsTiffany PendantTiffany EarringsBesides, the Oscar winner Jane Fonda wore a deep V-neck dress in black, together with latest tiffany wedding rings, extremely fascinating. Tiffany Bracelet Tiffany PendantsTiffany PendantAs for the prize, the musical play Billy Eliot is the biggest winner in this Annual Tony Awards. tiffany jewellery tiffany jewellerytiffany jewellerySo no wonder it won 15 Tony nominations, and finally achieved a good result: involved in 6 great awards. Tiffany Rings Tiffany RingsTiffany RingsAnd the author of this libretto, Lee Hall, said in an interview, Tiffany Ring Tiffany PendantsTiffany Ring"Thanks to Elton John! It's him who made a proposal to adapt this great work to a musical play." Tiffany Earring Tiffany Earringstiffany wedding ringsBased on this point, Hall and John won the Best Original Music Award at the same time. Tiffany Jewellery open heart necklaceTiffany Earring