VLC launch from Java
Posted: 20 Sep 2011 01:59
I previously had no problems interacting with VLC from Java. I used to launch using
process = Runtime.getRuntime().exec("C:\\Program Files(x86)\\VideoLAN\\VLC\\vlc.exe")
and read the stdout using process.getErrorStream().
For example, to get the VLC version I used the following command:
"C:\\Program Files(x86)\\VideoLAN\\VLC\\vlc.exe" --reset-config -I dummy --dummy-quiet -version vlc://quit
and this has worked for me always. Starting with version 1.1, however, I am unable to to get vlc to ouput on stdout or stderr. What has changed?
Could you please provide a way to interact with vlc easily?
Thanks,
-Ram Natarajan
process = Runtime.getRuntime().exec("C:\\Program Files(x86)\\VideoLAN\\VLC\\vlc.exe")
and read the stdout using process.getErrorStream().
For example, to get the VLC version I used the following command:
"C:\\Program Files(x86)\\VideoLAN\\VLC\\vlc.exe" --reset-config -I dummy --dummy-quiet -version vlc://quit
and this has worked for me always. Starting with version 1.1, however, I am unable to to get vlc to ouput on stdout or stderr. What has changed?
Could you please provide a way to interact with vlc easily?
Thanks,
-Ram Natarajan