Page 1 of 1

vlc segment fault after playing the format WMV3 file 7 times

Posted: 27 Mar 2007 01:48
by fantry
root@scot-desktop:/# uname -ar
Linux scot-desktop 2.6.15-23-386 #1 PREEMPT Tue May 23 13:49:40 UTC 2006 i686 GNU/Linux
I have enable the vlc's dmo plugin module to let it support the WMV3 format media file.the vlc works well when i open the WMV3 file for the first time ,and so with 2nd 3rd .....,after 7th ,the vlc crash with the "segment fault " info dump to the console.And the gdb's bt command show the info below :
(gdb) bt
#0 0x00408b52 in ?? ()
#1 0xaf9c3250 in IID_IMediaObject () from /usr/local/lib/vlc/codec/libdmo_plugin.so
#2 0x00402194 in ?? ()
#3 0xae6fe158 in ?? ()
#4 0xaf9c54b0 in ?? () from /usr/local/lib/vlc/codec/libdmo_plugin.so
#5 0x00409102 in ?? ()
#6 0x00000000 in ?? ()

Does this mean the vlc dmo plugin has some bug or it was my fault .

Posted: 27 Mar 2007 12:04
by Jean-Baptiste Kempf
Well, we don't need the dmo plugin anymore on vlc 0.8.6 and superior

Posted: 27 Mar 2007 13:13
by fantry
I have compiled the 0.8.6 ,but it seems not support WMV3 format .
my configure param is
[root@ipv6-test /]# ./configure --disable-mad --disable-libmpeg2 --disable-vorbis --disable-speex --disable-dirac --disable-x264 --disable-cmml --enable-sdl --disable-opengl --disable-glx --disable-wxwidgets --with-ffmpeg-tree=/ffmpeg --enable--ffmpeg.
when open the wmv3 file ,it's debug info is below(filtrated out the important):
[00000450] main decoder debug: looking for decoder module: 16 candidates
[00000450] ffmpeg decoder debug: libavcodec initialized (interface 3345152 )
[00000450] ffmpeg decoder debug: ffmpeg codec (Windows Media Audio 2) started
[00000012] main module debug: using decoder module "ffmpeg"
[00000450] main decoder debug: thread 3009997728 (decoder) created at priority 0 (src/input/decoder.c:159)
[00000464] main decoder debug: looking for decoder module: 16 candidates
[00000464] main decoder error: no suitable decoder module for fourcc `WMV3'.
VLC probably does not support this sound or video format.
[00000464] main decoder debug: killing decoder fourcc `WMV3', 0 PES in FIFO

what is the config parameter should I enable?

or how to support the wmv3 format file in 0.8.4a since I have been using this version for a long time Smile It is dmo module's bug or config's wrong parameter? The config parameter in 0.8.4a is:
/configure --disable-mad --disable-libmpeg2 --disable-vorbis --disable-speex --disable-dirac --disable-x264 --disable-cmml --disable-opengl --disable-x11 --enable-sdl --disable-glx --enable-wxwidgets --with-wx-config-path=/usr/local/bin --with-wx-config=wx-config --with-ffmpeg-tree=/ffmpeg --enable--ffmpeg --enable-dmo --enable-loader

Posted: 27 Mar 2007 13:15
by Jean-Baptiste Kempf
You must use a pretty recent version of ffmpeg to have WMV3 native in VLC

Posted: 27 Mar 2007 13:21
by fantry
thanks for your prompt reply.I got the ffmepg using svn,I will try it immediately again.

Posted: 27 Mar 2007 14:02
by fantry
I have tried it again using the svn to get the latest ffmpeg.
and configure with --enable-pp --enable-gpl
but the result is same.
I don't know why. :cry:

Posted: 27 Mar 2007 14:45
by fantry
thanks to j-b
I have managed to enable 0.8.6 to play wmv3,
:D using the latest ffmpeg