[MPlayer-users] How to solve the different between AUDIO:44100 and 48000 in mplayer?
Kermit Mei
kermit.mei at gmail.com
Wed Dec 16 09:54:23 CET 2009
On Tue, 2009-12-15 at 21:54 -0800, RC wrote:
> On Tue, 15 Dec 2009 19:28:09 -0700
> Kermit Mei <kermit.mei at gmail.com> wrote:
>
> > audio effect. Finally, I find that it's better to use '-ao oss' for
> > the music "AUDIO: 44100 Hz", and use '-ao alsa' for the music with
> > "AUDIO: 48000 Hz".
>
> It's called the sample rate, and you can just have mplayer resample to
> any frequency you want, all the time, with -srate, -vf resample, et al.
If I use the following command to play the mp3 file whose sample rate is
48000, I must wait more than 20 seconds, after that mplayer play the
sound:
# mplayer -srate 41000 -af volume=-5 -softvol -softvol-max 100 as.mp3
MPlayer 1.0rc2-4.1.1 (C) 2000-2007 MPlayer Team
CPU: ARM
Playing as.mp3.
Audio file file format detected.
Clip info:
Title: As Long as You Love Me
Artist: Backstreet Boys
Album: The Hits: Chapter One [Canada
Year: 2001
Comment:
Track: 3
Genre: Dance
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 320.0 kbit/20.83% (ratio: 40000->192000)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
(wait here in my terminal)
How can I solve it? I hope I can hear the sound in less than 3s.
Thanks
B.R
Kermit
More information about the MPlayer-users
mailing list