Postby kkmak » 21 Jan 2009 22:43
Hi, I have a similar problem w/ VLC playing mpeg2 files generated by ProgDVB. There is sound but no video (black screen).
I am using Windows XP SP3, with latest NVidia driver release (Nov 2008). I am using VLC v.98a.
I tried the following but didn't help:
- deleted old pref/cache @ %appdata%/vlc
- turned off overlay
- used DirectX 3D output (also tried Windows GDI/OpenGL)
- turned off 'embedded video'
I restarted VLC for every change I made. Nothing helped. I can view same mpeg2 file in Windows MediaPlayer/PoweDVDv8/TotalMediaTheatre fine. I love VLC but is there a way VLC can play the mpg2 file ok?
I managed to get a vlc log output (--extraintf=logger --verbose=2) and here is the log:
-- logger module started --
main debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
main debug: looking for memcpy module: 3 candidates
main debug: using memcpy module "memcpymmxext"
main debug: thread 4544 (Interaction control) created at priority 0 (interface/interaction.c:382)
main debug: thread started
main debug: Creating an input for 'Media Library'
main debug: Input is a meta file: disabling unneeded options
main debug: `file/xspf-open://C:\Documents and Settings\xxx\Application Data\vlc\ml.xspf' gives access `file' demux `xspf-open' path `C:\Documents and Settings\xxx\Application Data\vlc\ml.xspf'
main debug: creating access 'file' path='C:\Documents and Settings\xxx\Application Data\vlc\ml.xspf'
main debug: looking for access module: 2 candidates
access_file debug: opening file `C:\Documents and Settings\xxx\Application Data\vlc\ml.xspf'
main debug: using access module "access_file"
main debug: TIMER module_Need() : 11.000 ms - Total 11.000 ms / 1 intvls (Avg 11.000 ms)
main debug: Using AStream*Stream
main debug: pre-buffering...
main debug: received first data for our buffer
main debug: creating demux: access='file' demux='xspf-open' path='C:\Documents and Settings\xxx\Application Data\vlc\ml.xspf'
main debug: looking for demux module: 1 candidate
playlist debug: using XSPF playlist reader
main debug: using demux module "playlist"
main debug: TIMER module_Need() : 12.000 ms - Total 12.000 ms / 1 intvls (Avg 12.000 ms)
main debug: `file/xspf-open://C:\Documents and Settings\xxx\Application Data\vlc\ml.xspf' successfully opened
main debug: looking for xml module: 2 candidates
main debug: using xml module "xml"
main debug: TIMER module_Need() : 12.000 ms - Total 12.000 ms / 1 intvls (Avg 12.000 ms)
playlist debug: parsed 0 tracks successfully
main debug: removing module "xml"
main debug: EOF reached
main debug: control type=1
main debug: removing module "playlist"
main debug: removing module "access_file"
main debug: TIMER input launching for 'Media Library' : 27.000 ms - Total 27.000 ms / 1 intvls (Avg 27.000 ms)
main debug: waiting for thread initialization
main debug: thread started
main debug: thread 4620 (preparser) created at priority 0 (playlist/thread.c:79)
main debug: waiting for thread initialization
main debug: thread started
main debug: thread 4632 (fetcher) created at priority 0 (playlist/thread.c:108)
main debug: waiting for thread initialization
main debug: thread started
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 0 items, index -1
main debug: thread 4628 (playlist) created at priority 0 (playlist/thread.c:117)
main debug: looking for interface module: 1 candidate
logger: VLC media player - version 0.9.8a Grishenko - (c) 1996-2008 the VideoLAN team
logger:
Warning: if you can't access the GUI anymore, open a command-line window, go to the directory where you installed VLC and run "vlc -I qt"
logger: using logger...
logger debug: opening logfile `C:\Program Files\Video\Players\VLC\0.98a\vlc-log.txt'
main debug: using interface module "logger"
main debug: TIMER module_Need() : 27.000 ms - Total 27.000 ms / 1 intvls (Avg 27.000 ms)
main debug: thread 4652 (interface) created at priority 0 (interface/interface.c:168)
main debug: thread started
main debug: looking for interface module: 1 candidate
main debug: using interface module "hotkeys"
main debug: TIMER module_Need() : 12.000 ms - Total 12.000 ms / 1 intvls (Avg 12.000 ms)
main debug: thread 4676 (interface) created at priority 0 (interface/interface.c:168)
main debug: adding item `Test.mpg' ( C:\Program Files\VideoFiles\Test.mpg )
main debug: thread started
main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index -1
main debug: looking for interface module: 3 candidates
main debug: using interface module "qt4"
main debug: TIMER module_Need() : 50.000 ms - Total 50.000 ms / 1 intvls (Avg 50.000 ms)
main debug: thread 4784 (interface) created at priority 0 (interface/interface.c:168)
main debug: thread started
main debug: starting new item
main debug: processing request item null node Playlist skip 0
main debug: creating new input thread
main debug: Creating an input for 'Test.mpg'
main debug: waiting for thread initialization
main debug: thread started
main debug: `C:\Program Files\VideoVideoFiles\Test.mpg' gives access `' demux `' path `C:\Program Files\VideoFiles\Test.mpg'
main debug: thread 4872 (input) created at priority 1 (input/input.c:370)
main debug: creating demux: access='' demux='' path='C:\Program Files\VideoFiles\Test.mpg'
main debug: looking for access_demux module: 1 candidate
main debug: TIMER module_Need() : 16.000 ms - Total 16.000 ms / 1 intvls (Avg 16.000 ms)
main debug: creating access '' path='C:\Program Files\VideoFiles\Test.mpg'
main debug: looking for access module: 5 candidates
vcd debug: trying .cue file: C:\Program Files\VideoFiles\Test.cue
vcd debug: could not find .cue file
access_file debug: opening file `C:\Program Files\VideoFiles\Test.mpg'
main debug: using access module "access_file"
main debug: TIMER module_Need() : 19.000 ms - Total 19.000 ms / 1 intvls (Avg 19.000 ms)
main debug: Using AStream*Stream
main debug: pre-buffering...
main debug: received first data for our buffer
main debug: pre-buffering done 1408981 bytes in 0s - 171973 kbytes/s
main debug: creating demux: access='' demux='' path='C:\Program Files\VideoFiles\Test.mpg'
main debug: looking for demux module: 51 candidates
main debug: using demux module "ps"
main debug: TIMER module_Need() : 195.000 ms - Total 195.000 ms / 1 intvls (Avg 195.000 ms)
main debug: looking for a subtitle file in C:\Program Files\VideoFiles\
main debug: `C:\Program Files\VideoFiles\Test.mpg' successfully opened
ps warning: garbage at input, trying to resync...
ps warning: found sync code
ps debug: we found a length of: 267744000
ps debug: we found a length of: 36708328422
main debug: control type=1
main debug: selecting program id=0
main debug: looking for decoder module: 34 candidates
main debug: using decoder module "libmpeg2"
main debug: TIMER module_Need() : 23.000 ms - Total 23.000 ms / 1 intvls (Avg 23.000 ms)
main debug: thread 5116 (decoder) created at priority 0 (input/decoder.c:217)
main debug: thread started
libmpeg2 debug: 544x480 (display 544,480), aspect 576000, sar 20:17, 29.971 fps
main debug: no usable vout present, spawning one
main debug: window size: 640x480
main debug: looking for video output module: 9 candidates
main debug: looking for decoder module: 34 candidates
qt4 debug: Error while initializing qt-specific localization
qt4 debug: Updating the stream status: 3
direct3d debug: creating Vout EventThread
main debug: waiting for thread initialization
main debug: thread started
direct3d debug: DirectXCreateWindow
main debug: looking for vout window module: 2 candidates
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: using decoder module "mpeg_audio"
main debug: no window provider available
main debug: TIMER module_Need() : 62.000 ms - Total 62.000 ms / 1 intvls (Avg 62.000 ms)
main debug: thread 5212 (decoder) created at priority 2 (input/decoder.c:217)
main debug: thread started
direct3d debug: created video sub-window
main debug: thread 5220 (Vout Events Thread) created at priority 0 (direct3d.c:206)
direct3d debug: Vout EventThread running
direct3d debug: disabling screen saver
main debug: using video output module "direct3d"
main debug: TIMER module_Need() : 113.000 ms - Total 113.000 ms / 1 intvls (Avg 113.000 ms)
main debug: waiting for thread initialization
main debug: thread started
mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:160
main debug: no aout present, spawning one
main debug: looking for audio output module: 3 candidates
aout_directx debug: OpenAudio
direct3d debug: Direct3D device adapter successfully initialized
direct3d debug: selected surface pixel format is YUY2
direct3d debug: 1 Direct3D pictures created successfully
direct3d debug: Direct3D scene created successfully
main debug: got 1 direct buffer(s)
main debug: picture in 544x480 (0,0,544x480), chroma I420, ar 4:3, sar 20:17
main debug: picture user 544x480 (0,0,544x480), chroma I420, ar 4:3, sar 20:17
main debug: picture out 544x480 (0,0,544x480), chroma YUY2, ar 4:3, sar 20:17
main debug: looking for video filter2 module: 19 candidates
main debug: using video filter2 module "i420_yuy2_sse2"
main debug: TIMER module_Need() : 15.000 ms - Total 15.000 ms / 1 intvls (Avg 15.000 ms)
main debug: indirect render, mapping render pictures 0-7 to system pictures 1-8
main debug: thread 5256 (video output) created at priority 1 (video_output/video_output.c:502)
main warning: dts != current_pts (121856)
qt4 debug: New Event: type 1109
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
main warning: backward_pts != current_pts (33365)
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
main warning: late picture skipped (78972312000)
main warning: late picture skipped (78972312000)
main warning: late picture skipped (78972315999)
main warning: late picture skipped (78972315999)
main debug: looking for text renderer module: 2 candidates
main debug: thread 5456 (fontlist builder) created at priority 0 (freetype.c:477)
freetype debug: using fontsize: 30
main debug: using text renderer module "freetype"
main debug: TIMER module_Need() : 31.000 ms - Total 31.000 ms / 1 intvls (Avg 31.000 ms)
libmpeg2 warning: invalid picture encountered
freetype debug: using fontsize: 30
main debug: looking for video blending module: 1 candidate
libmpeg2 warning: invalid picture encountered
main debug: thread started
libmpeg2 warning: invalid picture encountered
blend debug: chroma: YUVA -> YUY2
main debug: using video blending module "blend"
libmpeg2 warning: invalid picture encountered
freetype debug: Building font database...
main debug: TIMER module_Need() : 19.000 ms - Total 19.000 ms / 1 intvls (Avg 19.000 ms)
freetype debug: Finished building font database.
freetype debug: Took 0 seconds
main debug: thread ended
main warning: late picture skipped (78972468000)
main warning: late picture skipped (78972471999)
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
main warning: late picture skipped (78972566000)
main warning: late picture skipped (78972565999)
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
main warning: late picture skipped (78972664000)
main warning: late picture skipped (78972666999)
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
main warning: late picture skipped (78972765000)
main warning: late picture skipped (78972764999)
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
aout_directx debug: found device: Primary Sound Driver
aout_directx debug: found device: SB Audigy 2 Audio [BCC0]
aout_directx debug: found device: Modem #2 Line Playback (emulated)
aout_directx debug: found device: USRobotics Virtual Audio
aout_directx debug: found device: USRobotics IVR Virtual Audio Device
main warning: late picture skipped (78972863000)
main warning: late picture skipped (78972866999)
libmpeg2 warning: invalid picture encountered
main warning: dts != current_pts (-66747)
aout_directx debug: device supports 2 channels (DEFAULT!)
aout_directx debug: device supports 2 channels
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
aout_directx debug: device supports 1 channel
aout_directx debug: Windows says your SpeakerConfig is 5.1
aout_directx debug: creating DirectSoundThread
main debug: thread 5828 (DirectSound Notification Thread) created at priority 15 (directx.c:392)
main debug: thread started
main debug: using audio output module "aout_directx"
aout_directx debug: DirectSoundThread ready
main debug: TIMER module_Need() : 750.000 ms - Total 750.000 ms / 1 intvls (Avg 750.000 ms)
main debug: output 's16l' 48000 Hz Stereo frame=1 samples/4 bytes
main debug: mixer 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes
main debug: filter(s) 'fl32'->'s16l' 48000 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main warning: late picture skipped (78972964000)
main warning: late picture skipped (78972963999)
libmpeg2 warning: invalid picture encountered
main warning: backward_pts != current_pts (66731)
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
main debug: using audio filter module "converter_float"
main debug: TIMER module_Need() : 78.000 ms - Total 78.000 ms / 1 intvls (Avg 78.000 ms)
main debug: found a filter for the whole conversion
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "float32_mixer"
main debug: TIMER module_Need() : 8.000 ms - Total 8.000 ms / 1 intvls (Avg 8.000 ms)
main debug: input 'mpga' 48000 Hz Stereo frame=1152 samples/1161 bytes
main debug: filter(s) 'mpga'->'fl32' 48000 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "mpgatofixed32"
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: found a filter for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 52800 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: TIMER module_Need() : 4.000 ms - Total 4.000 ms / 1 intvls (Avg 4.000 ms)
main debug: found a filter for the whole conversion
main warning: PTS is out of range (532689), dropping buffer
main warning: PTS is out of range (508689), dropping buffer
main warning: PTS is out of range (492689), dropping buffer
main warning: PTS is out of range (468689), dropping buffer
main warning: PTS is out of range (448689), dropping buffer
message warning: message queue overflowed
main debug: removing module "qt4"
main debug: thread ended
main debug: dying input
main debug: thread times: real 0m5.890625s, kernel 0m0.000000s, user 0m0.015625s
main debug: thread 4676 joined (interface/interface.c:188)
main debug: removing module "hotkeys"
main debug: thread ended
main debug: thread times: real 0m5.937500s, kernel 0m0.031250s, user 0m0.000000s
main debug: thread 4652 joined (interface/interface.c:188)
-- logger module stopped --
Thx