A Quick(ish) Guide To Streaming Video From PC to DBox

chi

Inactive User
Joined
Aug 9, 2005
Messages
52
Reaction score
1
A Quick(ish) Guide To Streaming Video From PC to DBox
=======================================

Preamble
=======

Again, I stand on the shoulder of giants. Much of this information
is available in the forum but here it is written up as it isn't
as straight forward as one would have thought. It worked for me
and hopefully, it'll work for you.

By the way, video can be DivX, Xvid, OGG, MPEG, ....etc.


Before We Start
============

The instructions in this guide assumes the following:

01. The DBox is configured and fully operational.

02. The DBox is accessible from the PC that will be streaming
the video. Try doing a "ping". For example, if your DBox
has the address 192.168.0.5, enter:

ping 192.168.0.5

in a windows command prompt. You should observe 0% packet
loss.

03. All the information described in this guide was tried on a PC
running Windows XP Professional. Note, all firewalls are turned
off.

04. Search and download vlc-0.7.2 from the internet. Do not get the
latest version (currently vlc-0.8.2)!


Preparations
=========

PC
----

On the PC, create a new local user. Right click my computer, Manage,
User & Groups, Expand User & Groups, right click Users, New User,
Username = dbox2, Password = dbox2. Untick "User must change password
at next logon".

Now, share a folder containing videos. I chose to share the following
folder:

c:\Movies shared as Movies

To share a folder, right mouse click on it, Properties, Sharing, Share
this folder, Permissions, Add, Locations, Select the name of your PC,
OK, enter dbox2 in the object names field, click ok, click ok again.
One more ok.

Is it just me or am I correct in saying that people who refers to
directories as folders are mostly Mac users?

Anyway, install vlc-0.7.2 onto the PC.


Dbox
-------

Grab the remote, press the dbox button, Settings, Network, Mount/CIFS
volume. Edit the first line:

type: CIFS
IP: xxx.xxx.xxx.xxx (IP address of the PC)
directory share: Movies (note the capital M)
localdir: /var/mnt/movies
mount on startup: yes
mount options:rw,soft,udp
mount options: nolock,rsize=8192,wsize=8192
CIFS Username: dbox2
CIFS Password: dbox2
Select "Mount Now"
Exit the menu screen.

Now press the dbox button, Settings, Movieplayer:

Set Streaming Server to on
Confgiure the IP address to that of the PC
Configure the port number to 8081 (normally 8080 but I had to change this)
Configure DVD drive letter to D (change this accordingly)
Change directory to C:\Movies (note the capital M)
Leave 1000 for data rate
Leave 192 for audio rate
Leave all other settings as per default


Streaming: PC -> DBox
================

PC
----

Open up a command prompt. Change directories to where vlc was installed.
Here is what I typed in on my PC:

c:
cd "Program Files\VideoLAN\VLC\"

The default port number that vlc uses is "8080". Unfortunately, I already
had some other application using this port and had to change it to use
port "8081" instead. This is what I typed in the command prompt to change
the port (permanently):

vlc --save-config --http-host=:8081

Close the vlc window and type in the following to start vlc properly:

vlc --extraintf=http

This is all we need to do on the PC. Don't touch the PC and go look for
the dbox remote.


DBox
------

Press the dbox button, Movieplayer, File via VLC.

At this point, if everything is working correctly, you should see a
listing of the videos in your movies directory. Using the dbox remote,
select the file you like to play and press the "ok" button on the
remote. If you don't see the list of files, just navigate to them.
Remember, they will be in "/var/mnt/movies".

You should see a dialogue box on your TV with a message about "connecting
to the streaming server". This box disappears shortly and is replaced
with another dialogue box with a message about "Buffering". This
buffering takes a few seconds (max). At this point, I got moving
pictures on my TV as well as sound. Neat or what?

I'm not sure what is the best way to stop the streaming but it
seems pressing the "home" button on the remote stops the playback
and takes me to the Movieplayer menu.


Notes to myself and others
===================

o To be able to stream video from the PC to the DBox, you will need a
powerful PC. This is a must! Not sure exactly what the minimum
requirements are but I ended up using a Pentium 4 2.8 GHz PC.

Can people provide some feedback as to your PC setup for video
streaming from PC to DBox?

o Initially, I tried vlc-0.8.2 but this did not work. The symptoms:
blank screen but audio stream plays okay. Tried various video
formats but the result was always the same.

o The ethernet interface in the DBox is 10Mbit/s. DVD video with a DTS
audio stream can easily saturate this ethernet speed. I have not
tried this personally but my guess is DVD streaming will either not
work or be really choppy.

o Certain files when streamed can still be a problem. For example,
video/audio synch issues. I am not 100% sure but this seems to
be related to the size of the file. File sizes around 300MB plays
okay for me but anything bigger, say 1GB, are played poorly.

o The Sportster 1.73 JFFS2 image I used does not have the "movies"
directory in "/mnt". But this directory exist in "/var/mnt/movies"
instead.

o You can telnet into the dbox from the PC. Just type "telnet
xxx.xxx.xxx.xxx" and replace the xxx with the IP address of your
DBox. Login as user root - no password required. Once you have
logged in, you can do anything you like. For example, create the
"movies" directory in "/mnt". Mentioned here for those who are
unfamiliar with UNIX.

Per the request of stemcell, the above information is now available
for download as either a PDF or DOC file in the DBox2 downloads
section -> click here .
 
Again good work typing it all up and for contributing to the forum...much appreciated
thumbs.gif
, i found it an interesting & informative read.
I thought it might be a good idea for you to create a post in the download section so converted your tutorial it into a Word & PDF documents so you could upload it there, maybe you could link to it from your post above and also from the download section back to this thread here in case they have any questions about it.



.
 
Hi Chi - Excellent post, as you said most of the info is in the forums somewhere but it is great to have it all combined into one place!

I created a shortcut to "c:\Program Files\VideoLAN\VLC\vlc.exe" --extraintf=http and stuck it in the "Startup" folder so it launches when the machine starts up.

DVD playbck is fine from my 3.3Ghz P4 and was okay from a PIII 850 (but a bit chopy in action scenes). MPEG2 stuff was fine from both machines. DIVX only just worked from the PIII.

It is important to highlight that vlc 7.2 works whereas later version DON'T (this caused me major heartache for days until if round that out!)

Again - excellent post - it should help out loads of people to get streaming working
 
Great stuff chi 10 out of 10
Thats what the forum is about m8.
 
mattg8000 said:
It is important to highlight that vlc 7.2 works whereas later version DON'T (this caused me major heartache for days until if round that out!)
Actually, I just tried 8.1, and it works better than 7.2.

Kudos to Chi for some good newbie posts. That would probably be worth a medal over at Unlockers. :)
 
stemcell - thanks for creating the PDF and DOC. They are now available in the DBox2 downloads area with a link back to this thread. Also I've edited my original post to point anyone wanting a hardcopy of the guide to the downloads area. Cheers.
 
mattg8000 - thanks for the info, m8. Much appreciated.

señor ding dong - good tip buddy, I'll definitely give vlc-0.8.1 a try. Thanks.
 
Back
Top