[MPlayer-users] How to solve the different between AUDIO:44100 and 48000 in mplayer?
Kermit Mei
kermit.mei at gmail.com
Wed Dec 16 08:59:41 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.
$ mplayer -ao alsa -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)
==========================================================================
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
!!!! Here while wait a long time, then play the music !!!!
And then two mplayer processes run:
$ ps
658 root 10192 S < mplayer -ao alsa -af volume=-5 -softvol -softvol-max
660 root 9808 S < mplayer -ao alsa -af volume=-5 -softvol -softvol-max
Why there's two mplayer processes run if I run with "alsa" ?
And I used -srate 48000 before, but the effect is also bad. Can you tell
me which command I can use to play this music for better effect and DO
NOT need wait a long time or setup double processes?
Thanks
B.R
Kermit
More information about the MPlayer-users
mailing list