[MPlayer-dev-eng] (libmad) decode_audio block decoding [ARM]

Joey Parrish joey at nicewarrior.org
Wed Jun 29 19:08:40 CEST 2005


On Wed, Jun 29, 2005 at 12:16:21PM +0200, Gaetan SEMET wrote:
> I'm trying to have mplayer working on a ARM9 board, and have a
> problem with libmad to decode MP3 stream coming from network
> (RTP multicast, using livemedia).
> 
> Audio (mp3 using libmad) only works fine, Video only as well,
> but as soon as they are played together, audio is played correctly,
> but video is played far too slowly.
> I've checked the source, and the problem comes from the call of
> decode_audio in mplayer.c. It spends 0,6s decoding audio (and
> most of the time it actually *waits" for all this data to come from
> the network (so it's not a CPU overhead).). So, during these 0,6s,
> it doesn't decode any video frame, and when it comes to decode
> a frame, it finds it's in late so drop the frame and want to fill
> the audio buffer again... and wait again 0,6s.
> So I have audio that is played very fine, but the video is played...
> 1 frame per 0,6s.

Try -cache.  If you have slow media (network, for example) then you
should be using it anyway.

--Joey

-- 
"Are disorders necessarily bad?" --Ike




More information about the MPlayer-dev-eng mailing list