VLC doesnt show video from an AVI file, but plays the sound.

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
jomalin
Blank Cone
Blank Cone
Posts: 22
Joined: 13 Apr 2011 10:12

VLC doesnt show video from an AVI file, but plays the sound.

Postby jomalin » 15 Sep 2013 12:15

Using VLC 2.0.8 in a Windows XP SP3 32 bits and Windows 7 Professional 64 bits, playing this video:
https://mega.co.nz/#!LFlSzIbT!UNJG-htqp ... oT6K9a5P6I

VLC reproduces the sound, but not the video (it is all black).

Using Windows Media Player 9.00.00.4503 in XP SP3, PLAYS THE SOUND AND VIDEO WELL.
Using Windows Media Player 12.0.7601.17514 in Windows 7 Professional 64 bits, shows only a static image (taken from the video) and plays the sound.

Lotesdelere
Cone Master
Cone Master
Posts: 10074
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC doesnt show video from an AVI file, but plays the so

Postby Lotesdelere » 16 Sep 2013 08:10

Please open Tools -> Messages (set Verbosity to 2) before you start the playback, and then paste the full resulting log here or on Pastebin.com if it's too long.

Use another hosting site than Mega and upload a short sample of a problematic file to either http://streams.videolan.org/upload/ or to EmbedUpload.com, the latter will upload the file for you to several other hosts and then post the link to the file here.

If needed cut it with DGsplit and read here about how to do it:
viewtopic.php?f=14&t=57724&p=193335#p193335
50 MB max should be enough.

jomalin
Blank Cone
Blank Cone
Posts: 22
Joined: 13 Apr 2011 10:12

Re: VLC doesnt show video from an AVI file, but plays the so

Postby jomalin » 16 Sep 2013 19:16

Lotesdelere, thanks for your reply. The video is only 3 MB in size...
This is the log:

Code: Select all

main debug: adding item `DIABLO.AVI' ( file:///C:/Users/Ale/Desktop/DIABLO.AVI ) qt4 debug: Adding a new MRL to recent ones: file:///C:/Users/Ale/Desktop/DIABLO.AVI main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index -1 main debug: processing request item: DIABLO.AVI, node: null, skip: 0 main debug: resyncing on DIABLO.AVI main debug: Creating an input for 'DIABLO.AVI' main debug: DIABLO.AVI is at 0 main debug: starting playback of the new playlist item main debug: resyncing on DIABLO.AVI main debug: DIABLO.AVI is at 0 main debug: creating new input thread main debug: Creating an input for 'DIABLO.AVI' main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Ale\AppData\Local\Temp' main debug: `file:///C:/Users/Ale/Desktop/DIABLO.AVI' gives access `file' demux `' path `/C:/Users/Ale/Desktop/DIABLO.AVI' main debug: creating demux: access='file' demux='' location='/C:/Users/Ale/Desktop/DIABLO.AVI' file='C:\Users\Ale\Desktop\DIABLO.AVI' main debug: looking for access_demux module: 3 candidates main debug: no access_demux module matching "file" could be loaded main debug: TIMER module_need() : 0.435 ms - Total 0.435 ms / 1 intvls (Avg 0.435 ms) main debug: creating access 'file' location='/C:/Users/Ale/Desktop/DIABLO.AVI', path='C:\Users\Ale\Desktop\DIABLO.AVI' main debug: looking for access module: 3 candidates filesystem debug: opening file `C:\Users\Ale\Desktop\DIABLO.AVI' main debug: using access module "filesystem" main debug: TIMER module_need() : 0.374 ms - Total 0.374 ms / 1 intvls (Avg 0.374 ms) main debug: Using stream method for AStream* main debug: starting pre-buffering main debug: received first data after 0 ms main debug: pre-buffering done 1024 bytes in 0s - 26315 KiB/s main debug: looking for stream_filter module: 4 candidates main debug: no stream_filter module matching "any" could be loaded main debug: TIMER module_need() : 0.147 ms - Total 0.147 ms / 1 intvls (Avg 0.147 ms) main debug: looking for stream_filter module: 1 candidate main debug: using stream_filter module "stream_filter_record" main debug: TIMER module_need() : 0.144 ms - Total 0.144 ms / 1 intvls (Avg 0.144 ms) main debug: creating demux: access='file' demux='' location='/C:/Users/Ale/Desktop/DIABLO.AVI' file='C:\Users\Ale\Desktop\DIABLO.AVI' main debug: looking for demux module: 55 candidates avi debug: <list 'AVI '> avi debug: <list 'hdrl'> avi debug: <list 'strl'> avi debug: </list 'strl'> avi debug: <list 'strl'> avi debug: </list 'strl'> avi debug: </list 'hdrl'> avi debug: skipping movi chunk avi debug: <list 'INFO'> avi warning: found null fourcc chunk (corrupted file?) avi debug: </list 'INFO'> avi warning: found null fourcc chunk (corrupted file?) avi debug: </list 'AVI '> avi warning: found null fourcc chunk (corrupted file?) avi debug: * LIST-root size:3287794 pos:0 avi debug: + RIFF-AVI size:3287786 pos:0 avi debug: | + LIST-hdrl size:1316 pos:12 avi debug: | | + avih size:56 pos:24 avi debug: | | + LIST-strl size:1140 pos:88 avi debug: | | | + strh size:56 pos:100 avi debug: | | | + strf size:1064 pos:164 avi debug: | | + LIST-strl size:92 pos:1236 avi debug: | | | + strh size:56 pos:1248 avi debug: | | | + strf size:16 pos:1312 avi debug: | + JUNK size:2740 pos:1336 avi debug: | + LIST-movi size:3272708 pos:4084 avi debug: | + idx1 size:10672 pos:3276800 avi debug: | + LIST-INFO size:190 pos:3287480 avi debug: | | + size:178 pos:3287492 avi debug: | + size:178 pos:3287492 avi debug: + size:178 pos:3287492 avi debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED avi debug: stream[0] rate:10 scale:1 samplesize:0 avi debug: stream[0] video(CRAM) 300x148 8bpp 10.000000fps main debug: selecting program id=0 avi debug: stream[1] rate:22050 scale:1 samplesize:1 avi debug: stream[1] audio(0x1 - ) 1 channels 22050Hz 8bits avi debug: selected standard index for stream[0] avi debug: selected standard index for stream[1] avi debug: stream[0] created 220 index entries avi error: no key frame set for track 1 avi debug: stream[1] created 220 index entries avi debug: stream[0] length:22 (based on index) avi debug: stream[1] length:22 (based on index) main debug: using demux module "avi" main debug: TIMER module_need() : 1.517 ms - Total 1.517 ms / 1 intvls (Avg 1.517 ms) main debug: looking for a subtitle file in C:\Users\Ale\Desktop\ main debug: meta ok for (null), need to fetch art main debug: looking for meta fetcher module: 1 candidate lua debug: Trying Lua scripts in C:\Users\Ale\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files (x86)\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files (x86)\VLC\lua\meta\fetcher\tvrage.luac main debug: looking for decoder module: 32 candidates main debug: using meta fetcher module "lua" main debug: TIMER module_need() : 2.156 ms - Total 2.156 ms / 1 intvls (Avg 2.156 ms) main debug: removing module "lua" main debug: searching art for DIABLO.AVI main debug: looking for art finder module: 2 candidates lua debug: Trying Lua scripts in C:\Users\Ale\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VLC\lua\meta\art\00_musicbrainz.luac qt4 debug: IM: Setting an input avcodec debug: libavcodec initialized (interface 0x362901) lua debug: Trying Lua playlist script C:\Program Files (x86)\VLC\lua\meta\art\01_googleimage.luac avcodec debug: trying to use direct rendering avcodec debug: allowing 4 thread(s) for decoding avcodec debug: ffmpeg codec (Microsoft Video 1) started main debug: using decoder module "avcodec" main debug: TIMER module_need() : 11.290 ms - Total 11.290 ms / 1 intvls (Avg 11.290 ms) lua debug: Trying Lua playlist script C:\Program Files (x86)\VLC\lua\meta\art\02_frenchtv.luac main debug: looking for decoder module: 32 candidates araw debug: samplerate:22050Hz channels:1 bits/sample:8 main debug: using decoder module "araw" main debug: TIMER module_need() : 0.187 ms - Total 0.187 ms / 1 intvls (Avg 0.187 ms) main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua playlist script C:\Program Files (x86)\VLC\lua\meta\art\03_lastfm.luac lua debug: Trying Lua scripts in C:\Users\Ale\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Program Files (x86)\VLC\lua\meta\reader lua debug: Trying Lua playlist script C:\Program Files (x86)\VLC\lua\meta\reader\filename.luac main debug: no art finder module matching "any" could be loaded main debug: TIMER module_need() : 11.023 ms - Total 11.023 ms / 1 intvls (Avg 11.023 ms) main debug: art not found for DIABLO.AVI main debug: no meta reader module matching "any" could be loaded main debug: TIMER module_need() : 1.383 ms - Total 1.383 ms / 1 intvls (Avg 1.383 ms) main debug: `file:///C:/Users/Ale/Desktop/DIABLO.AVI' successfully opened main debug: Buffering 0% main debug: Buffering 8% main debug: Buffering 16% main debug: creating audio output main debug: Buffering 25% main debug: Buffering 33% main debug: Buffering 41% avcodec warning: disabling direct rendering main debug: Buffering 50% main debug: Buffering 58% main debug: Buffering 66% main debug: Buffering 75% main debug: Buffering 83% main debug: Buffering 91% main debug: Buffering 100% main debug: Stream buffering done (325 ms in 0 ms) main debug: looking for audio output module: 2 candidates aout_directx debug: Opening DirectSound Audio Output main debug: looking for text renderer module: 2 candidates freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf freetype debug: using fontsize: 2 main debug: using text renderer module "freetype" main debug: TIMER module_need() : 3.680 ms - Total 3.680 ms / 1 intvls (Avg 3.680 ms) main debug: looking for video filter2 module: 18 candidates swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality) main debug: using video filter2 module "swscale" main debug: TIMER module_need() : 1.690 ms - Total 1.690 ms / 1 intvls (Avg 1.690 ms) main debug: looking for video filter2 module: 18 candidates yuvp debug: YUVP to YUVA converter main debug: using video filter2 module "yuvp" main debug: TIMER module_need() : 3.880 ms - Total 3.880 ms / 1 intvls (Avg 3.880 ms) main debug: Deinterlacing available main debug: deinterlace 0, mode blend, is_needed 0 main debug: Opening vout display wrapper main debug: looking for vout display module: 6 candidates direct3d debug: creating Vout EventThread direct3d debug: DirectXCreateWindow main debug: looking for vout window hwnd module: 2 candidates qt4 debug: requesting video... aout_directx debug: found device: Controlador primario de sonido aout_directx debug: found device: Altavoces (Realtek High Definition Audio) aout_directx debug: found device: Realtek Digital Output (Realtek High Definition Audio) aout_directx debug: found device: Realtek Digital Output(Optical) (Realtek High Definition Audio) aout_directx debug: found device: DELL U2312HM (Sonido Intel(R) para pantallas) aout_directx debug: device supports 2 channels (DEFAULT!) aout_directx debug: device supports 1 channel aout_directx debug: Windows says your SpeakerConfig is stereo aout_directx debug: creating DirectSoundThread main debug: using audio output module "aout_directx" main debug: TIMER module_need() : 32.834 ms - Total 32.834 ms / 1 intvls (Avg 32.834 ms) main debug: output 's16l' 22050 Hz Stereo/Mono frame=1 samples/4 bytes main debug: mixer 'f32l' 22050 Hz Stereo/Mono frame=1 samples/8 bytes aout_directx debug: DirectSoundThread ready main debug: filter(s) 'f32l'->'s16l' 22050 Hz->22050 Hz Stereo/Mono->Stereo/Mono main debug: looking for audio filter module: 13 candidates audio_format debug: f32l->s16l, bits per sample: 32->16 main debug: using audio filter module "audio_format" main debug: TIMER module_need() : 1.511 ms - Total 1.511 ms / 1 intvls (Avg 1.511 ms) main debug: conversion pipeline completed main debug: looking for audio mixer module: 2 candidates main debug: using audio mixer module "float32_mixer" main debug: TIMER module_need() : 0.170 ms - Total 0.170 ms / 1 intvls (Avg 0.170 ms) main debug: input 'u8 ' 22050 Hz Mono frame=1 samples/1 bytes main debug: looking for audio filter module: 1 candidate scaletempo debug: format: 22050 rate, 2 nch, 4 bps, fl32 scaletempo debug: params: 30 stride, 0.200 overlap, 14 search scaletempo debug: 1.000 scale, 661.000 stride_in, 661 stride_out, 529 standing, 132 overlap, 308 search, 1101 queue, fl32 mode main debug: using audio filter module "scaletempo" main debug: TIMER module_need() : 0.243 ms - Total 0.243 ms / 1 intvls (Avg 0.243 ms) main debug: filter(s) 'u8 '->'f32l' 22050 Hz->22050 Hz Mono->Stereo/Mono main debug: looking for audio filter module: 13 candidates main debug: no audio filter module matching "any" could be loaded main debug: TIMER module_need() : 0.167 ms - Total 0.167 ms / 1 intvls (Avg 0.167 ms) main debug: looking for audio filter module: 13 candidates main debug: using audio filter module "trivial_channel_mixer" main debug: TIMER module_need() : 0.053 ms - Total 0.053 ms / 1 intvls (Avg 0.053 ms) main debug: looking for audio filter module: 13 candidates audio_format debug: u8 ->f32l, bits per sample: 8->32 main debug: using audio filter module "audio_format" main debug: TIMER module_need() : 0.056 ms - Total 0.056 ms / 1 intvls (Avg 0.056 ms) main debug: conversion pipeline completed main debug: filter(s) 'f32l'->'f32l' 22050 Hz->22050 Hz Stereo/Mono->Stereo/Mono main debug: conversion pipeline completed main debug: filter(s) 'f32l'->'f32l' 24255 Hz->22050 Hz Stereo/Mono->Stereo/Mono main debug: looking for audio filter module: 13 candidates main debug: using audio filter module "samplerate" main debug: TIMER module_need() : 0.079 ms - Total 0.079 ms / 1 intvls (Avg 0.079 ms) main debug: conversion pipeline completed main debug: End of audio preroll qt4 debug: Video was requested 0, 0 main debug: using vout window hwnd module "qt4" main debug: TIMER module_need() : 113.502 ms - Total 113.502 ms / 1 intvls (Avg 113.502 ms) direct3d debug: created video sub-window direct3d debug: Vout EventThread running direct3d debug: disabling screen saver direct3d debug: Direct3d Device: Intel(R) HD Graphics 4000 32902 354 9 main debug: VoutDisplayEvent 'resize' 308x175 window direct3d warning: trying surface pixel format: X8R8G8B8 direct3d debug: selected surface pixel format is X8R8G8B8 direct3d debug: Using D3DTEXF_LINEAR for minification direct3d debug: Using D3DTEXF_LINEAR for magnification direct3d debug: Direct3D scene created successfully direct3d debug: Direct3D device adapter successfully initialized main debug: using vout display module "direct3d" main debug: TIMER module_need() : 137.060 ms - Total 137.060 ms / 1 intvls (Avg 137.060 ms) main debug: A filter to adapt decoder to display is needed main debug: looking for video filter2 module: 18 candidates swscale debug: 300x148 chroma: RGBP -> 300x148 chroma: RV32 with scaling using Bicubic (good quality) main debug: using video filter2 module "swscale" main debug: TIMER module_need() : 0.130 ms - Total 0.130 ms / 1 intvls (Avg 0.130 ms) main debug: Filter 'Swscale' (04154ef0) appended to chain main debug: original format sz 300x148, of (0,0), vsz 300x148, 4cc RGBP, sar 1:1, msk r0x0 g0x0 b0x0 main debug: removing module "freetype" main debug: looking for text renderer module: 2 candidates freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf main debug: VoutDisplayEvent 'resize' 435x148 window freetype debug: using fontsize: 2 main debug: using text renderer module "freetype" main debug: TIMER module_need() : 0.496 ms - Total 0.496 ms / 1 intvls (Avg 0.496 ms) main debug: End of video preroll main debug: Received first picture direct3d debug: Created 52x9 texture for OSD main debug: Post-processing available main debug: Decoder buffering done in 171 ms main warning: PTS is out of range (-9992), dropping buffer main warning: PTS is out of range (-34964), dropping buffer main warning: audio output out of sync, adjusting dates (70351 us) main warning: not synchronized (70352 us), resampling main warning: buffer too late (69444), up-sampling main debug: auto hiding mouse cursor main warning: resampling stopped after 10199276 usec (drift: 669) avi warning: cannot get packet header, track disabled main debug: EOF reached main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: finished input main debug: removing module "avcodec" avcodec debug: ffmpeg codec (Microsoft Video 1) stopped main debug: killing decoder fourcc `MSVC', 0 PES in FIFO main debug: saving a free vout main debug: reusing provided vout main debug: removing module "araw" main debug: killing decoder fourcc `u8 ', 0 PES in FIFO main debug: removing module "audio_format" main debug: removing module "trivial_channel_mixer" main debug: removing module "scaletempo" main debug: removing module "samplerate" main debug: removing module "aout_directx" aout_directx debug: closing audio device aout_directx debug: DirectSoundThread exiting main debug: removing module "audio_format" main debug: removing module "float32_mixer" main debug: releasing audio output main debug: removing module "avi" avi warning: unknown chunk (not unloaded) avi warning: unknown chunk (not unloaded) avi warning: unknown chunk (not unloaded) main debug: removing module "stream_filter_record" main debug: removing module "filesystem" main debug: Program doesn't contain anymore ES main debug: dead input main debug: changing item without a request (current 0/1) main debug: nothing to play main debug: destroying useless vout main debug: Filter 04154ef0 removed from chain main debug: removing module "swscale" main debug: removing module "direct3d" direct3d debug: Direct3D scene released successfully direct3d debug: DirectXEventThread terminating direct3d debug: DirectXCloseWindow direct3d debug: WinProc WM_DESTROY qt4 debug: releasing video... qt4 debug: IM: Deleting the input main debug: TIMER input launching for 'DIABLO.AVI' : 18.894 ms - Total 18.894 ms / 1 intvls (Avg 18.894 ms) qt4 debug: Video is not needed anymore main debug: removing module "freetype" main debug: removing module "yuvp" main debug: removing module "swscale"
In the log, there is one error line:
avi error: no key frame set for track 1

But why Windows Media Player (from XP, not from Win7) can reproduce the video successfully and not VLC? :-(

Lotesdelere
Cone Master
Cone Master
Posts: 10074
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC doesnt show video from an AVI file, but plays the so

Postby Lotesdelere » 17 Sep 2013 08:24

The video is only 3 MB in size...
Please upload it to one of the sites I've posted.

Code: Select all

avi debug: stream[0] video(CRAM) 300x148 8bpp 10.000000fps
But I have other CRAM videos and it looks like VLC (2.1.0-rc2 as well) fails to render the video.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC doesnt show video from an AVI file, but plays the so

Postby Jean-Baptiste Kempf » 17 Sep 2013 14:38

Palette?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

jomalin
Blank Cone
Blank Cone
Posts: 22
Joined: 13 Apr 2011 10:12

Re: VLC doesnt show video from an AVI file, but plays the so

Postby jomalin » 19 Sep 2013 08:22

I have uploaded the video successfully to:
http://streams.videolan.org/upload/

But the webpage doesn't give me the link :S It only told me:

Your upload has completed. You may close the window now.
Thank you for helping out VideoLAN.
Alternatively, you can upload another file


I left the "Trac ticket" field blank.

Lotesdelere
Cone Master
Cone Master
Posts: 10074
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC doesnt show video from an AVI file, but plays the so

Postby Lotesdelere » 20 Sep 2013 08:57

I have uploaded the video successfully
Found it, thanks.

You should create a new ticket on the VLC Trac with your messages log, the name your file and the link to this thread.

Palette?
VLC says Palettized RGB with palette element R:G:B.
The window resizes to the size of the video though but the screen remains black.
FFplay says Pal8 and it's playing it.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 42 guests