FreetuxTv is a GPL Television Viewer for Linux. It uses the gtk toolkit and utilizes vlc as playback engine. It's primary focus is on watching webstreams but it can be also used to watch DVB , or utilize it as a streaming client for vdr-streamdev in the local LAN
Freetuxtv is available via the ubuntu "universe" repository.
sudo apt-get update && sudo apt-get dist-upgradesudo apt-get install vlc vlc-data vlc-plugin-pulse x264 freetuxtvIf it's outdated or if you want to test a development build read on ;)
Since FreetuxTv depends on vlc, get the latest vlc binary packages as above and install the build dependencies:
sudo apt-get install vlc libvlc-dev vlc-data vlc-plugin-pulse x264 subversion build-essential
sudo apt-get build-dep freetuxtvget freetuxtv source ( svn checkout)
cd $HOMEsvn checkout http://freetuxtv.googlecode.com/svn/trunk/ freetuxtvcd freetux./autogen.sh --prefix=/usrmake && cd ..sudo checkinstall -D --install=yes --fstrans=no --pakdir "freetuxtv" --pkgname freetuxtv --backup=no --deldoc=yes --deldesc=yes --delspec=yes --default --pkgversion "0.6.6~svn$(LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2)"After the install completed start it with
freetuxtvAt the first run freetuxtv will synchronize the list of online tv channels. Depending on your connection speed this might take some time so be patient.
Freetux channels.m3u example
dvb://#EXTINF:0,RTL 2 CH(MEDIA BROADCAST)#EXTVLCOPT:dvb-adapter=0#EXTVLCOPT:dvb-frequency=11054000#EXTVLCOPT:dvb-srate=27500000#EXTVLCOPT:program=8004#EXTVLCOPT:dvb-voltage=18Scan the Sattelite:
scan your channels (szap format) using scan or w_scan
w_scan -fs -s S13E0 -X -R 0 -O 0 -E 0 |tee channels.confand use this script to generate your channels list m3u
#!/bin/bashPLAYLIST=$2SOURCEFILE=$1# Place header in playlist fileecho "#EXTM3U" > $PLAYLIST# Read the dvbutils channel fileecho "please wait whilst $SOURCEFILE is parsed"cat $SOURCEFILE | while read LINE# Parse the channel name, frequency, symbol rate, service ID, and polaritydo CHANNELNAME=$(echo "$LINE" | sed 's/\:.*$//') CHANNELFREQ=$(echo $LINE | sed 's/\:/+/1' | sed 's/.*+//' | sed 's/\:.*//' | sed 's/$/000/') CHANNELSYMBRATE=$(echo $LINE | sed 's/\:/+/4' | sed 's/.*+//' | sed 's/\:.*//' | sed 's/$/000/') CHANNELSERVICEID=$(echo "$LINE" | sed 's/^.*\://') CHANNELPOLARITY=$(echo "$LINE" | sed 's/\:/+/2' | sed 's/.*+//' | sed 's/\:.*//')# echo the channel information into the correctly formatted playlist echo "#EXTINF:0,$CHANNELNAME" >> $PLAYLIST echo "#EXTVLCOPT:dvb-adapter=0" >> $PLAYLIST echo "#EXTVLCOPT:dvb-frequency=$CHANNELFREQ" >> $PLAYLIST echo "#EXTVLCOPT:dvb-srate=$CHANNELSYMBRATE" >> $PLAYLIST echo "#EXTVLCOPT:program=$CHANNELSERVICEID" >> $PLAYLISTif [ z$CHANNELPOLARITY == zh ]; then echo "#EXTVLCOPT:dvb-voltage=18" >> $PLAYLISTelse echo "#EXTVLCOPT:dvb-voltage=13" >> $PLAYLIST fi echo "dvb://" >> $PLAYLISTdoneecho "$PLAYLIST created"echo "to play type:"echo "vlc $PLAYLIST"copy and paste script content in text file named dvb2vlc.sh
and make it executable
chmod +x dvb2vlc.shnow, generate your channels like:
./dvb2vlc.sh channels.conf channels.m3unext, open Freetuxtv, and go to channles/add group
and go to "Custum channels group" tab, put your channles group name and "playlist URI" exp: /home/jim/channels.m3u and "add"
i use freetux mainly as a desktop frontend for vdr (via streamdev plugin). To import your vdr channels go to the streamdev webfrontend (usually this is http://<vdr-ip>:3000/ ) , choose TS mode and click on the playlist link that will generate a "channels.m3u" file. Save this to your hd.
In Freetuxtv click on Channels - Add a Group - Custom Channels Group
Group's Name: VDRPlaylist's URI: /home/jim/Downloads/channels.m3uClick on the add button & enjoy your VDR Channels in Freetuxtv