I am in the process of building a java API to VLC. I would like input on the best way to integrate into the system.
What I would like in the end is the ability to control the inputs and outputs via high level objects using JNI.
I have completed a test with a JNI interface to a dll version of vlc.exe. While this worked somewhat (memory leak after compiling with msvc) I don't really think this is really the right way to go about it.
Other options I am considering:
1) expanding the http interface and running as 2 separate processes.
2) understaning the gui interface and trying to expose functions via that method.
3) something else
I don't know what VLS would do for me. I haven't explored it because I was under the impression VLC is further ahead (I could be wrong).
My preference would be to treat VLC like a library (dll) and have it loaded from within a Java app. however, I will do it which ever way the experienced VLC developers feel it should be done.
Bottom line:
If a person wanted to create a control interface into VLC, what would the appropriate area be to begin looking into.
Evironment:
- Windows 2000
- 0.7.2 VLC-trunk compiled with Cygwin
- TV Capture/Timeshift plugin created by merging file access and dshow.
- Modified Crop plugin
- Modified directx vout plugin (to remove the window decorations)
On a different note: Any opinions on a development IDE that works with Cygwin and the deployed make files so I don't have to go through the make learning curve and modify them by hand?
Any development pointers at this point would be appreciated.