Change streaming file without down the server

About encoding, codec settings, muxers and filter usage
eduardonunesp
New Cone
New Cone
Posts: 5
Joined: 01 Mar 2013 23:57

Change streaming file without down the server

Postby eduardonunesp » 02 Mar 2013 00:04

Hi, i'm using the cvlc in linux, and i must do a streaming of a video, but i must change for another video without down the server, so the client will continue connected without any interruption. For example i'm streaming a video of car racing, but in certain moment the video will change for a different point in racing.

eduardonunesp
New Cone
New Cone
Posts: 5
Joined: 01 Mar 2013 23:57

Re: Change streaming file without down the server

Postby eduardonunesp » 03 Mar 2013 11:09

Sorry by the dumb question, now i understand better the daemon functionality and other intfs, like telnet and playlist stuff.

mundu
Blank Cone
Blank Cone
Posts: 53
Joined: 25 May 2011 19:56
VLC version: 2.1.5
Operating System: Linux

Re: Change streaming file without down the server

Postby mundu » 08 Mar 2013 14:28

Is this solved then? Put solved and add some better explanation.

I like using vlm interface also using telnet ofcourse. You can add the inputs you want and change between them transparently to the user.

eduardonunesp
New Cone
New Cone
Posts: 5
Joined: 01 Mar 2013 23:57

[SOLVED] Re: Change streaming file without down the server

Postby eduardonunesp » 10 Mar 2013 14:26

Thanks guys, i found the answer i'm using the intf rc, it's very simple to control remove VLC by telnet.

To control VLC by telnet simple use rc interface (-I rc --rc-host=HOST:PORT)

Code: Select all

/usr/bin/cvlc -vvv --sout '#standard{access=http,mux=asf,http-host=10.1.1.2:8080}' -I rc --rc-host="10.1.1.2:7777
And then, connect with telnet by the command:

Code: Select all

telnet 10.1.1.2 7777
So the console will be open, to see the available commands, simple type "help" and press Enter.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 14 guests