[vlc-devel] JVLC Questions...

Tony Anecito adanecito at yahoo.com
Sun Jul 27 01:22:42 CEST 2008


Hi Filippo,

Again thanks for the quick response. As you know slf4j since it is a facade requires 2 jars to work. One is the api and the other the logging framework it is a facade for. I added slf4j-api-1.5.2,jar and to use the existing java framework that comes with java 1.4 and above I added slfj-jdk14-1.5.2.jar.

I took your advice and added -vvv option. The logs are below. I did notice for the debug that for two example sources vlc seems to think and EOF was reached at the beginning of the file rather than the end.

Thanks,
-Tony

== Starting VLCExample ==
Creating a JVLC instance with args: 
0) --plugin-path=c:\\plugins
1) -vvv
[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"
[00000001] main libvlc debug: opening config file (C:\Documents and Settings\Administrator\Application Data\vlc\vlcrc)
[00000001] main libvlc debug: loading config for module "main"
[00000001] main libvlc debug: checking builtin modules
[00000001] main libvlc debug: checking plugin modules
[00000001] main libvlc debug: loading plugins cache file C:\Documents and Settings\Administrator\Application Data\vlc\plugins-04041e.dat
[00000001] main libvlc warning: This doesn't look like a valid plugins cache
[00000001] main libvlc debug: recursively browsing `C:\java\jdk1.6.0_05\jre\bin\modules'
[00000001] main libvlc debug: recursively browsing `C:\java\jdk1.6.0_05\jre\bin\plugins'
[00000001] main libvlc debug: recursively browsing `c:\\plugins'
[00000001] main libvlc warning: cannot load module `c:\\plugins\libstream_out_standard_plugin.dll' (The specified procedure could not be found. (error 127))
[00000001] main libvlc debug: module bank initialized, found 259 modules
[00000001] main libvlc debug: opening config file (C:\Documents and Settings\Administrator\Application Data\vlc\vlcrc)
[00000001] main libvlc debug: CPU has capabilities 486 586 MMX 3DNow! MMXEXT FPU 
[00000001] main libvlc debug: looking for memcpy module: 4 candidates
[00000001] main libvlc debug: using memcpy module "memcpymmxext"
[00000354] main interaction debug: thread 1992 (Interaction control) created at priority 0 (interface/interaction.c:379)
[00000354] main interaction debug: thread started
[00000356] main input debug: Creating an input for 'Media Library'
[00000356] main input debug: Input is a meta file: disabling unneeded options
[00000356] main input debug: `file/xspf-open://C:\Documents and Settings\Administrator\Application Data\vlc\ml.xspf' gives access `file' demux `xspf-open' path `C:\Documents and Settings\Administrator\Application Data\vlc\ml.xspf'
[00000356] main input debug: creating access 'file' path='C:\Documents and Settings\Administrator\Application Data\vlc\ml.xspf'
[00000357] main access debug: looking for access module: 2 candidates
[00000357] access_file access debug: opening file `C:\Documents and Settings\Administrator\Application Data\vlc\ml.xspf'
[00000357] main access debug: using access module "access_file"
[00000357] main access debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
[00000358] main stream debug: Using AStream*Stream
[00000358] main stream debug: pre-buffering...
[00000358] main stream debug: received first data for our buffer
[00000356] main input debug: creating demux: access='file' demux='xspf-open' path='C:\Documents and Settings\Administrator\Application Data\vlc\ml.xspf'
[00000359] main demux debug: looking for demux module: 1 candidate
[00000359] playlist demux debug: using XSPF playlist reader
[00000359] main demux debug: using demux module "playlist"
[00000359] main demux debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
[00000356] main input debug: `file/xspf-open://C:\Documents and Settings\Administrator\Application Data\vlc\ml.xspf' successfully opened
[00000360] main xml debug: looking for xml module: 2 candidates
[00000360] main xml debug: using xml module "xml"
[00000360] main xml debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
[00000359] playlist demux debug: parsed 0 tracks successfully
[00000360] main xml debug: removing module "xml"
[00000356] main input debug: EOF reached
[00000356] main input debug: control type=1
[00000359] main demux debug: removing module "playlist"
[00000357] main access debug: removing module "access_file"
[00000356] main input debug: Destroying the input for 'Media Library'
[00000356] main input debug: TIMER input launching for 'Media Library' : 3.000 ms - Total 3.000 ms / 1 intvls (Avg 3.000 ms)
[00000361] main preparser debug: waiting for thread completion
[00000361] main preparser debug: thread started
[00000361] main preparser debug: thread 1912 (preparser) created at priority 0 (playlist/thread.c:80)
[00000362] main fetcher debug: waiting for thread completion
[00000362] main fetcher debug: thread started
[00000362] main fetcher debug: thread 1900 (fetcher) created at priority 0 (playlist/thread.c:110)
[00000355] main playlist debug: waiting for thread completion
[00000355] main playlist debug: thread started
[00000355] main playlist debug: thread 1904 (playlist) created at priority 0 (playlist/thread.c:119)
[00000355] main playlist debug: rebuilding array of current - root Playlist
[00000355] main playlist debug: rebuild done - 0 items, index -1
[00000363] main interface debug: looking for interface module: 1 candidate
[00000363] main interface debug: using interface module "hotkeys"
[00000363] main interface debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
[00000363] main interface debug: thread 1880 (interface) created at priority 0 (interface/interface.c:164)
[00000363] main interface debug: thread started
... done.
Before mediaPlayer.play()
[00000364] main input debug: Creating an input for 'http://images.apple.com/movies/fox/fantastic_4-silver_surfer/fantastic4silversurfer-tlr1_h.480.mov'
[00000364] main input debug: waiting for thread completion
[00000364] main input debug: thread started
[00000364] main input debug: `http://images.apple.com/movies/fox/fantastic_4-silver_surfer/fantastic4silversurfer-tlr1_h.480.mov' gives access `http' demux `' path `images.apple.com/movies/fox/fantastic_4-silver_surfer/fantastic4silversurfer-tlr1_h.480.mov'
[00000364] main input debug: thread 1744 (input) created at priority 1 (input/input.c:367)
[00000364] main input debug: creating demux: access='http' demux='' path='images.apple.com/movies/fox/fantastic_4-silver_surfer/fantastic4silversurfer-tlr1_h.480.mov'
after mediaPlayer.play()[00000365] main demux debug: looking for access_demux module: 0 candidates
[00000365] main demux warning: no access_demux module matched "http"
[00000365] main demux debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
[00000364] main input debug: creating access 'http' path='images.apple.com/movies/fox/fantastic_4-silver_surfer/fantastic4silversurfer-tlr1_h.480.mov'
[00000366] main access debug: looking for access module: 2 candidates

[00000366] access_http access debug: http: server='images.apple.com' port=80 file='/movies/fox/fantastic_4-silver_surfer/fantastic4silversurfer-tlr1_h.480.mov
[00000366] main access debug: net: connecting to images.apple.com port 80
[00000366] main access debug: connection: Resource temporarily unavailable
[00000366] main access debug: connection succeeded (socket = 1532)
[00000366] access_http access debug: protocol 'HTTP' answer code 206
[00000366] access_http access debug: Content-Type: video/quicktime
[00000366] access_http access debug: Server: Apache/1.3.33 (Darwin) PHP/5.2.1
[00000366] access_http access debug: stream size=151,pos=0,remaining=151
[00000366] access_http access debug: this frame size=151
[00000366] access_http access debug: Connection: keep-alive
[00000366] main access debug: using access module "access_http"
[00000366] main access debug: TIMER module_Need() : 351.000 ms - Total 351.000 ms / 1 intvls (Avg 351.000 ms)
[00000367] main stream debug: Using AStream*Stream
[00000367] main stream debug: pre-buffering...
[00000367] main stream debug: received first data for our buffer
[00000364] main input debug: creating demux: access='http' demux='' path='images.apple.com/movies/fox/fantastic_4-silver_surfer/fantastic4silversurfer-tlr1_h.480.mov'
[00000368] main demux debug: looking for demux module: 60 candidates
[00000367] mp4 stream debug: found Box: moov size 151
[00000367] mp4 stream debug: found Box: rmra size 143
[00000367] mp4 stream debug: found Box: rmda size 135
[00000367] mp4 stream debug: found Box: rdrf size 73
[00000367] mp4 stream debug: read box: "rdrf" type:url  ref fantastic4silversurfer-tlr1_h480.mov
[00000367] mp4 stream debug: found Box: rmdr size 16
[00000367] mp4 stream debug: read box: "rmdr" rate:2800
[00000367] mp4 stream debug: found Box: rmqu size 12
[00000367] mp4 stream debug: read box: "rmqu" quality:1
[00000367] mp4 stream debug: found Box: rmvc size 26
[00000367] mp4 stream debug: read box: "rmvc" gestaltType:qtim val1:0x7000000 val2:0x0 checkType:0x0
[00000367] mp4 stream debug: dumping root Box "root"
[00000367] mp4 stream debug: |    + moov size 151
[00000367] mp4 stream debug: |    |    + rmra size 143
[00000367] mp4 stream debug: |    |    |    + rmda size 135
[00000367] mp4 stream debug: |    |    |    |    + rdrf size 73
[00000367] mp4 stream debug: |    |    |    |    + rmdr size 16
[00000367] mp4 stream debug: |    |    |    |    + rmqu size 12
[00000367] mp4 stream debug: |    |    |    |    + rmvc size 26
[00000368] mp4 demux debug: file type box missing (assuming ISO Media file)
[00000368] mp4 demux debug: detected playlist mov file (1 ref)
[00000368] mp4 demux debug: new ref=`fantastic4silversurfer-tlr1_h480.mov' type=url 
[00000368] mp4 demux debug: adding ref = `http://images.apple.com/movies/fox/fantastic_4-silver_surfer/fantastic4silversurfer-tlr1_h480.mov'
[00000368] mp4 demux warning: cannot find /moov/mvhd (pure ref file)
[00000368] main demux debug: using demux module "mp4"
[00000368] main demux debug: TIMER module_Need() : 32.000 ms - Total 32.000 ms / 1 intvls (Avg 32.000 ms)
[00000368] mp4 demux warning: DEMUX_GET_FPS unimplemented !!
[00000368] mp4 demux warning: DEMUX_GET_FPS unimplemented !!
[00000364] main input debug: looking for a subtitle file in C:\Documents and Settings\tony anecito\workspace\newJVLC\
[00000364] main input debug: `http://images.apple.com/movies/fox/fantastic_4-silver_surfer/fantastic4silversurfer-tlr1_h.480.mov' successfully opened
Media instance played. MRL: http://images.apple.com/movies/fox/fantastic_4-silver_surfer/fantastic4silversurfer-tlr1_h.480.mov
[00000364] main input debug: EOF reached
[00000364] main input debug: control type=1
new time: 0



--- 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, 4:38 PM
> Tony Anecito wrote:
>  > 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?
>  >
> 
> Hi Tony,
> which jdk14 jars are you refering to? About the loop
> problem, can you 
> start the JVLC instance with -vvv and post the logs?
> 
> Cheers,
> Filippo
> 
> 
> 
> _______________________________________________
> 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