Opened 15 years ago

Closed 14 years ago

#1511 closed defect (worksforme)

bug about the audio decode at file libavcodec/wma.c

Reported by: xmxkw@… Owned by: reimar
Priority: normal Component: demuxer
Version: unspecified Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

latest i get the mplayer code from svn, and use MingW32 to compile it, but some thing strange. when i first time to compile it, it play the wmv and rmvb is ok, but latest compiled seems bad it can not play the wmv file(the same video file can play with first compiled) .

the error ouput is follow:
$ ./mplayer.exe -quiet -slave /e/20000000000000000000000000000001_.wmv
MPlayer UNKNOWN-4.3.0 (C) 2000-2009 MPlayer Team
SSE supported but disabled
SSE2 supported but disabled

Playing e:/20000000000000000000000000000001_.wmv.
ASF file format detected.
[asfheader] Audio stream found, -aid 1
[asfheader] Video stream found, -vid 2
VIDEO: [WMV3] 848x448 24bpp 1000.000 fps 643.0 kbps (78.5 kbyte/s)
==========================================================================
Opening video decoder: [dmo] DMO video codecs
IMediaObject ERROR: 00BF6040 could not open DMO DLL (0x0 : 0)
Failed to create DMO filter
ERROR: Could not open required DirectShow codec wmv9dmod.dll.
You need to upgrade/install the binary codecs package.
Go to http://www.mplayerhq.hu/dload.html
VDecoder init failed :(
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 R
GB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 848 x 448 (preferred colorspace: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [directx] 848x448 => 848x448 Planar YV12
Selected video codec: [wmvdmo] vfm: dmo (Windows Media Video DMO)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders

till print the line "Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders", it exit and no any other info,just quit, when i trace the code , it tend to the func av_cold ff_wma_get_frame_len_bits in libavcodec/wma.c . when i add a log print to it like follow:
int av_cold ff_wma_get_frame_len_bits(int sample_rate, int version,

unsigned int decode_flags)

{

int frame_len_bits;

av_log(NULL, 0, "");

if (sample_rate <= 16000) {

frame_len_bits = 9;

it works ...

i doubt it should relate to the stack, but when i add ldflag --stack 8000000 on it, seems useless.
i don't know how to make it work if not amend the code.


attach the configure options follow:

./configure --prefix=/d/workdir/tmp/mplayer/binary \

--extra-cflags="-I/d/workdir/tmp/live/liveMedia/include -I/d/workdir/tmp/live/BasicUsageEnvironment/include -I/d/workdir/tmp/live/groupsock/include -I/d/workdir/tmp/live/UsageEnvironment/include -I/d/workdir/tmp/mplayer/relate_libs/include -I/d/workdir/tmp/mplayer/relate_libs/include/freetype2" \
--extra-libs="-L/d/workdir/tmp/mplayer/relate_libs/lib -lfreetype -lfribidi -liconv " \
--libdir="lib" \
--codecsdir="lib/codecs" \
--win32codecsdir="lib/codecs" \
--realcodecsdir="lib/codecs" \
--disable-mencoder \
--disable-gui \
--disable-gtk1 \
--enable-largefiles \
--disable-linux-devfs \
--disable-termcap \
--disable-termios \
--enable-iconv \
--disable-langinfo \
--disable-lirc \
--disable-lircc \
--disable-joystick \
--disable-apple-remote \
--disable-apple-ir \
--disable-vm \
--disable-xf86keysym \
--disable-radio \
--disable-radio-capture \
--disable-radio-v4l2 \
--disable-radio-bsdbt848 \
--disable-tv \
--disable-tv-v4l1 \
--disable-tv-v4l2 \
--disable-tv-bsdbt848 \
--disable-tv-teletext \
--disable-pvr \
--disable-rtc \
--enable-network \
--enable-winsock2_h \
--disable-smb \
--disable-nemesi \
--disable-vcd \
--disable-dvdnav \
--disable-dvdread \
--disable-dvdread-internal \
--disable-libdvdcss-internal \
--disable-cdparanoia \
--disable-cddb \
--enable-bitmap-font \
--enable-freetype \
--disable-fontconfig \
--disable-unrarexec \
--enable-menu \
--disable-sortsub \
--enable-fribidi \
--disable-enca \
--disable-maemo \
--disable-macosx-finder \
--disable-macosx-bundle \
--disable-inet6 \
--disable-gethostbyname2 \
--enable-ftp \
--disable-vstream \
--disable-pthreads \
--enable-w32threads \
--disable-ass \
--disable-rpath \
--enable-gif \
--enable-png \
--enable-mng \
--enable-jpeg \
--disable-libcdio \
--enable-liblzo \
--enable-win32dll \
--enable-qtx \
--disable-xanim \
--enable-real \
--disable-xvid \
--disable-xvid-lavc \
--enable-x264 \
--enable-x264-lavc \
--disable-libdirac-lavc \
--disable-libschroedinger-lavc \
--disable-libnut \
--enable-libavutil_a \
--enable-libavcodec_a \
--enable-libavformat_a \
--enable-libpostproc_a \
--enable-libswscale_a \
--disable-libavutil_so \
--disable-libavcodec_so \
--disable-libavformat_so \
--disable-libpostproc_so \
--disable-libswscale_so \
--enable-libavcodec_mpegaudio_hp \
--disable-tremor-internal \
--disable-tremor-low \
--disable-tremor \
--enable-libvorbis \
--enable-speex \
--enable-theora \
--enable-faad \
--enable-faad-internal \
--enable-faad-fixed \
--enable-faac \
--enable-faac-lavc \
--disable-ladspa \
--disable-libbs2b \
--disable-libdv \
--enable-mad \
--enable-mp3lame \
--enable-mp3lame-lavc \
--disable-toolame \
--disable-twolame \
--disable-xmms \
--disable-libdca \
--enable-mp3lib \
--enable-liba52 \
--enable-liba52-internal \
--enable-libmpeg2 \
--disable-musepack \
--enable-libamr_nb \
--enable-libamr_wb \
--disable-vidix \
--disable-vidix-pcidb \
--disable-dhahelper \
--disable-svgalib_helper \
--disable-gl \
--disable-dga2 \
--disable-dga1 \
--disable-vesa \
--disable-svga \
--disable-sdl \
--disable-kva \
--disable-aa \
--disable-caca \
--disable-ggi \
--disable-ggiwmh \
--enable-direct3d \
--enable-directx \
--disable-dxr2 \
--disable-dxr3 \
--disable-ivtv \
--disable-v4l2 \
--disable-dvb \
--disable-dvbhead \
--disable-mga \
--disable-xmga \
--enable-xv \
--disable-xvmc \
--disable-vdpau \
--disable-vm \
--disable-xinerama \
--disable-x11 \
--disable-xshape \
--disable-xss \
--disable-fbdev \
--disable-mlib \
--disable-3dfx \
--disable-tdfxfb \
--disable-s3fb \
--disable-wii \
--disable-directfb \
--disable-zr \
--disable-bl \
--disable-tdfxvid \
--disable-xvr100 \
--disable-tga \
--disable-pnm \
--disable-md5sum \
--disable-yuv4mpeg \
--disable-corevideo \
--disable-quartz \
--disable-alsa \
--disable-ossaudio \
--disable-arts \
--disable-esd \
--disable-pulse \
--disable-jack \
--disable-openal \
--disable-nas \
--disable-sgiaudio \
--disable-sunaudio \
--disable-dart \
--enable-win32waveout \
--disable-coreaudio \
--disable-select \
--enable-mmx \
--enable-mmxext \
--disable-3dnow \
--disable-3dnowext \
--disable-sse \
--disable-sse2 \
--disable-ssse3 \
--disable-shm \
--disable-altivec \
--disable-armv5te \
--disable-armv6 \
--disable-armv6t2 \
--disable-armvfp \
--disable-iwmmxt \
--enable-fastmemcpy \
--disable-big-endian \
--disable-debug \
--disable-profile \
--disable-sighandler \
--disable-crash-debug \
--language="en ja ko zh_CN zh_TW" \
--disable-live \
--enable-ass

Change History (3)

comment:1 by xmxkw@…, 15 years ago

the bug maybe the declare av_cold's problem , see http://gcc.gnu.org/ml/gcc-bugs/2008-03/msg01768.html

comment:2 by compn, 14 years ago

Owner: changed from r_togni@… to reimar

comment:3 by reimar, 14 years ago

Resolution: worksforme
Status: newclosed

Not a known issue, nobody else complaining, gcc bug is closed -> I'll assume everything is working ok again.

Note: See TracTickets for help on using tickets.