Results 1 to 3 of 3
Thread: Mplayer + Mac OS
- 06-04-2010, 04:20 PM #1
Member
- Join Date
- May 2010
- Posts
- 3
- Rep Power
- 0
Mplayer + Mac OS
Hey, I need to open video files with my java application, I was looking for mplayer project for Mac OS.
I can easly use it on Windows with this code:
For leopard I need to run mplayer.app instead. So I use this code:Java Code:mplayerProcess = Runtime.getRuntime().exec("open \"mplayer/mplayer.exe -slave -quiet -idle " + mediaURL);
But nothing happen. Actually my folder structure isJava Code:mplayerProcess = Runtime.getRuntime().exec("open \"mplayer/mplayer.app -slave -quiet -idle " + mediaURL);
Root
-> Javaapp (where the jar is located)
-> mplayer
mplayer.app
I've tried also to just open the mplayer.app file with
But nothing happened aswell... the terminal didn't show any errors.Java Code:mplayerProcess = Runtime.getRuntime().exec("open \"mplayer/mplayer.app");
What I'm doing wrong? Any Clue?
Thanks,
- 06-04-2010, 07:05 PM #2
Senior Member
- Join Date
- Dec 2008
- Posts
- 526
- Rep Power
- 0
Do yo have JRE installed ?
- 06-05-2010, 05:25 PM #3
Member
- Join Date
- May 2010
- Posts
- 3
- Rep Power
- 0


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks