Live TV Scenario

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
ocx32
New Cone
New Cone
Posts: 3
Joined: 20 Apr 2009 01:12

Live TV Scenario

Postby ocx32 » 20 Apr 2009 01:19

Hello,

I have a live program show that i would like to broadcast over the internet. the scenario is as follow:

Location1:

LIVE TV connected to Server 1
Server 1 encodes the live content into an MPEG codec
Server 1 sends stream to Server 2 via HTTP
Users connect via the internet to Server 2 to view the stream


Can someone emphasis what is needed for this project at the software level? do i need to configure 2 webservers on each Server?
I read about the VLC server and i understood that the live content can be sent to a specific ip on a specific port, my question is where do i configure that listening port? i mean from server 1 i will be sending the stream to server2:portX , but i need to configure that listening portX on server 2, where do i configure that on server 2

Thank you,

rh
Cone that earned his stripes
Cone that earned his stripes
Posts: 158
Joined: 21 Sep 2006 13:11
VLC version: 2.0.2
Operating System: Lin / Win / Andr
Location: Germany

Re: Live TV Scenario

Postby rh » 20 Apr 2009 10:51

you can configure this in your local web page, for example with the revolunet vlc plugin like this ...

<script language="javascript" src="VLCobject.js"> </script>
<script language="javascript" src="VLCcontrols.js"> </script>
<script language="javascript">
var vlc_controls = null;
function init() {
// load plugin
myvlc = new VLCObject("mymovie", "400", "224");
myvlc.write("vlccontent");
vlc_controls = new VLCcontrols(myvlc);
vlc_controls.onready = function () {
vlc_controls.play("http://<IPFromTheStreamSender>/<PortFromTheStreamSender>");
}
</script>

there are many samples on the vlc forum ...
scarcely you do it right it works ...
Greetings, rh

ocx32
New Cone
New Cone
Posts: 3
Joined: 20 Apr 2009 01:12

Re: Live TV Scenario

Postby ocx32 » 20 Apr 2009 12:46

The purpose is not to have users access the stream via webpage. actually they will view it on their TVs at home.

the scenario is as follow:

LIVE CAMERA -> <Preprocessing box> -> <VLC Server in Site1> -> <VLC Server in Site2> <Post Processing box> -> <Transmission on the AIR)

i will need to send the live stream from VLC site 1 to VLC site 2 so what i was thinking about is to configure streaming to take place on VLC1 on port 8080 for example and than on VLC site2 i connect to http://vLC1:8080/sample .

My main question is once i receive the stream on server2 via http://VLC1:8080/sample i need to save it locally on the hardisk than send it to a post processing box with all the transmission stuff to be broadcasted on TV can someone emphasis this process? how does it take place? can i save the live stream on a hardisk and dynamically process it to the post processing box?


I am not sure how i can get the stream from HTTP and redirect it to the post processing box

Thanks a million


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 63 guests