I'm trying to open a video in MPlayer in fullscreen mode from a Java application. I'm using the ProcessBuilder class to send the commands to MPlayer. The problem is, when I invoke MPlayer to play the video, nothing happens. It only shows up when I close my application window.
In other words, the process that I want to execute don't do anything till I close the program's window.
I wonder how I could to launch MPlayer without have to close any window.
Here's the code I'm using to invoke MPlayer in fullscreen.
ProcessBuilder prcbdr = new ProcessBuilder(Mplayerpath, "-quiet",
"-slave", "\"" + videoFile + "\"", "vo_fullscreen", "1");