Requesting VOD from VLC

About encoding, codec settings, muxers and filter usage
aissa
Blank Cone
Blank Cone
Posts: 12
Joined: 04 Sep 2007 13:21

Requesting VOD from VLC

Postby aissa » 04 Sep 2007 13:35

hi,

im new to controlling VLC from client side

goal: to send request from client side using php to stream certain mpg file

till now i got the below:

Code: Select all

$program = 'start C://"Program Files"//VideoLAN//VLC//vlc.exe C://wamp//www//test//testVTS_01_0.mpg:sout=#duplicate{dst=display,dst=std{access=udp,mux=ts,dst=224.1.1.1:1234}}'; $descriptorspec = array( 0 => array("pipe", "r"), 1 => array("pipe", "w"), ); $env = array('some_option' => 'aeiou'); $process = proc_open($program, $descriptorspec, $env); $process_stats = proc_get_status($process); $process_close = proc_close($process);
this test is done using window server
i was able to catch the stream but how to close the vlc from the server since the pid is return wrong, im using php 5.2.4 by the way.

my question is there is any way else to do that, and can we do time shifting like FW FF and pause

thanks

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: Requesting VOD from VLC

Postby funman » 04 Sep 2007 19:12

you'd better use vlm and tcp remote interface to control the distant vlc, have a look at http://www.videolan.org/doc on streaming doc


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 9 guests