Page 1 of 9

FAQ: LAN Broadcasting with DVB Dream

Posted: Fri Dec 01, 2006 7:07 pm
by FredB
LAN Broadcasting with DVBDream and VLC :

A) Broadcasting on an entire network with a router:

1/ In DD on Server computer:

- Go to Preferences - LAN Streaming
- In Client field enter the broadcasting IP address of your network

Image

Here the IP address mask for the network is 192.168.100.xxx and the subnet mask is 255.255.255.0 so i've entered the default broadcasting address for this network = 192.168.100.255

At this time, you can leave other default settings. But do not forget to check the "Active" checkbox before clicking on "OK" button in order to activate the LAN streaming (some lights should flash on your router and/or your switch when it's activated)

2/ In VLC on Clients computers:

- Click on File - Open Network Stream (or CTRL+N)

Image

- Select UDP/RTP and leave port at 1234 (except if you have changed it in DD)

Image

- Click on OK, stream should be received on the client
- You can open the "Stream and Media Info" window (CTRL+I) to gets info about the stream

Image

(The selecting channel was ARTE on Astra 19.2°E)

This has been tested on a LAN 100Mbps network with both nVidia PureVideo and Cyberlink PDVD7 codecs and several network devices:
  • Netgear DG834G with and without Netgear FS116 switch
  • Zyxel Zywall 10W with the sameFS116 switch
  • Thomson-Alcatel SpeedTouch 510V4 with the same FS116 switch
Next step:
  • testing broadcasting on a Wireless network with the DG834G (WiFi 54Mbps)
  • testing broadcasting on LAN 100Mbps network with a Freebox (Free.fr ADSL connection box) in router mode (without FreePlayer)
B) Broadcasting between two computers (server and client):

- The only setting you have to change in DD is the IP address of the client (it must be the real IP address of the client PC)



NB : It could be useful to decrease the buffer size in DD


USING COMMAND-LINES TO START VLC ON DD BROADCASTING

Here is an extract of VLC how-to which describes the use of windows command-line to start VLC on a received streaming :
Receiving a network stream

To receive an unicast UDP stream (sent by VLS or VLC's stream output), start VLC with:

% vlc udp:[@:server_port]

If you use the default port (1234), vlc udp: will do. For more information, look at the Streaming Howto

To receive an multicast UDP stream (sent by VLS or VLC's stream output), start VLC with:

% vlc udp:@multicast_address[:server_port]
NB : % vlc means the full path to VLC executable file (ex. : c:\program files\videolan\vlc\vlc.exe)
NB : Those command-lines can be used with both Windows or Linux version of VLC.

Those commands can be combined with other VLC commands (such as fullscreen mode)

Example : to start VLC on DD broadcasting in fullscreen mode

Code: Select all

c:\program files\videolan\vlc\vlc.exe -f udp:
(in this example "1234" is the port in use, so as it is the default streaming port for VLC, there is no need to notify it in command-line parameters / "-f" means fullscreen mode)

To be continued...

Please more details

Posted: Sat Dec 02, 2006 4:23 am
by corozon
I can't do that. Please more details about IP adresses etc.

Re: Please more details

Posted: Sat Dec 02, 2006 9:06 am
by FredB
I can't do that. Please more details about IP adresses etc.
Please more details about your installation :wink:

My network configuration (actually but it can change as mention above):
- A Freebox as simple ADSL modem (dont' have any influence on broadcasting)
- A Zyxel Zywall 10W as router with DHCP activated (IP address = 192.168.100.1)
- A Netgear FS116 as switch (no IP as it is not manageable but I've also made tests with two 3Com Superstack Manageable switch with IP allocated by DHCP or manually 192.168.100.2 and 192.168.100.3)
- Several computers, two of them (Windows XP Pro for both) can act as server (not simultaneously on the same network of course) and three of them (Windows XP Pro, Windows Vista RC1 and Linux Debian) can act as client (IP address are dynamically allocated by DHCP 192.168.100.30, 192.168.100.31....)

Posted: Tue Dec 05, 2006 10:44 am
by corozon
My network configuration (actually but it can change as mention above):
- A Freebox as simple ADSL modem (dont' have any influence on broadcasting)
- A Zyxel Zywall 10W as router with DHCP activated (IP address = 192.168.100.1)
- A Netgear FS116 as switch (no IP as it is not manageable but I've also made tests with two 3Com Superstack Manageable switch with IP allocated by DHCP or manually 192.168.100.2 and 192.168.100.3)
- Several computers, two of them (Windows XP Pro for both) can act as server (not simultaneously on the same network of course) and three of them (Windows XP Pro, Windows Vista RC1 and Linux Debian) can act as client (IP address are dynamically allocated by DHCP 192.168.100.30, 192.168.100.31....)
OK.
I got USR 9108 adsl modem and its ip adress is 192.168.1.1
And my computers ip adresses are fixed because i am defined virtual servers for port forwarding. 192.168.1.15 (server) and 192.168.1.200 (client)
whats wrong!

Posted: Tue Dec 05, 2006 11:07 am
by FredB
I got USR 9108 adsl modem and its ip adress is 192.168.1.1
So the default broadcasting address for your network should be 192.168.1.255
And my computers ip adresses are fixed because i am defined virtual servers for port forwarding. 192.168.1.15 (server) and 192.168.1.200 (client)
They have the same IP address mask = 192.168.1.xxx so it should not influence the broadcast if they have both the same Default Gateway IP address.
What's wrong?
Actually, I really don't know!!! I need to have a reflection about that :wink:

PS : In fact most of my PCs have reserved DHCP address (the same IP address is always affected to the same PC) but I don't know if USR 9108 offer this function.

Posted: Thu Dec 07, 2006 2:32 pm
by gebeleizis
I am not able to broadcast using Hamachi.
Maybe is not suppose to work, but I have to tell maybe there is someone with more experience with this kind of things and can give me some advices or an explanation. Thanks!
Anywho, I love DVBD. It is the best!

Posted: Thu Dec 07, 2006 2:57 pm
by rel
I guess some network hardware (switches/hubs integrated with router) are not so good to carry the load of streaming.

This is a theory I couldn't examine yet, is there anyone experiencing any problem with stand alone switches or hubs?

Posted: Thu Dec 07, 2006 4:31 pm
by gebeleizis
I forgot to tell what Hamachi is:
LogMeIn Hamachi is a zero-configuration virtual private networking (VPN) application.
In other words Hamachi is a program that allows you to arrange multiple computers into their own secure network just as if they were connected by a physical network cable.

I have no idea what exactly means or Iam too lazy to understand exactly, but what I know it does is that enables you to make a Lan over internet.
So, if I could make DVBD to stream over this kind of Lan...but if it can't be done...well, no matter, DVBD is the best anyway!!!
Thank for all the help!

Posted: Thu Dec 07, 2006 5:24 pm
by FredB
Virtual Private Network (VPN) uses encryption (DES - 3DES - AES - etc...) to transmit the data. This encryption can produce a very high processing load incompatible with TS streaming.

@gebeleizis : did you use Hamachi with a LAN connection or with internet connection ?
If it's with Internet connection, perhaps the bandwidth is not sufficient for TS streaming.

Posted: Thu Dec 07, 2006 7:11 pm
by gebeleizis
Yes, I use Hamachi over the internet (I thought this is the only way). So, there is not enough bandwidth. Oh, well...
Thanks for your time FredB.

Posted: Sun Dec 10, 2006 12:37 pm
by gebeleizis
Long live VLC! And Hamachi! And, of course, DVBDream!
I now can stream DVBDream over internet Lan(thanks to Hamachi) with the miraculous VLC!
Thanks for everything!

Posted: Sun Dec 10, 2006 1:51 pm
by FredB
Long live VLC! And Hamachi! And, of course, DVBDream!
I now can stream DVBDream over internet Lan(thanks to Hamachi) with the miraculous VLC!
Thanks for everything!
Great news :D Thanks for this info!

As my router can handle VPN I will test it soon.

Posted: Thu Dec 14, 2006 11:51 am
by ice
Help me!

My network settings:

IP: 192.168.0.1
Mask: 255.255.248.0
Gateway: 192.168.0.180

What settings i need make in DD?

I try 192.168.0.255 and 192.168.255.255, not working! But if settings in DD make 192.168.0.213 (My Friend) its working! But only for 1 client.

Posted: Thu Dec 14, 2006 3:28 pm
by FredB
Mask: 255.255.248.0
Do you have several subnet on your network ?

The IP address reserved for broadcasting always ends with 255 so if your network address is 192.168.0.0 the broadcast address is 192.168.0.255

Posted: Thu Dec 14, 2006 7:31 pm
by ice
No! One subnet, but this mask allow more then 256 IP adresses in subnet.

192.168.0.0-192.168.7.255