caprica / vlcj

Java framework for the vlc media player
http://www.capricasoftware.co.uk/projects/vlcj
1.13k stars 260 forks source link

No video on windows 7 64 bits #15

Closed dyorgio closed 12 years ago

dyorgio commented 12 years ago

Hi, I´m here again :).

No video is playing on win7 64, I tried with many files and the log shows that is playing for 1 second and finish. but all videos had 1 minute or more.

vlcj: (Info.java:66)                           | INFO  | vlcj: 2.0.0
vlcj: (Info.java:67)                           | INFO  | java: 1.6.0_26 Sun Microsystems Inc.
vlcj: (Info.java:68)                           | INFO  | java home: C:\Program Files (x86)\Java\jdk1.6.0_25\jre
vlcj: (Info.java:69)                           | INFO  | os: Windows 7 6.1 x86
vlcj: (LibVlcFactory.java:143)                 | INFO  | vlc: 2.1.0-git-20120214-0005 Rincewind, changeset 1.3.0-git-1196-gf0cc43f
vlcj: (LibVlcFactory.java:144)                 | INFO  | libvlc: C:\Users\dn48908\workspace\Moviee\lib\native\win\x86\libvlc.dll
vlcj: (MediaPlayerFactory.java:191)            | DEBUG | MediaPlayerFactory(libvlc=Proxy interface to Native Library <C:\Users\dn48908\workspace\Moviee\lib\native\win\x86\libvlc.dll@1862467584>,libvlcArgs=[--no-plugins-cache, --no-video-title-show, --no-snapshot-preview, --quiet, --quiet-synchro, --intf, dummy])
vlcj: (MediaPlayerFactory.java:194)            | DEBUG | jna.library.path=null
vlcj: (MediaPlayerFactory.java:222)            | DEBUG | instance=native@0x18f21280
vlcj: (MediaPlayerFactory.java:430)            | DEBUG | newEmbeddedMediaPlayer(fullScreenStrategy=null)
vlcj: (DefaultMediaPlayer.java:167)            | DEBUG | DefaultMediaPlayer(libvlc=Proxy interface to Native Library <C:\Users\dn48908\workspace\Moviee\lib\native\win\x86\libvlc.dll@1862467584>, instance=native@0x18f21280)
vlcj: (DefaultMediaPlayer.java:1495)           | DEBUG | createInstance()
vlcj: (DefaultMediaPlayer.java:1498)           | DEBUG | mediaPlayerInstance=native@0x18fcd118
vlcj: (DefaultMediaPlayer.java:1501)           | DEBUG | mediaPlayerEventManager=native@0x18fd7840
vlcj: (DefaultMediaPlayer.java:1548)           | DEBUG | registerEventListener()
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerMediaChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerNothingSpecial
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerOpening
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerBuffering
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerPlaying
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerPaused
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerStopped
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerForward
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerBackward
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerEndReached
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerEncounteredError
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerTimeChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerPositionChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerSeekableChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerPausableChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerTitleChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerSnapshotTaken
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerLengthChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerVout
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (MediaPlayerFactory.java:499)            | DEBUG | newVideoSurface(canvas=java.awt.Canvas[canvas0,0,0,0x0,invalid])
vlcj: (MediaPlayerFactory.java:514)            | DEBUG | videoSurface=uk.co.caprica.vlcj.player.embedded.videosurface.CanvasVideoSurface@633e5e
vlcj: (DefaultEmbeddedMediaPlayer.java:142)    | DEBUG | setVideoSurface(videoSurface=uk.co.caprica.vlcj.player.embedded.videosurface.CanvasVideoSurface@633e5e)
vlcj: (DefaultMediaPlayer.java:173)            | DEBUG | addMediaPlayerEventListener(listener=uk.co.caprica.vlcj.component.EmbeddedMediaPlayerComponent[panel0,0,0,0x0,invalid,layout=java.awt.BorderLayout])
vlcj: (DefaultEmbeddedMediaPlayer.java:222)    | DEBUG | setOverlay(overlay=null)
vlcj: (DefaultEmbeddedMediaPlayer.java:238)    | DEBUG | enableOverlay(enable=false)
vlcj: (DefaultEmbeddedMediaPlayer.java:304)    | DEBUG | removeOverlay()
vlcj: (DefaultEmbeddedMediaPlayer.java:284)    | DEBUG | addOverlay(overlay=null)
vlcj: (DefaultMediaPlayer.java:199)            | DEBUG | playMedia(mrl=C:\Users\dn48908\Downloads\FlickAnimation.avi,mediaOptions=[])
vlcj: (DefaultMediaPlayer.java:208)            | DEBUG | prepareMedia(mrl=C:\Users\dn48908\Downloads\FlickAnimation.avi,mediaOptions=[])
vlcj: (DefaultMediaPlayer.java:1633)           | DEBUG | setMedia(media=C:\Users\dn48908\Downloads\FlickAnimation.avi,mediaOptions=[])
vlcj: (DefaultMediaPlayer.java:1646)           | DEBUG | mediaInstance=native@0x18fdd258
vlcj: (DefaultMediaPlayer.java:1579)           | DEBUG | registerMediaEventListener()
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaMetaChanged
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaSubItemAdded
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaDurationChanged
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaParsedChanged
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaFreed
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaStateChanged
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:659)            | DEBUG | play()
vlcj: (DefaultEmbeddedMediaPlayer.java:314)    | DEBUG | onBeforePlay()
vlcj: (DefaultEmbeddedMediaPlayer.java:151)    | DEBUG | attachVideoSurface()
vlcj: (CanvasVideoSurface.java:67)             | DEBUG | attach()
vlcj: (DefaultMediaPlayer.java:1788)           | DEBUG | mediaChanged(mediaPlayer=uk.co.caprica.vlcj.player.embedded.DefaultEmbeddedMediaPlayer@609959)
vlcj: (WindowsVideoSurfaceAdapter.java:41)     | DEBUG | attach(componentId=5114706)
vlcj: (DefaultMediaPlayer.java:1792)           | DEBUG | Raising event for new media
vlcj: (DefaultMediaPlayer.java:1842)           | DEBUG | finished(mediaPlayer=uk.co.caprica.vlcj.player.embedded.DefaultEmbeddedMediaPlayer@609959)
vlcj: (DefaultMediaPlayer.java:1805)           | DEBUG | finished(mediaPlayer=uk.co.caprica.vlcj.player.embedded.DefaultEmbeddedMediaPlayer@609959)
vlcj: (DefaultMediaPlayer.java:1822)           | DEBUG | No repeat```
caprica commented 12 years ago

Native libvlc sent the "finished" event, vlcj responded to it.

This is most likely nothing that can be fixed in vlcj.

Trying using "-vvv" when you create the factory so you can investigate the vlc native logs.

dyorgio commented 12 years ago

Nothing special in native logs... I opened this file in vlc player without problems.

vlcj: (Info.java:66)                           | INFO  | vlcj: 2.0.0
vlcj: (Info.java:67)                           | INFO  | java: 1.6.0_26 Sun Microsystems Inc.
vlcj: (Info.java:68)                           | INFO  | java home: C:\Program Files (x86)\Java\jdk1.6.0_25\jre
vlcj: (Info.java:69)                           | INFO  | os: Windows 7 6.1 x86
vlcj: (LibVlcFactory.java:143)                 | INFO  | vlc: 2.1.0-git-20120214-0005 Rincewind, changeset 1.3.0-git-1196-gf0cc43f
vlcj: (LibVlcFactory.java:144)                 | INFO  | libvlc: C:\Users\dn48908\workspace\Moviee\lib\native\win\x86\libvlc.dll
vlcj: (MediaPlayerFactory.java:191)            | DEBUG | MediaPlayerFactory(libvlc=Proxy interface to Native Library <C:\Users\dn48908\workspace\Moviee\lib\native\win\x86\libvlc.dll@1906114560>,libvlcArgs=[-vvv])
vlcj: (MediaPlayerFactory.java:194)            | DEBUG | jna.library.path=null
[19011298] main libvlc debug: VLC media player - 2.1.0-git-20120214-0005 Rincewind
[19011298] main libvlc debug: Copyright � 1996-2012 the VideoLAN team
[19011298] main libvlc debug: revision 1.3.0-git-1196-gf0cc43f
[19011298] main libvlc debug: configured with ../extras/package/win32/../../../configure  '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-x264' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--disable-sdl' '--enable-qt4' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-sqlite' '--disable-dirac' '--host=i586-mingw32msvc' '--enable-debug' 'host_alias=i586-mingw32msvc'
[19011298] main libvlc debug: searching plug-in modules
[19011298] main libvlc debug: loading plugins cache file C:\Users\dn48908\workspace\Moviee\lib\native\win\x86\plugins\plugins.dat
[19011298] main libvlc debug: recursively browsing `C:\Users\dn48908\workspace\Moviee\lib\native\win\x86\plugins'
[19011298] main libvlc debug: saving plugins cache C:\Users\dn48908\workspace\Moviee\lib\native\win\x86\plugins\plugins.dat
[19011298] main libvlc debug: plug-ins loaded: 387 modules
[19011298] main libvlc debug: translation test: code is "C"
[19011298] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 FPU 
[19011298] main libvlc debug: looking for memcpy module: 4 candidates
[19011298] main libvlc debug: using memcpy module "memcpymmxext"
[1909c988] main interface debug: looking for interface module: 1 candidate
[1909c988] main interface debug: using interface module "hotkeys"
vlcj: (MediaPlayerFactory.java:222)            | DEBUG | instance=native@0x259c68
vlcj: (MediaPlayerFactory.java:419)            | DEBUG | newEmbeddedMediaPlayer()
vlcj: (MediaPlayerFactory.java:430)            | DEBUG | newEmbeddedMediaPlayer(fullScreenStrategy=null)
vlcj: (DefaultMediaPlayer.java:167)            | DEBUG | DefaultMediaPlayer(libvlc=Proxy interface to Native Library <C:\Users\dn48908\workspace\Moviee\lib\native\win\x86\libvlc.dll@1906114560>, instance=native@0x259c68)
vlcj: (DefaultMediaPlayer.java:1495)           | DEBUG | createInstance()
vlcj: (DefaultMediaPlayer.java:1498)           | DEBUG | mediaPlayerInstance=native@0x19030a78
vlcj: (DefaultMediaPlayer.java:1501)           | DEBUG | mediaPlayerEventManager=native@0x1908f958
vlcj: (DefaultMediaPlayer.java:1548)           | DEBUG | registerEventListener()
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerMediaChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerNothingSpecial
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerOpening
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerBuffering
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerPlaying
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerPaused
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerStopped
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerForward
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerBackward
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerEndReached
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerEncounteredError
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerTimeChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerPositionChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerSeekableChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerPausableChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerTitleChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerSnapshotTaken
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerLengthChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerVout
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (MediaPlayerFactory.java:499)            | DEBUG | newVideoSurface(canvas=java.awt.Canvas[canvas0,0,0,1034x562])
vlcj: (MediaPlayerFactory.java:514)            | DEBUG | videoSurface=uk.co.caprica.vlcj.player.embedded.videosurface.CanvasVideoSurface@814013
vlcj: (DefaultEmbeddedMediaPlayer.java:142)    | DEBUG | setVideoSurface(videoSurface=uk.co.caprica.vlcj.player.embedded.videosurface.CanvasVideoSurface@814013)
vlcj: (DefaultMediaPlayer.java:199)            | DEBUG | playMedia(mrl=C:\Users\dn48908\Downloads\FlickAnimation.avi,mediaOptions=[])
vlcj: (DefaultMediaPlayer.java:208)            | DEBUG | prepareMedia(mrl=C:\Users\dn48908\Downloads\FlickAnimation.avi,mediaOptions=[])
vlcj: (DefaultMediaPlayer.java:1633)           | DEBUG | setMedia(media=C:\Users\dn48908\Downloads\FlickAnimation.avi,mediaOptions=[])
vlcj: (DefaultMediaPlayer.java:1646)           | DEBUG | mediaInstance=native@0x19078ad8
vlcj: (DefaultMediaPlayer.java:1579)           | DEBUG | registerMediaEventListener()
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaMetaChanged
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaSubItemAdded
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaDurationChanged
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaParsedChanged
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaFreed
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaStateChanged
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:659)            | DEBUG | play()
vlcj: (DefaultEmbeddedMediaPlayer.java:314)    | DEBUG | onBeforePlay()
vlcj: (DefaultEmbeddedMediaPlayer.java:151)    | DEBUG | attachVideoSurface()
vlcj: (CanvasVideoSurface.java:67)             | DEBUG | attach()
vlcj: (WindowsVideoSurfaceAdapter.java:41)     | DEBUG | attach(componentId=531244)
[002596d0] main input debug: Creating an input for 'FlickAnimation.avi'
[002596d0] main input debug: using timeshift granularity of 50 MiB, in path 'C:\Users\dn48908\AppData\Local\Temp'
vlcj: (DefaultMediaPlayer.java:1788)           | DEBUG | mediaChanged(mediaPlayer=uk.co.caprica.vlcj.player.embedded.DefaultEmbeddedMediaPlayer@100ebec)
vlcj: (DefaultMediaPlayer.java:1792)           | DEBUG | Raising event for new media
[002596d0] main input debug: `file:///C:/Users/dn48908/Downloads/FlickAnimation.avi' gives access `file' demux `' path `/C:/Users/dn48908/Downloads/FlickAnimation.avi'
[002596d0] main input debug: creating demux: access='file' demux='' location='/C:/Users/dn48908/Downloads/FlickAnimation.avi' file='C:\Users\dn48908\Downloads\FlickAnimation.avi'
[190b2ce0] main demux debug: looking for access_demux module: 3 candidates
[190b2ce0] main demux debug: no access_demux module matching "file" could be loaded
[002596d0] main input debug: creating access 'file' location='/C:/Users/dn48908/Downloads/FlickAnimation.avi', path='C:\Users\dn48908\Downloads\FlickAnimation.avi'
[190c8e00] main access debug: looking for access module: 3 candidates
[190c8e00] filesystem access debug: opening file `C:\Users\dn48908\Downloads\FlickAnimation.avi'
[190c8e00] main access debug: using access module "filesystem"
[19087458] main stream debug: Using stream method for AStream*
[19087458] main stream debug: starting pre-buffering
[19087458] main stream debug: received first data after 0 ms
[19087458] main stream debug: pre-buffering done 1024 bytes in 0s - 11363 KiB/s
[19036e40] main stream debug: looking for stream_filter module: 4 candidates
[19036e40] main stream debug: no stream_filter module matching "any" could be loaded
[19036e40] main stream debug: looking for stream_filter module: 1 candidate
[19036e40] main stream debug: using stream_filter module "stream_filter_record"
[002596d0] main input debug: creating demux: access='file' demux='' location='/C:/Users/dn48908/Downloads/FlickAnimation.avi' file='C:\Users\dn48908\Downloads\FlickAnimation.avi'
[190b2ce0] main demux debug: looking for demux module: 55 candidates
[19036e40] avi stream debug: found Chunk fourcc:46464952 (RIFF) size:1600380 pos:0
[19036e40] avi stream debug: found LIST chunk: 'AVI '
[19036e40] avi stream debug: <list 'AVI '>
[19036e40] avi stream debug: found Chunk fourcc:5453494c (LIST) size:1216 pos:12
[19036e40] avi stream debug: found LIST chunk: 'hdrl'
[19036e40] avi stream debug: <list 'hdrl'>
[19036e40] avi stream debug: found Chunk fourcc:68697661 (avih) size:56 pos:24
[19036e40] avi stream debug: avih: streams:1 flags: HAS_INDEX 300x250
[19036e40] avi stream debug: found Chunk fourcc:5453494c (LIST) size:1140 pos:88
[19036e40] avi stream debug: found LIST chunk: 'strl'
[19036e40] avi stream debug: <list 'strl'>
[19036e40] avi stream debug: found Chunk fourcc:68727473 (strh) size:56 pos:100
[19036e40] avi stream debug: strh: type:vids handler:0x20454c52 samplesize:0 15.00fps
[19036e40] avi stream debug: found Chunk fourcc:66727473 (strf) size:1064 pos:164
[19036e40] avi stream debug: strf: video:    300x250 planes:1 8bpp
[19036e40] avi stream debug: </list 'strl'>
[19036e40] avi stream debug: </list 'hdrl'>
[19036e40] avi stream debug: found Chunk fourcc:4b4e554a (JUNK) size:1712 pos:1236
[19036e40] avi stream debug: found Chunk fourcc:5453494c (LIST) size:1596062 pos:2956
[19036e40] avi stream debug: skipping movi chunk
[19036e40] avi stream debug: found Chunk fourcc:31786469 (idx1) size:944 pos:1599026
[19036e40] avi stream debug: idx1: index entry:59
[19036e40] avi stream debug: found Chunk fourcc:416d7250 (PrmA) size:20 pos:1599978
[19036e40] avi stream warning: unknown chunk (not loaded)
[19036e40] avi stream debug: found Chunk fourcc:72387243 (Cr8r) size:84 pos:1600006
[19036e40] avi stream warning: unknown chunk (not loaded)
[19036e40] avi stream debug: found Chunk fourcc:4c6d7250 (PrmL) size:282 pos:1600098
[19036e40] avi stream warning: unknown chunk (not loaded)
[19036e40] avi stream debug: </list 'AVI '>
[19036e40] avi stream debug: * LIST-root size:1600388 pos:0
[19036e40] avi stream debug:      + RIFF-AVI  size:1600380 pos:0
[19036e40] avi stream debug:      |    + LIST-hdrl size:1216 pos:12
[19036e40] avi stream debug:      |    |    + avih size:56 pos:24
[19036e40] avi stream debug:      |    |    + LIST-strl size:1140 pos:88
[19036e40] avi stream debug:      |    |    |    + strh size:56 pos:100
[19036e40] avi stream debug:      |    |    |    + strf size:1064 pos:164
[19036e40] avi stream debug:      |    + JUNK size:1712 pos:1236
[19036e40] avi stream debug:      |    + LIST-movi size:1596062 pos:2956
[19036e40] avi stream debug:      |    + idx1 size:944 pos:1599026
[19036e40] avi stream debug:      |    + PrmA size:20 pos:1599978
[19036e40] avi stream debug:      |    + Cr8r size:84 pos:1600006
[19036e40] avi stream debug:      |    + PrmL size:282 pos:1600098
[190b2ce0] avi demux debug: AVIH: 1 stream, flags  HAS_INDEX 
[190b2ce0] avi demux debug: stream[0] rate:15 scale:1 samplesize:0
[190b2ce0] avi demux debug: stream[0] video(   ) 300x250 8bpp 15.000000fps
[002596d0] main input debug: selecting program id=0
[190b2ce0] avi demux debug: selected standard index for stream[0]
[190b2ce0] avi demux debug: stream[0] created 59 index entries
[190b2ce0] avi demux debug: stream[0] length:3 (based on index)
[190b2ce0] main demux debug: using demux module "avi"
[002596d0] main input debug: looking for a subtitle file in C:\Users\dn48908\Downloads
[190a00d0] main decoder debug: looking for decoder module: 30 candidates
[190a00d0] avcodec decoder debug: libavcodec initialized (interface 0x352400)
[190a00d0] avcodec decoder debug: trying to use direct rendering
[190a00d0] avcodec decoder debug: allowing 3 thread(s) for decoding
[190a00d0] avcodec decoder debug: ffmpeg codec (Microsoft RLE Video) started
[190a00d0] main decoder debug: using decoder module "avcodec"
[190a2468] main demux meta debug: looking for meta reader module: 2 candidates
[190a2468] lua demux meta debug: Trying Lua scripts in C:\Users\dn48908\AppData\Roaming\vlc\lua\meta\reader
[190a2468] lua demux meta debug: Trying Lua scripts in C:\Users\dn48908\workspace\Moviee\lib\native\win\x86\lua\meta\reader
[190a2468] main demux meta debug: no meta reader module matching "any" could be loaded
[002596d0] main input debug: `file:///C:/Users/dn48908/Downloads/FlickAnimation.avi' successfully opened
[002596d0] main input debug: Buffering 0%
[002596d0] main input debug: Buffering 8%
[002596d0] main input debug: Buffering 16%
[002596d0] main input debug: Buffering 25%
[002596d0] main input debug: Buffering 33%
[002596d0] main input debug: Buffering 41%
[002596d0] main input debug: Buffering 50%
[002596d0] main input debug: Buffering 58%
[002596d0] main input debug: Buffering 66%
[002596d0] main input debug: Buffering 75%
[002596d0] main input debug: Buffering 83%
[002596d0] main input debug: Buffering 91%
[002596d0] main input debug: Buffering 100%
[002596d0] main input debug: Stream buffering done (325 ms in 28 ms)
[190a00d0] avcodec decoder warning: disabling direct rendering
[190ffc68] main spu text debug: looking for text renderer module: 2 candidates
[190ffc68] freetype spu text debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
[190ffc68] freetype spu text debug: using fontsize: 2
[190ffc68] main spu text debug: using text renderer module "freetype"
[1b258e50] main scale debug: looking for video filter2 module: 18 candidates
[1b258e50] swscale scale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality)
[1b258e50] main scale debug: using video filter2 module "swscale"
[1b283b10] main scale debug: looking for video filter2 module: 18 candidates
[1b283b10] yuvp scale debug: YUVP to YUVA converter
[1b283b10] main scale debug: using video filter2 module "yuvp"
[190ff940] main video output debug: Deinterlacing available
[190ff940] main video output debug: deinterlace 0, mode blend, is_needed 0
[190ff940] main video output debug: Opening vout display wrapper
[19033828] main vout display debug: looking for vout display module: 6 candidates
[19033828] direct3d vout display debug: creating Vout EventThread
[19033828] direct3d vout display debug: DirectXCreateWindow
[190a2468] main window debug: looking for vout window hwnd module: 2 candidates
[190a2468] main window debug: using vout window hwnd module "drawable"
[19033828] direct3d vout display debug: created video sub-window
[19033828] direct3d vout display debug: Vout EventThread running
[19033828] direct3d vout display debug: disabling screen saver
[19033828] main vout display debug: VoutDisplayEvent 'resize' 316x288 window
[19033828] direct3d vout display debug: DirectXUpdateRects image_src_clipped coords: 0,0,300,250
[19033828] direct3d vout display warning: trying surface pixel format: X8R8G8B8
[19033828] direct3d vout display debug: selected surface pixel format is X8R8G8B8
[19033828] direct3d vout display debug: Using D3DTEXF_LINEAR for minification
[19033828] direct3d vout display debug: Using D3DTEXF_LINEAR for magnification
[19033828] direct3d vout display debug: Direct3D scene created successfully
[19033828] direct3d vout display debug: Direct3D device adapter successfully initialized
[19033828] main vout display debug: using vout display module "direct3d"
[19033828] main vout display debug: A filter to adapt decoder to display is needed
[1b284120] main filter debug: looking for video filter2 module: 18 candidates
[1b284120] swscale filter debug: 300x250 chroma: RGBP -> 300x250 chroma: RV32 with scaling using Bicubic (good quality)
[1b284120] main filter debug: using video filter2 module "swscale"
[19033828] main vout display debug: Filter 'Swscale' (1b284120) appended to chain
[190ff940] main video output debug: original format sz 300x250, of (0,0), vsz 300x250, 4cc RGBP, sar 1:1, msk r0x0 g0x0 b0x0
[190ffc68] main spu text debug: removing module "freetype"
[1dbccac0] main spu text debug: looking for text renderer module: 2 candidates
[1dbccac0] freetype spu text debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
[1dbccac0] freetype spu text debug: using fontsize: 2
[1dbccac0] main spu text debug: using text renderer module "freetype"
[190a00d0] main decoder debug: End of video preroll
[19033828] main vout display debug: VoutDisplayEvent 'resize' 1034x562 window
[19033828] direct3d vout display debug: DirectXUpdateRects image_src_clipped coords: 0,0,300,250
[19033828] main vout display error: Failed to set on top
[190a00d0] main decoder debug: Received first picture
[19033828] direct3d vout display debug: Created 273x30 texture for OSD
[190ff940] main video output debug: Post-processing available
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[002596d0] main input debug: Decoder buffering done in 170 ms
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] main vout display debug: auto hiding mouse cursor
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[190b2ce0] avi demux warning: cannot get packet header, track disabled
[002596d0] main input debug: EOF reached
[002596d0] main input debug: waiting decoder fifos to empty
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[002596d0] main input debug: waiting decoder fifos to empty
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[002596d0] main input debug: waiting decoder fifos to empty
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[19033828] direct3d vout display debug: Reusing 273x30 texture for OSD
[190a00d0] main decoder debug: removing module "avcodec"
[190a00d0] avcodec decoder debug: ffmpeg codec (Microsoft RLE Video) stopped
[190a00d0] main decoder debug: killing decoder fourcc `mrle', 0 PES in FIFO
[19030a78] main generic debug: saving a free vout
[19030a78] main generic debug: reusing provided vout
[190b2ce0] main demux debug: removing module "avi"
[19036e40] avi stream debug: free chunk avih
[19036e40] avi stream debug: free chunk strh
[19036e40] avi stream debug: free chunk strf
[19036e40] avi stream debug: free chunk LIST
[19036e40] avi stream debug: free chunk LIST
[19036e40] avi stream debug: free chunk JUNK
[19036e40] avi stream debug: free chunk LIST
[19036e40] avi stream debug: free chunk idx1
[19036e40] avi stream warning: unknown chunk (not unloaded)
[19036e40] avi stream warning: unknown chunk (not unloaded)
[19036e40] avi stream warning: unknown chunk (not unloaded)
[19036e40] avi stream debug: free chunk RIFF
[19036e40] avi stream debug: free chunk LIST
[19036e40] main stream debug: removing module "stream_filter_record"
[190c8e00] main access debug: removing module "filesystem"
[002596d0] main input debug: Program doesn't contain anymore ES
vlcj: (DefaultMediaPlayer.java:1842)           | DEBUG | finished(mediaPlayer=uk.co.caprica.vlcj.player.embedded.DefaultEmbeddedMediaPlayer@100ebec)
vlcj: (DefaultMediaPlayer.java:1805)           | DEBUG | finished(mediaPlayer=uk.co.caprica.vlcj.player.embedded.DefaultEmbeddedMediaPlayer@100ebec)
vlcj: (DefaultMediaPlayer.java:1822)           | DEBUG | No repeat
caprica commented 12 years ago

Native log reports this:

[002596d0] main input debug: EOF reached

I can't do anything about that in vlcj.

dyorgio commented 12 years ago

You were right! I found the problem, vlc only starts to show the video after 3 seconds..but the video had 3 seconds... Another problem: The file name that was in Windows Explorer was wrong, because LocalizedName into desktop.ini. No Issue on vlcj, maybe in vlcLib.