Sierra VMD file support broken
As pointed out in here: http://forum.videolan.org/viewtopic.php?f=14&t=50329
There are Sierra VMD files that VLC won't play. VLC does identify them correctly and opens correct decoders, but there is no video output (no chroma module for to RV32 i=420x220 o=420x220) and there are some problems with audio also. Tested with 0.9.2, 0.8.6i and 0.8.6c under Win32.
Samples: http://samples.mplayerhq.hu/game-formats/sierra-vmd/
Log (with Verbosity 2) from 0.9.2 when trying to play http://samples.mplayerhq.hu/game-formats/sierra-vmd/Space%20Quest%206/1450.VMD
main debug: starting new item
main debug: processing request item 1450.VMD node Playlist skip 0
main debug: resyncing on 1450.VMD
main debug: 1450.VMD is at 0
main debug: creating new input thread
main debug: Creating an input for '1450.VMD'
main debug: waiting for thread initialization
main debug: thread started
main debug: thread 5224 (input) created at priority 1 (input/input.c:368)
main debug: `C:\1450.VMD' gives access `' demux `' path `C:\1450.VMD'
qt4 debug: Updating the stream status: 3
main debug: creating demux: access='' demux='' path='C:\1450.VMD'
main debug: looking for access_demux module: 1 candidate
main debug: TIMER module_Need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms)
main debug: creating access '' path='C:\1450.VMD'
main debug: looking for access module: 5 candidates
vcd debug: trying .cue file: C:\1450.cue
vcd debug: could not find .cue file
access_file debug: opening file `C:\1450.VMD'
main debug: using access module "access_file"
main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.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 - 458499 kbytes/s
main debug: creating demux: access='' demux='' path='C:\1450.VMD'
main debug: looking for demux module: 51 candidates
avformat debug: detected format: vmd
qt4 debug: New Event: type 1103
qt4 debug: Updating the stream status: 2
qt4 debug: New Event: type 1103
main debug: selecting program id=0
avformat debug: adding es: video codec = vmdv
avformat debug: adding es: audio codec = vmda
avformat debug: AVFormat supported stream
avformat debug: - format = vmd (Sierra VMD format)
avformat debug: - start time = 0
avformat debug: - duration = -1
main debug: using demux module "avformat"
main debug: TIMER module_Need() : 5.000 ms - Total 5.000 ms / 1 intvls (Avg 5.000 ms)
main debug: looking for a subtitle file in C:\
main debug: looking for decoder module: 35 candidates
avcodec debug: libavcodec already initialized
qt4 debug: New Event: type 1108
avcodec debug: using direct rendering
avcodec debug: ffmpeg codec (Sierra VMD Video) started
main debug: using decoder module "avcodec"
main debug: TIMER module_Need() : 6.000 ms - Total 6.000 ms / 1 intvls (Avg 6.000 ms)
main debug: thread 5348 (decoder) created at priority 0 (input/decoder.c:217)
main debug: looking for decoder module: 35 candidates
avcodec debug: libavcodec already initialized
main debug: thread started
avcodec warning: Physical channel configuration not set : guessing
avcodec debug: ffmpeg codec (Sierra VMD Audio) started
main debug: using decoder module "avcodec"
main debug: TIMER module_Need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms)
main debug: thread 5172 (decoder) created at priority 2 (input/decoder.c:217)
main debug: `C:\1450.VMD' successfully opened
main debug: control type=1
qt4 debug: New Event: type 1103
qt4 debug: Updating the stream status: 3
main debug: thread started
main debug: no aout present, spawning one
main debug: looking for audio output module: 3 candidates
aout_directx debug: OpenAudio
aout_directx debug: found device: Primary Sound Driver
aout_directx debug: found device: Speakers (Realtek High Definition Audio)
aout_directx debug: found device: Realtek Digital Output (Realtek High Definition Audio)
avcodec debug: disabling direct rendering
main debug: no usable vout present, spawning one
main debug: window size: 420x220
main debug: looking for video output module: 6 candidates
aout_directx debug: device supports 2 channels (DEFAULT!)
aout_directx debug: device supports 2 channels
aout_directx debug: device supports 1 channel
aout_directx debug: Windows says your SpeakerConfig is stereo
aout_directx debug: creating DirectSoundThread
main debug: thread 5512 (DirectSound Notification Thread) created at priority 15 (directx.c:392)
main debug: using audio output module "aout_directx"
main debug: TIMER module_Need() : 35.000 ms - Total 35.000 ms / 1 intvls (Avg 35.000 ms)
main debug: output 's16l' 22050 Hz Stereo/Mono frame=1 samples/4 bytes
main debug: mixer 'fl32' 22050 Hz Stereo/Mono frame=1 samples/8 bytes
main debug: filter(s) 'fl32'->'s16l' 22050 Hz->22050 Hz Stereo/Mono->Stereo/Mono
main debug: thread started
aout_directx debug: DirectSoundThread ready
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "converter_float"
main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.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() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: input 's16l' 22050 Hz Mono frame=1 samples/2 bytes
main debug: filter(s) 's16l'->'fl32' 22050 Hz->22050 Hz Mono->Stereo/Mono
main debug: looking for audio filter module: 24 candidates
main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "converter_float"
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "trivial_channel_mixer"
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: found 2 filters for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 24255 Hz->22050 Hz Stereo/Mono->Stereo/Mono
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: found a filter for the whole conversion
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
qt4 debug: waiting for interface...
qt4 debug: requesting window...
qt4 debug: Video was requested -1, -1
qt4 debug: Video is resizing to: 420 220
main debug: using vout window module "qt4"
main debug: TIMER module_Need() : 126.000 ms - Total 126.000 ms / 1 intvls (Avg 126.000 ms)
direct3d debug: created video sub-window
main debug: thread 5572 (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() : 228.000 ms - Total 228.000 ms / 1 intvls (Avg 228.000 ms)
main debug: waiting for thread initialization
main debug: thread started
qt4 debug: Updating the geometry
direct3d debug: Direct3D device adapter successfully initialized
direct3d debug: defaulting to adapter pixel format
direct3d debug: selected surface pixel format is X8R8G8B8
direct3d debug: 1 Direct3D pictures created successfully
direct3d debug: Direct3D scene created successfully
main debug: got 1 direct buffer(s)
main debug: picture in 420x220 (0,0,420x220), chroma , ar 274909:144000, sar 1:1
main debug: picture user 420x220 (0,0,420x220), chroma , ar 274909:144000, sar 1:1
main debug: picture out 420x220 (0,0,420x220), chroma RV32, ar 274909:144000, sar 1:1
main debug: looking for video filter2 module: 19 candidates
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main error: no chroma module for to RV32 i=420x220 o=420x220
direct3d debug: Direct3D scene released successfully
direct3d debug: 1 Direct3D pictures released.
main debug: thread ended
main debug: thread 5148 (video output) created at priority 1 (video_output/video_output.c:504)
main error: video output creation failed
main debug: thread times: real 0m0.222000s, kernel 0m0.156001s, user 0m0.046800s
main debug: thread 5148 joined (video_output/video_output.c:536)
direct3d debug: DirectXEventThread terminating
direct3d debug: DirectXCloseWindow
direct3d debug: WinProc WM_DESTROY
qt4 debug: Video is not needed anymore
main debug: removing module "qt4"
main debug: thread ended
qt4 debug: Updating the geometry
main debug: thread times: real 0m0.358000s, kernel 0m0.015600s, user 0m0.000000s
main debug: thread 5572 joined (direct3d.c:284)
main debug: removing module "direct3d"
main error: failed to create video output
qt4 debug: New Event: type 1109
main warning: output date isn't PTS date, requesting resampling (47503)
main warning: buffer is 47503 late, triggering upsampling
qt4 debug: Updating the stream status: 4
qt4 debug: New Event: type 1103
qt4 debug: Updating the stream status: 4
main debug: control type=1