[vlc] JVLC testing...

Keith Kyzivat kkyzivat at tripleplayint.com
Thu Aug 7 15:25:37 CEST 2008


I checked this out only a few weeks ago, and unless things radically
changed, the latest JVLC code is present there.

Ahh, I see, you're looking at
bindings/java/samples/client/src/main/java/VlcClient.java .  I never tried
that one.

Give the example that exists in the core heirarchy a try:
bindings/java/core/src/main/java/org/videolan/jvlc/example/VLCExample.java

Just make sure you either change the path to the file that it's looking for,
or make the path it is looking for and stick a media file there:
/home/carone/apps/a.avi

And for the record, jvlc-core-<version>.jar, along with jna-3.0.2.jar are
indeed needed in order for JVLC to work -- No longer is jvlc.dll needed (I
think that's what it was..) -- which were the old JNI-based bindings.

I have a co-worker who is working on some JVLC code, but outside of my
preliminary work to get JVLC building and the example (and a nicer fixed up
version) running properly, I have not used JVLC extensively.


On Thu, Aug 7, 2008 at 6:22 AM, Javier Gálvez Guerrero <
javier.galvez.guerrero at gmail.com> wrote:

> Thank you for your answer, Keith, but the sample in this git directory
> (VlcClient.java) is the same I tried out before, which uses deprecated
> classes and methods from old VLC libraries and doesn't work properly (it
> hangs while trying to start playing a video file).
>
> That's why asked for any code written by any user who used the new library
> so I could guess how to implement my own application based on JVLC.
>
>
> Any help would be much appreciated.
> Javi
>
>
> 2008/8/6 Keith Kyzivat <kkyzivat at tripleplayint.com>
>
> Check out the VLC source from git using the following URL: git://
>> git.videolan.org/vlc.git
>>
>> In there you will find a bindings/java directory -- That is where the jvlc
>> code is (it's an Apache Maven project), In there you'll find some examples.
>>
>> More info on checking out the source can be had here:
>>
>> http://wiki.videolan.org/GetTheSource
>>
>>
>> On Wed, Aug 6, 2008 at 9:49 AM, Javier Gálvez Guerrero <
>> javier.galvez.guerrero at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Thank you for your answer, Gregor. It worked properly with the nightlies
>>> VLC version.
>>>
>>> By the way, could anyone provide me with any little sample code in order
>>> to guess how to use the JVLC methods to be able to embed a video playing
>>> frame into a Java JFrame or a similar Swing component? I have tried to do it
>>> with the sample code included in JVLC site but it uses the deprecated
>>> methods from old JVLC libraries.
>>>
>>> Thank you so much,
>>> Javi
>>>
>>>
>>> 2008/8/5 Gregor Fuis <gujs.lists at gmail.com>
>>>
>>>>  You have to use vlc 0.9.0-test3 for using this jvlc jar. Look at this
>>>> site how to install it:
>>>> http://nightlies.videolan.org/
>>>>
>>>> You
>>>>
>>>> ______________________________________________________
>>>> vlc mailing list
>>>> To unsubscribe or modify your subscription options:
>>>> http://mailman.videolan.org/listinfo/vlc
>>>>
>>>>
>>>
>>> ______________________________________________________
>>> vlc mailing list
>>> To unsubscribe or modify your subscription options:
>>> http://mailman.videolan.org/listinfo/vlc
>>>
>>>
>>
>>
>> --
>> Keith Kyzivat
>>
>> SIPez LLC.
>> SIP VoIP, IM and Presence Consulting
>> http://www.SIPez.com
>> tel: +1 (617) 273-4000
>>
>> ______________________________________________________
>> vlc mailing list
>> To unsubscribe or modify your subscription options:
>> http://mailman.videolan.org/listinfo/vlc
>>
>>
>
> ______________________________________________________
> vlc mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc
>
>


-- 
Keith Kyzivat

SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20080807/4e81e7f9/attachment.html>


More information about the vlc mailing list