[MPlayer-users] Mplayer got "stuck" when playing song
Arthur Chiu
arthurchiu at gmail.com
Tue Oct 11 18:36:08 CEST 2005
Ops, sorry that it went directly to you instead.
Hmm, I had tried to do various optimization like using -dropframe. However
it still doesn't work properly. If it is not CPU problem, what might it be?
Would you have any suggestion?
Thanks a lot,
Arthur
On 10/10/05, Bennett <bennettperkins at gmail.com> wrote:
>
> It doesn't need to be fast at all... I have a Pentium 100 (sans-mmx)
> and it has no trouble with mp3 playback. However, it does have trouble
> doing other things at the same time.
>
> However, its a safe bet that the x86 code for mplayer is a lot better
> optimised than the mips32 code, so you may need something a bit
> beefier than 100MHz.
>
> Bennett.
>
> PS. when you reply, don't forget to make sure it's addressed to the
> mailing list!
>
> On 11/10/05, Arthur Chiu <arthurchiu at gmail.com> wrote:
> > Thanks a lot, I got the CVS working. I tried to use the CVS code and
> compile
> > it, however, I am still facing the same problem:
> >
> > # ./mplayer -softsleep -v -framedrop ../i\ believe.mp3
> > MPlayer dev-CVS-051010-09:47-3.3.3 (C) 2000-2005 MPlayer Team
> > CPU: SGI MIPS
> >
> > CommandLine: '-softsleep' '-v' '-framedrop' '../i believe.mp3'
> > get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
> > font: can't open file: /root/.mplayer/font/font.desc
> > font: can't open file:
> >
> /home/mediadev/Arthur/blackWidow/MPlayer-mips/config/usr/local//share/mplayer/font/font.desc
> > Using Unoptimized OnScreenDisplay
> > Using software timing
> > get_path('input.conf') -> '/root/.mplayer/input.conf'
> > Can't open input config file /root/.mplayer/input.conf: No such file or
> > directory
> > Can't open input config file
> >
> /home/mediadev/Arthur/blackWidow/MPlayer-mips/config/usr/local//etc/mplayer/input.conf:
> > No such file or directory
> > Falling back on default (hardcoded) input config
> > get_path('i believe.mp3.conf') -> '/root/.mplayer/i believe.mp3.conf'
> > Playing ../i believe.mp3.
> > [file] File size is 4672009 bytes
> > STREAM: [file] ../i believe.mp3
> > STREAM: Description: File
> > STREAM: Author: Albeu
> > STREAM: Comment: based on the code from ??? (probably Arpi)
> > Checking for YUV4MPEG2
> > ASF_check: not ASF guid!
> > Checking for NuppelVideo
> > Checking for REAL
> > Checking for SMJPEG
> > Searching demuxer type for filename ../i believe.mp3 ext: .mp3
> > Trying demuxer 17 based on filename extension
> > ==> Found audio stream: 0
> > demux_audio: seeking from 0x474A09 to start pos 0x4A3
> > demux_audio: audio data 0x4A3 - 0x474989
> > Audio file file format detected.
> > Clip info:
> > Title: I Believe
> > Artist: \uffffS\uffffh\uffff
> > Album: I believe
> > Year: 2002
> > Comment:
> > Track: 1
> > Genre: Pop
> >
> ==========================================================================
> > Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> > dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
> > mp3lib: using generic C decore!
> > MP3lib: init layer2&3 finished, tables done
> > MPEG 1.0, Layer III, 44100 Hz 128 kbit Joint-Stereo, BPF: 418
> > Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
> > AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
> > Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
> >
> ==========================================================================
> > Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
> > [libaf] Adding filter dummy
> > [dummy] Was reinitialized: 44100Hz/2ch/s16le
> > [dummy] Was reinitialized: 44100Hz/2ch/s16le
> > ao2: 44100 Hz 2 chans s16le
> > audio_setup: using '/dev/dsp' dsp device
> > audio_setup: using '/dev/mixer' mixer device
> > audio_setup: using 'pcm' mixer device
> > audio_setup: sample format: s16le (requested: s16le)
> > audio_setup: using 2 channels (requested: 2)
> > audio_setup: using 44100 Hz samplerate (requested: 44100)
> > audio_setup: frags: 2/16384 (4 bytes/frag) free: 32768
> > AO: [oss] 44100Hz 2ch s16le (2 B/s)
> > AO: Description: OSS/ioctl audio output
> > AO: Author: A'rpi
> > Building audio filter chain for 44100Hz/2ch/s16le ->
> 44100Hz/2ch/s16le...
> > [dummy] Was reinitialized: 44100Hz/2ch/s16le
> > [dummy] Was reinitialized: 44100Hz/2ch/s16le
> > Video: no video
> > Freeing 0 unused video chunks.
> > Starting playback...
> > A: 0.2 (00.1) of 291.0 (04:51.0)??,?%
> >
> > I notice that the CPU usage part is in ??,?%, that might be some
> problem.
> > How fast does the CPU need to be to support MPlayer mp3 decoding?
> Thanks.
> >
> > Cheers,
> >
> > Arthur
> >
> >
> >
> >
> > On 10/7/05, Bennett <bennettperkins at gmail.com> wrote:
> > > To get the CVS, info can be found here:
> > > http://mplayerhq.hu/homepage/design7/dload.html#cvs
> > > This page has information on how to get mplayer from CVS, as well as
> > > the ffmpeg libs that are needed -- don't forget this step!
> > >
> > > Bennett.
> > >
> > > On 08/10/05, Arthur Chiu <arthurchiu at gmail.com> wrote:
> > > > Finally, one last question is that how does the CVS tree work? Do I
> > download
> > > > the source code as a zip file as well? Sorry about this stupid
> question
> > as I
> > > > have never worked with CVS tree online before. Thanks a lot for all
> > help.
> > >
> >
> >
>
More information about the MPlayer-users
mailing list