Вы находитесь на странице: 1из 5

Freesat Freeview Euro Tv Sky

The best kit, The best programmes

Project
Step-by-step guides to making
the most of your digital TV

august 2010
Dreambox remote
video streaming
Visit Wotsat.com for daily news,
Want to see more? reviews and updates from the world of
digital TV, or join our forums.
dreambox

You can watch your Dreambox or Linux sat receiver over the internet from
anywhere in the world by following these simple steps

The typical Linux-based PVR already provides – or you’ve set up your machine for remote access, then these Turn your Linux-based
can easily be upgraded to provide – some nifty files can be accessible from anywhere in the world via FTP – satellite receiver into a
networking-related functions that place it ahead of provided the password and username are entered. Some of secure internet video
streamer so you’re never out
the crowd. First of all, there’s the ‘web interface’ which – as these ideas were explained in earlier projects that you can of touch
its name suggests – allows the box to be remotely find online at wotsat.techradar.com/techzone/projects.
controlled via a standard web browser. That browser could In this article, though, we’ll discuss how these
be running on a PC or PDA connected to your home networking elements can be harnessed to provide a very
network – or, with appropriate setup, the internet itself. useful feature – the streaming of a TV channel over the
Then there’s the ability to stream video, as received by the internet so it can be viewed from anywhere in the world
tuner (i.e. the transport stream that carries the service, and with a sufficiently fast internet connection. To do this we’ll
so with no quality loss) over the network. And finally there’s be using the ‘Tunisia Dreambox player and streamer 6.04’
the ability to act as an FTP (File Transfer Protocol) server. application – we tried others like Dreamview, but had
Basically, this means that you can transfer recordings trouble getting them to work. That will be the focus of our
from your Linux PVR’s own HDD to a networked computer second project; the first will detail the preparation needed.
for backup, conversion into DivX or DVD authoring via a Although the article refers specifically to the Dreambox,
standard piece of software known as a FTP client. If your there’s no reason why other Linux-based receivers (notably
box has multimedia ‘jukebox’ capabilities you can transfer ones running Enigma/Enigma 2) couldn’t be used here –
the files you want to play in the opposite direction, from PC although some tweaks of settings may be required the
to PVR, not that such files are limited to multimedia types. If same basic principles will apply n Martin Pipe

2  What Satellite & Digital TV August 2010


project

Project 1: Preparation (a quick guide to some of the procedures outlined in the earlier articles)

Get networked! Although some of the Ensure that the parameters relevant to your Find an image compatible with your
01 latest Linux receivers have Wi-Fi built in, we 02 home network are correct on the receiver 03 receiver. For our Dreambox DM800 we
recommend using wired Ethernet – it’s capable of (menu/setup/system/network/device setup/ chose the Jade firmware from www.pli-images.
higher speeds and this is important as our third adapter settings). DHCP – which does this org. Save this to your PC and unzip it –
project involves streaming a channel (typically at automatically and derives settings like the IP compatible images have an .nfi extension. Shut
a data rate of 3.5-4Mb/s) to a PC for transcoding address and gateway for you – is usually enabled down your receiver (hold down the power button
into an internet-friendlier form. Connect the by default. The current settings should be shown. and select deep standby. Disconnect power from
Ethernet port of your receiver to a spare port on Take a note of the receiver’s IP address. Next, the receiver. While reapplying power, hold down
your broadband router. update your receiver to the latest firmware. the standby button on the front panel.

This activates the bootloader. On the When that’s completed, restart the receiver. It’s now time to make your receiver
04 receiver’s front panel display – if available 05 Ensure that the web interface is active; go 06 accessible over the internet. To do this,
– the IP address (which should be identical to the to menu/plug-ins – and check that it’s listed. If something known as ‘port forwarding’ needs to
one your noted earlier) should be shown. Enter not, choose the ‘download plug-ins’ option, find it be set up on your home network’s gateway
this IP address into the web browser of the PC in the list that appears and select it for router (the gadget, usually provided by ISPs, that
you downloaded the firmware to, and at the installation. It should then appear in the plug-ins allows multiple wireless or wired devices to share
bottom of the screen you should see a ‘firmware list. Click on the item, and ensure that the ‘Start the same broadband connection). These devices
upgrade’ link. Click on this and locate the .nfi file. Webinterface’ option is set to ‘yes’. feature an internal security firewall, which should
Then click on ‘flash!’ to initiate the upgrade. by bypassed only for the relevant traffic.

We’re using a Belkin router but similar Now we move to the second available If you require remote FTP access we must
07 principles apply to other models (if you’re 08 column. Enter the receiver’s name into the 09 allow these connections to access port 21.
struggling try portforward.com). Log in and description box; for ‘inbound (or public) port’, In the next available column enter the receiver’s
select the ‘virtual servers’ firewall option, and use enter ‘8001’; for ‘type’, select ‘TCP’; into the name into the description box. For ‘inbound (or
the first blank column. Put name of your receiver (private) IP address box, enter the IP address of public) port’, enter ‘21’; for ‘type’, select ‘TCP’; into
in the ‘description’ box the (e.g. ‘Dreambox’). For your receiver; for private (or outgoing) port, enter the (private) IP address box, enter the IP address
inbound port and private (outgoing) port specify ‘8001’. Ensure that both are enabled – usually via of your receiver; for private (or outgoing) port,
‘80’; for ‘type’, select ‘TCP’; for (private) IP address, a checkbox in the relevant column. Click on ‘save’ enter ‘21’. Check your changes via a checkbox in
enter the IP address of your receiver. or ‘apply’. the relevant column. Click on ‘save’ or ‘apply’.

August 2010  What Satellite & Digital TV  3


Project 2: Set up a free account with Dynamic DNS
Other free providers include
No-IP, ChangeIP and 2myDNS

Premium features remove ads


and offer better domain names

Pick a name and domain you can


remember

This option is the basic way to


track your IP address

You shouldn’t need to look up


your external IP address

You can also use Dynamic DNS to


access your e-mail remotely

With your port forwarding set up, remote internet name you can remember and enter for the first part of the
connections should now be able to reach your receiver. domain name something equally memorable to you. Using
However, you need to know your numerical IP address, the this service requires confirmation – you’ll be sent an e-mail
set of four ‘triplets’ which lie behind every website address containing a link that enables you to continue registration.
on the internet – and even then, that’s not as
straightforward as would first appear. It’s also useful to have Once you’ve completed the process, entering your
a domain name you can remember more easily than a
04 allocated domain name into a browser on a
12-digit IP address. networked home PC will take you to your wireless router’s
configuration page. But when you enter the domain into a
To be able to access features like the web interface networked PC, you should instead see your receiver’s web
01 and streaming from internet-connected devices you interface. To ensure that all is well before travelling, it might
could enter the IP address that your internet service be a good idea to call up a friend and ask him to try it. Of
provider (ISP) assigns to you. Unfortunately, most domestic course, anyone else can see it too, so make sure you’ve
ISPs allocate IP addresses to their subscribers ‘dynamically’. picked a strong password.
This means that the assigned IP address could change if
your router is rebooted or the connection is dropped and
restarted – and as a result you will have no idea of what to
Toolkit
type into the web browser of your remote PC from one day n A Dreambox or similar Linux receiver
to the next. n A home network based around a router or hub – ideally connected
to the internet via broadband
n An Ethernet cable of sufficient length to connect your Linux-
Happily, there’s a solution in the form of ‘dynamic powered receiver to the network
02 domain name’ services – the one we’ll be using is n A personal computer (Pentium 4 minimum, dual-core
DynDNS (www.dyndns.com). This service assigns a domain recommended), also connected to your network (for streaming and
FTP)
name (more memorable than numbers) to your IP address n Dream Multimedia website (information and official firmwares for
– if it detects that your IP address has changed, then it will Dreambox receivers):
automatically acquire your new address. The basic service is www.dream-multimedia-tv.de
n Jade firmware: www.pli-images.org
free but you have to renew it every month. In addition, it n VLC Media Player: www.videolan.org
gives you a limited choice of ‘preset’ top-level domains. n Windows FTP client (WinSCP): winscp.net
n DynDNS: www.dyndns.com
n Dreambox player and streamer 6.04 application:
Go to the site, click on the ‘create account’ option and
03 follow the instructions. It’s easy to do – indeed, www.mfaraj57.9k.com
n Help with port forwarding and almost any other router setup
DynDNS will even detect your current IP address, sparing problem: www.portforward.com
you the trouble of entering it. Choose a preset domain

4  What Satellite & Digital TV August 2010


project

Project 3: Streaming to the outside world

You may be able to stream video on the local The trick is to use a PC to accept these bit Install both of these programs. Start up
network via the web interface (discussed with
01 streams from the Dreambox over the 02 DPAS and click on ‘settings’. From the
VLC in an earlier article) but here the video network, recompress and restream them in a pull-down menu select the Dreambox model
consists of the data streams as received by the broadband-friendlier form – the PC has to be you’re using and enter its IP address. Ensure the
tuner. These have a data rate that’s too high to powered up for this. This is where the ‘Dreambox port is set to ‘80’, and enter your username and
reliably stream over the average broadband player and streamer 6.04’ app (AKA ‘DPAS’) comes password. Click on the ‘test connection’ button –
connection so recompression is needed. Most if in. This Windows application can be downloaded you should get a ‘connection with Dreambox is
not all current Dreamboxes lack the computing from www.mfaraj57.9k.com. You’ll also need the successful’ message.
power needed to recompress video in ‘real-time’. latest VLC Media Player (www.videolan.org).

Open up your router’s firewall/virtual In the next available column enter On the right-hand side of DPAS’ setting
03 servers configuration page as in Project 1, 04 ‘Dreambox streaming or something similar 05 window you should enter the domain
Step 7. In the next available column enter into the description box; for ‘inbound (or public) name of the DNS you set up in Project 2. Keep
‘Dreambox streaming’ or something similar into port’, enter ‘5678’; for ‘type’, select ‘UDP’; into the the server streaming port as 1234, as specified in
the description box; for inbound and ooutgoing (private) IP address box, enter the IP address of Step 3. Clicking on the adjacent ‘question mark’
ports enter ‘1234’; for ‘type’, select ‘UDP’; into the your PC; for private (or outgoing) port, enter button brings up a port checker to allow you to
(private) IP address box, enter the IP address of ‘5678’. Ensure that both are enabled – usually via check that port 1234 is publicly accessible. You
your PC (to find this, open a Windows command- a checkbox in the relevant column. Click on ‘save’ can also check that port 80 (as specified in Project
prompt session and type ‘ipconfig /all.’) or ‘apply’. 1, Step 7) and port 5678 (step 4) are working.

Choose a channel – the


07 left-hand side of the
DPAS program window is
dedicated to channel
selection. Click on the ‘start
restreaming’ button. VLC
Media Player should then start
and you should hear and see
the re-encoded stream – with
the same quality that will be
experienced at the remote
location. On the right-hand
Another setting allows you to specify the side of the main program
06 bit rate and thus the quality of the window you’ll be given the
streamed audio and video that can be enjoyed at internet address of the stream
the remote end. If you have a good upload speed just beneath the source
the medium setting should suffice. If your upload preview window. It will be in
speed is limited, choose ‘low’. In the ‘advanced’ the form mms://<domain name>:1234. This is the entered into a web browser the default
setting, encoding parameters can be manually address that you would use to initiate streaming compatible media player (usually Windows
entered. Experimentation is advisable: liaising in the remote location – note it down and pass it Media Player) will open and the stream should
with a friend or colleague is a good idea here! to those who require access. When this address is start playing.

August 2010  What Satellite & Digital TV  5

Вам также может понравиться