Unable to run cvlc in a script

Posted by VxJasonxV on Super User See other posts from Super User or by VxJasonxV
Published on 2010-12-28T02:20:03Z Indexed on 2010/12/28 2:56 UTC
Read the original article Hit count: 272

Filed under:
|
|

I'm creating a script that issues a few curl commands in order to access a time-protected mms stream link, then set up a relay using cvlc (vlc's command line interface) for my own use on an unencumbered player.

The curl aspect of this is working, as I can run as a browser and curl side by side and get the same access url. (It's time locked meaning the stream will work forever, but you have to connect quickly or the URL will time out.)

The very end of the script prints the command I will run, which is then followed up by "exec $CMD".

When I echo $CMD I get:
cvlc --sout '#standard{access=http,mux=asf,dst=0.0.0.0:58194}' mms://[...]

But the cvlc execution output says:

[0x9743d0] main interface error: no suitable interface module
[0x962120] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x9743d0] dummy interface: using the dummy interface module...
[0xb16e30] stream_out_standard stream out error: no mux specified or found by extension
[0xb16ad0] main stream output error: stream chain failed for `standard{mux="",access="",dst="'#standard{access=http,mux=asf,dst=0.0.0.0:58194}'"}'
[0xb11cd0] main input error: cannot start stream output instance, aborting
[0xb11f70] signals interface error: Caught Interrupt signal, exiting...

Why is it ignoring my --sout input?

© Super User or respective owner

Related posts about vlc

Related posts about cvlc