I have tried to copy and paste the command line options that are shown at this site
http://www.videolan.org/doc/streaming-h ... l#id294897
for the rtp streaming in java. However when I either copy and paste the options into the command line or try to do this in java code
try {
String[] file = {"cmd","% vlc -vvv input_stream --sout '#rtp{dst=192.168.0.12,port=1234,sdp=rtsp://server.example.org:8080/test.sdp}'",};
Process p = Runtime.getRuntime().exec(file);
} catch (IOException ex) {
ex.printStackTrace();
}
I am not able to come up with anything. I get an error that states % is not recognized as an internal or external command, operable program or batch file.
Possibly I am doing this wrong, but am unsure how to manipulate vlc using the command line. If someone could point me to a tutorial or give me information on how to do it, it would be excellent. I have looked over the website and haven't found what I am looking for and possible looked over it.
Thanks for your help