各位大大
小弟最近要在arm上面用mplayer來撥放mp3
但因為只要撥mp3
所以我已將許多的codec關掉
現在是使用ffmpeg的codec來播mp3
但播放的時候卻發現音質非常的糟糕
好像每一秒鐘被放慢了10幾秒來播放
下面的讀秒訊息顯示的也非常的奇怪
請問各位大大
我有那裡做錯了嗎?
MPlayer 1.0pre7-3.3.2 (C) 2000-2005 MPlayer Team
CPU: ARM
Playing /root/Documents/audio/mpeg/Trumpet-12345-loop.mp3.
Audio file detected.
==========================================================================
Requested audio codec family [mp3] (afm=mp3lib) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
apm_set_power_state index=0x1 mode=0x1
AUDIO: 44100 Hz, 2 ch, s16le, 40.0 kbit/2.83% (ratio: 5000->176400)
Selected audio codec: [ffmp3] afm:ffmpeg (FFmpeg MPEG layer-3 audio decoder)
==========================================================================
go to main.
Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
AO: [oss] 44100Hz 2ch s16le (2 bps)
new_srate=44100
ao_data->samplerate=44100
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Video: no video
Starting playback...
0.0 (00.0) ??,?%
0.3 (00.3) ??,?%
0.3 (00.3) ??,?%
0.3 (00.3) ??,?%
0.3 (00.3) ??,?%
0.3 (00.3) ??,?%
0.3 (00.3) 19.8%
0.3 (00.3) 19.9%
0.3 (00.3) 19.9%
0.3 (00.3) 20.1%
0.3 (00.3) 20.2%
0.3 (00.3) 19.4%
0.3 (00.3) 19.5%
0.3 (00.3) 19.6%
0.3 (00.3) 19.6%
0.3 (00.3) 19.7%
0.4 (00.3) 19.7%
0.7 (00.7) 19.8%
0.7 (00.7) 19.8%
0.7 (00.7) 19.8%
0.7 (00.7) 19.3%
0.7 (00.7) 19.3%
0.7 (00.7) 19.3%
0.7 (00.7) 19.4%
0.7 (00.7) 19.4%
我所使用的configure的指令為:
./configure --host-cc=gcc --cc=arm-linux-gcc --target=arm-armv4l-linux --enable-static --prefix=/home/wjbwu/MPlayer-1.0pre7/lib --disable-win32 --disable-dvdread --disable-fbdev --disable-live --disable-dshow --disable-qtx --disable-xanim --disable-real --disable-xvid --disable-x264 --disable-divx4linux --disable-opendivx --disable-internal-tremor --disable-vorbis --disable-internal-matroska --disable-internal-faad --disable-ladspa --disable-libdv --disable-mad --disable-rtc --disable-toolame --disable-mp3lib --disable-liba52 --disable-libmpeg2 --disable-amr_nb --disable-amr_nb-fixed --disable-amr_wb --disable-opendivx --disable-gif --disable-png --disable-jpeg --disable-liblzo --disable-opendivx --disable-libfame --disable-external-tremor --disable-theora --disable-external-faad --disable-xmms --disable-macosx --disable-macosx-finder-support --disable-macosx-bundle --disable-inet6 --disable-ftp --disable-vstream --disable-gethostbyname2 --disable-enca --disable-sortsub --disable-unrarlib --disable-fontconfig --disable-freetype --disable-cdparanoia --disable-mpdvdkit --disable-dvdread --disable-smb --disable-network --disable-winsock2 --disable-rtc --disable-edl --disable-tv-bsdbt848 --disable-tv-v4l2 --disable-tv-v4l --disable-tv --disable-xf86keysym --disable-vm --disable-joystick --disable-lircc --disable-langinfo --disable-vidix --disable-gl --disable-dga --disable-vesa --disable-svga --disable-sdl --disable-aa --disable-caca --disable-ggi --disable-directx --disable-dxr2 --disable-dxr3 --disable-dvb --disable-dvbhead --disable-mga --disable-xmga --disable-xv --disable-xvmc --disable-vm --disable-xinerama --disable-x11 --disable-mlib --disable-3dfx --disable-tdfxfb --disable-directfb --disable-zr --disable-bl --disable-tdfxvid --disable-tga --disable-pnm --disable-md5sum 2>&1 | tee logfile
我有試過把libmad給compiler進去
但播出來的效果一樣很慢很糟
請有經驗的大大教教我吧~~
謝謝...