Page 1 of 1

VLC 1.0.0-git crashes on playing a WMV file

Posted: 07 Feb 2009 09:00
by Lotesdelere
As said in the topic title, VLC 1.0.0-git crashes when trying to play this file:
http://propergraphics.com/3dlowpoly/Koe ... ull_HD.wmv

However the file is playing fine in VLC 0.9.8a.
Tested on Windows XP Pro.

Messages log from v0.9.8a:

Code: Select all

asf debug: found 2 streams main debug: selecting program id=0 qt4 debug: New Event: type 1108 asf debug: added new audio stream(codec:0x162,ID:1) asf debug: added new video stream(ID:2) main debug: using demux module "asf" main debug: TIMER module_Need() : 4.000 ms - Total 4.000 ms / 1 intvls (Avg 4.000 ms) main debug: looking for a subtitle file in E:\Temp\ main debug: looking for decoder module: 34 candidates kate debug: kate: OpenDecoder dmo debug: found DMO: WMAudio Decoder DMO dmo debug: DMO input type set dmo debug: DMO output type set dmo debug: GetOutputSizeInfo(): bytes 16384, align 1 main debug: using decoder module "dmo" main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: thread started main debug: thread 5500 (decoder) created at priority 2 (input/decoder.c:217) main debug: looking for decoder module: 34 candidates avcodec debug: libavcodec already initialized avcodec debug: Extra data: 8 bits left, value: 0 (wmv3@014565C0) avcodec debug: ffmpeg codec (Windows Media Video 3) started main debug: using decoder module "avcodec" main debug: TIMER module_Need() : 4.000 ms - Total 4.000 ms / 1 intvls (Avg 4.000 ms) main debug: thread 5440 (decoder) created at priority 0 (input/decoder.c:217) main debug: `E:\Temp\Koenigsegg_Full_HD.wmv' successfully opened main debug: control type=1 main debug: no aout present, spawning one
Messages log from v1.0.0-git:

Code: Select all

asf debug: found 2 streams main debug: selecting program id=0 asf debug: added new audio stream(codec:0x162,ID:1) asf debug: added new video stream(ID:2) main debug: using demux module "asf" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: Inherited value for var sub-delay from config qt4 debug: New Event: type 1107 qt4 debug: New Event: type 1107 qt4 debug: New Event: type 1107 qt4 debug: New Event: type 1112 qt4 debug: New Event: type 1107 qt4 debug: New Event: type 1114 qt4 debug: New Event: type 1114 qt4 debug: New Event: type 1114 qt4 debug: New Event: type 1114 qt4 debug: New Event: type 1114 qt4 debug: New Event: type 1114 main debug: looking for a subtitle file in E:\Temp\ main debug: Inherited value for var codec from config main debug: looking for decoder module: 35 candidates dmo debug: DMO codec for wmap may work with dll=wma9dmod.dll qt4 debug: New Event: type 1114 qt4 debug: New Event: type 1107 qt4 debug: New Event: type 1114 qt4 debug: New Event: type 1114 dmo debug: found DMO: WMAudio Decoder DMO dmo debug: DMO input type set dmo debug: DMO output type set dmo debug: GetOutputSizeInfo(): bytes 16384, align 1 qt4 debug: New Event: type 1114 qt4 debug: New Event: type 1114 qt4 debug: New Event: type 1114 ***** CRASH *****

Re: VLC 1.0.0-git crashes on playing a WMV file

Posted: 07 Feb 2009 09:55
by random
Ticket #2441

Re: VLC 1.0.0-git crashes on playing a WMV file

Posted: 07 Feb 2009 09:57
by Rémi Denis-Courmont
Disable DMO and play with FFMPEG. I don't think DMO works on 64-bits.

Re: VLC 1.0.0-git crashes on playing a WMV file

Posted: 07 Feb 2009 10:50
by random
[0x107dc680] main decoder error: no suitable decoder module for fourcc `wmap'.
VLC probably does not support this sound or video format.

moved libdmo_plugin.dll out then there's no audio

Re: VLC 1.0.0-git crashes on playing a WMV file

Posted: 07 Feb 2009 11:22
by Lotesdelere
Disable DMO and play with FFMPEG. I don't think DMO works on 64-bits.
I'm not using the DMO switch and in the Preferences the option "Prefer system plugins over VLC" is unticked.
But I do have the WM DLL's in VLC folder. VLC is selecting the DMO audio codec by its own. However notice that it's also using the Ffmpeg video codec by its own and not the DMO one.

I'm not on XP 64 bits but on XP 32 bits and, as I said, it's working fine with v0.9.8a. So to me it looks like a regression.

Re: VLC 1.0.0-git crashes on playing a WMV file

Posted: 07 Feb 2009 23:25
by random
You're right seems more like a regression to me as 0.9-bugfix branch works just fine here, so this affected the vlc-1.0.0 libdmo_plugin.dll.

Re: VLC 1.0.0-git crashes on playing a WMV file

Posted: 08 Feb 2009 10:37
by Rémi Denis-Courmont
Patch welcome. DMO is totally not a priority since it only works on Windows and is not free software.

Re: VLC 1.0.0-git crashes on playing a WMV file

Posted: 08 Feb 2009 13:39
by Lotesdelere
Well, since it's working fine on v0.9.x you already have the patch :P

I see no reason to change this pîece of the code, don't break what is working fine.
It wouldn't be a good idea to ignore that 90% of the computers in the world are running Windows and that Windows Media files are widely used.

Re: VLC 1.0.0-git crashes on playing a WMV file

Posted: 08 Feb 2009 14:21
by Rémi Denis-Courmont
Yeah sure. You are conveniently omitting that the DMO plugin, as it is in 0.9.0 does not work in 1.0 due to core and other changes... to the best of my knowledge at least.

Re: VLC 1.0.0-git crashes on playing a WMV file

Posted: 29 Mar 2009 17:16
by LazyBoot
I get the same problem with the latest nightly (currently: vlc-1.0.0-pre1-20090328-2307)
I'm currently running windows 7 x64

it also crashes with version vlc-0.9.9-rc2-20090328-0105....

Re: VLC 1.0.0-git crashes on playing a WMV file

Posted: 29 Mar 2009 17:38
by Jean-Baptiste Kempf
I get the same problem with the latest nightly (currently: vlc-1.0.0-pre1-20090328-2307)
I'm currently running windows 7 x64

it also crashes with version vlc-0.9.9-rc2-20090328-0105....
Are you sure you don't have the WMA bug. Deactivate SSE acceleration and restart VLC.

Re: VLC 1.0.0-git crashes on playing a WMV file

Posted: 29 Mar 2009 17:58
by Lotesdelere
Are you sure you don't have the WMA bug. Deactivate SSE acceleration and restart VLC.
That didn't help.

And my initial test was done far before the SSE bug occured in the nightlies.

Re: VLC 1.0.0-git crashes on playing a WMV file

Posted: 29 Mar 2009 18:06
by Jean-Baptiste Kempf
Are you sure you don't have the WMA bug. Deactivate SSE acceleration and restart VLC.
That didn't help.

And my initial test was done far before the SSE bug occured in the nightlies.
I was talking to LazyBoot.
About your dmo issue, there is a fix in VLC tree. Let see if it works tonight.

Re: VLC 1.0.0-git crashes on playing a WMV file

Posted: 30 Mar 2009 16:01
by LazyBoot
Are you sure you don't have the WMA bug. Deactivate SSE acceleration and restart VLC.
you were right, well thanks for the fix :) (for my issue anyway)