[vlc-devel] JVLC Questions...

Tony Anecito adanecito at yahoo.com
Fri Jul 25 07:17:05 CEST 2008


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.

-Tony

The error message is:
== 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 Thu, 7/24/08, Tony Anecito <adanecito at yahoo.com> wrote:

> From: Tony Anecito <adanecito at yahoo.com>
> Subject: [vlc-devel] JVLC Questions...
> To: vlc-devel at videolan.org
> Date: Thursday, July 24, 2008, 10:51 PM
> Hi JVLC developers,
> 
> I waited as recommended till you were close releasing 0.9.0
> before downloading the jvlc code and examples and now have
> some questions regarding the interface.
> 
> 1. What is the difference between MediaPlayer and Playlist?
> 2. Why can you only fullscreen using MediaPlayer for the
> Video class? It used to work with every video type now only
> works for a MediaPlayer that seems to only use DVD for
> input.
> 3. Seems also to set the position of a video file you have
> to use MediaPlayer which again limits you to only
> DVD's. Using the VLC example for a file downloaded
> using http or a cam it fails when using the MediaPlayer but
> works fine using Playlist.
> 
> What I want to do is be able to play a video file or view a
> web cam and fullscreen it and can not do that with the
> revised API. Also, I can not set the position when viewing
> a video file and that used to be possible.
> 
> I used the 0.9.0 dlls for windows that were dated for
> 7/24/2008. The jvlc code I downloaded using git on
> 7/24/2008.
> 
> Thanks,
> -Tony
> 
> 
>       
> _______________________________________________
> 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