[vlc-devel] JVLC Questions...

Tony Anecito adanecito at yahoo.com
Sat Jul 26 16:16:03 CEST 2008


Alright I refreshed my eclipse project and it turns out you are right and I now need new (jars). I added the api and jdk14 jars.

Okay so not the vlcexample remains forever in the loop:
while (!mediaPlayer.hasVideoOutput())
        {
            Thread.sleep(100);
        }

Any ideas why it is stuck in the loop?

Thanks,
-Tony


--- On Sat, 7/26/08, Filippo Carone <filippo at carone.org> wrote:

> From: Filippo Carone <filippo at carone.org>
> Subject: Re: [vlc-devel] JVLC Questions...
> To: "Mailing list for VLC media player developers" <vlc-devel at videolan.org>
> Date: Saturday, July 26, 2008, 3:45 AM
> Tony Anecito wrote:
> > Hi Filippo,
> >
> > I am getting the following error after replacing the
> MediaPlayerCallback.java with the one from the changeset.
> >
> >   
> 
> Hi Tony,
> I'm afraid you are not using the right jar, since
> 
> Caused by: java.lang.RuntimeException: Unsupported event
> error. Event id: 15
> 	at
> org.videolan.jvlc.event.MediaPlayerCallback.callback(MediaPlayerCallback.java:83)
> 
> 
> While there's no RuntimeException thrown anymore, just
> a log.debug.
> 
> Cheers,
> Filippo
> 
> > Thanks,
> > -Tony
> >
> > == Starting VLCExample ==
> > Creating a JVLC instance with args: 
> > 0) --plugin-path=c:\\plugins
> > [00000001] main libvlc debug: VLC media player -
> version 0.9.0-test3-20080724-0004 Grishenko - (c) 1996-2008
> the VideoLAN team
> > [00000001] main libvlc debug: libvlc was configured
> with ./configure  '--enable-debug'
> '--host=i586-mingw32msvc'
> '--build=i386-linux'
> '--enable-shared-libvlc' '--enable-sdl'
> '--with-sdl-config-path=/usr/win32/bin'
> '--disable-gtk' '--disable-dca'
> '--disable-hal' '--disable-libcdio'
> '--enable-nls' '--enable-skins2'
> '--enable-ffmpeg' '--with-ffmpeg-mp3lame'
> '--with-ffmpeg-faac' '--with-ffmpeg-zlib'
> '--with-ffmpeg-config-path=/usr/win32/bin'
> '--enable-faad' '--enable-flac'
> '--enable-theora' '--enable-twolame'
> '--enable-dvdread' '--disable-vcdx'
> '--disable-cddax' '--en
> > [00000001] main libvlc debug: translation test: code
> is "C"
> > ... done.
> > Media instance played. MRL:
> http://movies.apple.com/movies/paramount/star_trek/star_trek-tlr1_480p.mov
> > new time: 0
> > java.lang.reflect.InvocationTargetException
> > 	at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > 	at java.lang.reflect.Method.invoke(Method.java:597)
> > 	at
> com.sun.jna.CallbackReference$DefaultCallbackProxy.callback_inner(CallbackReference.java:272)
> > 	at
> com.sun.jna.CallbackReference$DefaultCallbackProxy.callback(CallbackReference.java:294)
> > Caused by: java.lang.RuntimeException: Unsupported
> event error. Event id: 15
> > 	at
> org.videolan.jvlc.event.MediaPlayerCallback.callback(MediaPlayerCallback.java:83)
> > 	... 6 more
> > java.lang.reflect.InvocationTargetException
> > 	at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > 	at java.lang.reflect.Method.invoke(Method.java:597)
> > 	at
> com.sun.jna.CallbackReference$DefaultCallbackProxy.callback_inner(CallbackReference.java:272)
> > 	at
> com.sun.jna.CallbackReference$DefaultCallbackProxy.callback(CallbackReference.java:294)
> > Caused by: java.lang.RuntimeException: Unsupported
> event error. Event id: 15
> > 	at
> org.videolan.jvlc.event.MediaPlayerCallback.callback(MediaPlayerCallback.java:83)
> > 	... 6 more
> >
> >
> >
> > --- On Fri, 7/25/08, Filippo Carone
> <filippo at carone.org> wrote:
> >
> >   
> >> From: Filippo Carone <filippo at carone.org>
> >> Subject: Re: [vlc-devel] JVLC Questions...
> >> To: "Mailing list for VLC media player
> developers" <vlc-devel at videolan.org>
> >> Date: Friday, July 25, 2008, 5:10 AM
> >> Tony Anecito wrote:
> >>     
> >>> Hi JVLC Team,
> >>>
> >>> Okay I was able to play a file off my disk but
> the
> >>>       
> >> MediaPlayer crashes when using http protocol.
> >>     
> >>> Thanks for any hints to get JVLC working.
> >>>
> >>>   
> >>>       
> >> Hi Tony,
> >> the error has been fixed in changeset 
> >> a95520f9ccef90c81b4ae629ae4d52c87982d0c6 .
> >>
> >> Cheers,
> >> Filippo
> >>
> >> _______________________________________________
> >> vlc-devel mailing list
> >> To unsubscribe or modify your subscription
> options:
> >> http://mailman.videolan.org/listinfo/vlc-devel
> >>     
> >
> >
> >       
> > _______________________________________________
> > vlc-devel mailing list
> > To unsubscribe or modify your subscription options:
> > http://mailman.videolan.org/listinfo/vlc-devel
> >   
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel


      



More information about the vlc-devel mailing list