VLC RC and Telnet launched by Java ProcessBuilder
Posted: 26 Apr 2010 19:20
Hi everyone.
I have a Java app to launch a VLC player to control and play some SMIL file playlist. So... I have a "controller" that reads the SMIL file and lauch VLC player with the next command (for example):
vlc --video-on-top --no-video-deco --intf rc --rc-host localhost:6000 --extraintf telnet --width=800 --height=600 --video-x=0 --video-y=0
If I launch that command at my shell, I don't have any troubles... And I can connect with telnet without problems.
But... If the command was launch by my Java ProcessBuilder... I have the process running at my ps -aux, but I can't make my telnet connection, and nothing happens (VLC doesn't even start).
If I do this at Windows... I don't have any problem
Do you have any ideas?
Thanks... regards.
I have a Java app to launch a VLC player to control and play some SMIL file playlist. So... I have a "controller" that reads the SMIL file and lauch VLC player with the next command (for example):
vlc --video-on-top --no-video-deco --intf rc --rc-host localhost:6000 --extraintf telnet --width=800 --height=600 --video-x=0 --video-y=0
If I launch that command at my shell, I don't have any troubles... And I can connect with telnet without problems.
But... If the command was launch by my Java ProcessBuilder... I have the process running at my ps -aux, but I can't make my telnet connection, and nothing happens (VLC doesn't even start).
If I do this at Windows... I don't have any problem
Do you have any ideas?
Thanks... regards.