Hi all,

I've been lurking around using others good ideas for some time, so I
thought was time to return something.

Like a few others on these forums I've been looking to replace my
trusty  WaveFinder DAB radio with DVB-T. A few advantages being:
- Better quality audio
- No more need for Win2k Virtual Machine just for DAB (I have a Linux
based squeezecenter)
- More stations (DAB has few stations in my area now)
- Lower power usage (both USB DVB-T stick vs WaveFinder and lower CPU
use)

I've seen a few people suggesting DVB-Shout, but I really wanted the
(DABBar like) ability to switch channels across multiplexes through
squeezecenter. Also setting up a shoutcast server just to serve a the
local squeezecenter seemed overkill.

So I have thrown together a perl based solution - dvbserver.pl
http://shed.interdog.co.uk/dvbserver.pl
As noted below, you will also need getstream from
http://silicon-verl.de/home/flo/projects/streaming/

It's not highly polished, but it works. Full details and instructions
are in the comments at the top of the perl, and copied below for
reference:

# Summary
#   A simple HTTP server to stream audio from DVB-T stations on Linux
systems.
#   The primary goal is to provide DVB Radio to squeezecenter from
Logitech (see http://www.slimdevices.com)
#   Currently only supports DVB-T (my DVB-S revievers are dedicated to
mythtv!). Could be modified others.
#
# Changes
#   Version 1.0 Graham Chapman - 6th November 2008
#     First Release!
#
# Features
#   - Uses a standard format (from dvbscan) channels.conf file
#   - Automatically retunes when a channel from a different multiplex
is requested.
#   - Stream multiple stations from one multiplex concurrently
#   - Stream audio from TV channels or Radio (audio only) channels
#   - Serves an HTML channel list linking to playlists (PLS Format) for
easy configuration of squeezecenter
#
# Streams a 44.1KHz, 16Bit Stereo WAV format, suited for use on same
host as squeezecenter server, where
# bandwidth is less important than CPU usage. Could be easily modified
to stream MP3 or FLAC is required.
#
# Requirements
#   - Linux installation with working DVB-T Card
#   - Perl with IO::Socket support
#   - getstream - available from:
http://silicon-verl.de/home/flo/projects/streaming/
#     This must be available in the path of the user running
dvbserver.pl
#     dvbserver.pl will automatically generate configuration files and
launch as required
#   - mplayer - must be available in the path of the user running
dvbserver.pl
#   - ps - must be available in the path of the user running
dvbserver.pl
#   - killall - must be available in the path of the user running
dvbserver.pl
#   - dvbscan style channels.conf file at /etc/dvbstream.conf
#
# Quick start
#
# 1) Edit the 'You may need to change these' section below, in
particular the DVB card ID (Default is 3!)
# 2) Use dvbscan to create a channel list at /etc/dvbserver.conf
(unless you changed the name below)
# 3) Check you have 'requirements' above
# 4) Launch dvbserver.pl
# 5) Point a web browser at http://yourhostnamehere:9001/
# 6) Either:
#     Copy a single channel link and paste it into Squeezecenter,
Internet Radio, Tune In URL
#    Or:
#     Download a channel playlist and save in your Squeezecenter
playlists folder (remember to rescan playlists).
# 7) If you like it, add dvbserver.pl to your system startup init
scripts.
#
# In case of problems, use the -d switch to enable verbose output.
#
# Known Limitations
#  - Only supports DVB-T at present
#  - Long (15s) delay for stream to start - seems to be mplayer locking
on to DVB stream


-- 
f948lan
------------------------------------------------------------------------
f948lan's Profile: http://forums.slimdevices.com/member.php?userid=3961
View this thread: http://forums.slimdevices.com/showthread.php?t=54713

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to