PDA

View Full Version : Streaming TV on WAN



Palinkat
03-11-10, 16:44
Hi All,

I was reading all the posts here about how to stream correctly over WAN and they were most useful, thanks to all posters.
So I have managed to get the streaming going on over WAN but unfortunately it only streams a couple of frames and cuts off.
I am thinking something with my firewall as I am trying from work. I am using VLC player and have allowed VLC player to go through the firewall.
Just wondering if anyone is having the same problem.
Will try later from a neighbours house to rule out work firewall.

Cheers

mrgee
03-11-10, 18:45
Hi,

There are a couple of settings in preferences\ show all setting\input codecs\access modules \ https that need to be checked. They are auto-reconnect and continuous stream.

The problem your'e getting happens when the stream is interrupted or corrupted and the video cannot be reconstructed on the remote screen It could be that your bitrate is still too high to stream continuously.


mrgee

Palinkat
04-11-10, 10:40
Thanks a lot mrgee, those settings fixed the issue. Indeed the bitrate is to high to stream and I get Slide-Show Bob :).
What can I do to reduce the bitrate outputed from my box?

Cheers

acco
04-11-10, 11:37
I noticed my comp downloaded a new version of windows media player the last week and was surprised to see it work no problem with VU+
I'm pretty sure the previous version I had was a no no..

mrgee
04-11-10, 12:57
Thanks a lot mrgee, those settings fixed the issue. Indeed the bitrate is to high to stream and I get Slide-Show Bob :).
What can I do to reduce the bitrate outputed from my box?

Cheers


The general setup you need is to set up another vlc server on another pc and stream direct to that from your box. This server then transcodes your video to reduce the bitrate, then streams it over the WAN.

spaceman
08-11-10, 11:22
I use the following steps from a linux machine.. and sure you can run it on windows and osx.

* Using web interface download the channel vlc file
* Open it in notepad
* Copy the line - e.g http://192.168.1.2:8001/1:0:1:283E:7FE:2:11A0000:0:0:0:
* Install vlc-wrapper which allows you to run via terminal
* I use the following script to run the stream

#!/bin/sh
vlc-wrapper -I dummy http://192.168.1.2:8001/1:0:1:283E:7FE:2:11A0000:0:0:0: --sout='#transcode{vcodec=h264,vb=500,scale=0.75,aco dec=mp4a,ab=64,channels=1}:std{access=http,mux=ts, dst=192.168.1.3:8090}'

* Make sure the dst=ip part of the script address is pointing to the machine that you use to run the script
* Save the file
* Open the firewall rule on your router to open the port that you want to use - e.g 8090
* Run script ./filename.sh (make sure its executable - chmod 755)
* Final step on your client machine open vlc > open network stream > Network > http://publicip:8090


Hope this helps.

hifial
08-11-10, 23:40
I'm working on doing something similar, just a note VLC 1.14 doesn't seem to like re-streaming. I can get it working with version 0.8.6i on Windows.

My question is for spaceman your wrapper solution will that mean you don't need to update the http for the stream when you change channels on the box?

spaceman
10-11-10, 14:19
I create my fav channels and put them in own file.. so channel changes depending on what script I am running - e.g bbc1.sh, bbc2.sh

Hope that answers your question