I hope i'm not starting a duplicate topic...
Here's the situation: I need to get vlc stream some video files from a servlet in a webapp.
For this i was planning to use
Code: Select all
Runtime.getRuntime().exec(vlcCommand);
The corresponding vlc command line looks like:
Code: Select all
vlc --daemon -vvv file.mpg --sout '#standard{access=http,mux=ps,url=ip:freeport}'
-removed the --daemon to see if vlc really started
Code: Select all
vlc -vvv file.mpg --sout '#standard{access=http,mux=ps,url=ip:freeport}'
- also removed the --sout option:
Code: Select all
vlc -vvv file.mpg
I was wondering whether this wouldn't be due to a library access failure when requesting --sout redirection but i haven't found any obvious error when comparing strace logs of the execution within Tomcat or in a shell, I don't know what to think...
I have the following questions:
- How can i get vlc to log in any log file since i do not get any execution console log from the process getInputStream() in order to help me debug what's going on ?
- Is there another way to retrieve a video listing and stream one of them on demand from a web server (i saw some using php in a close manner but php is currently not an option for me). I took a look at the telnet interface for VOD but was not really convinced by the system. Did any one get anything concrete out of it (NOT saying it's useless, ok)
Thank you for reading my topic!
Any help would be greatly appreciated
Vous pouvez aussi me répondre en français, no problemo!