How to solve the different between AUDIO:44100 and 48000 in mplayer?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux