Hi, I'm trying to use ffmpeg on a board with an AT91RM9200 processor but i've some problems. The CPU speed is 180MHz. The cross-compiler works fine (with --cpu=armv4l), ffplay and my own application seems to work. But ... i've a big performance problem : when i'm tying to play mp3 file (from a ramdisk) the cpu load is 99% and the uncompressed datas are available very slow and can't be played directly :( I've made some tests with differents versions of gcc (2.95.3 ; 3.2 ; 3.4) with differents glibc (2.2 & 2.3) and the result is always the same. I've also test with libmad and this works fine (50% of CPU and datas send direcly to sound card are good). I need ffmpeg because the target is to play WMA sound. Is anyone have some informations if ffmpeg can work better on ARM9 processor ? (maybe some bench informations ?) Thanks a lot, G. Saint-Genest
Why don't you set in your ffserver.conf : <stream file.mpeg> File "yourpath/test.mpeg" </stream > ?
I did see the original post ... but you could also do ffmpeg -i <file> http://127.0.0.1:8090/feed1.ffm where ffserver.conf says <stream file.mpg> feed1.ffm ... mpeg parameters ... </stream> Hope this helps. -Pranav On 12/20/05, othellogrenoble at free.fr <othellogrenoble at free.fr> wrote:
Why don't you set in your ffserver.conf :
<stream file.mpeg> File "yourpath/test.mpeg" </stream > ?
_______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu http://mplayerhq.hu/mailman/listinfo/ffmpeg-user
Hi, I face some sort of same problem last time. The cpu load reach 100%. The reason for my problem is that, there's a while() / for(;;) loop which loop forever. That caused the cpu load to increase. (Cpu keeps on processing in the while...) In my apps, i add Sleep(1) at then end of the loop and solve my problem. Probably you might have the same problem? _____________________________________ Ahmad Zaidee Abu Senior Assistant Reseacher Dip., Bach. Eng. (Tele), MIEEE. Multimedia Communication Unit Telekom Research & Development UPM-MTDC Inc. Center One Serdang, Selangor Tel: +603 89441862 Fax: +603 89441822 ________________________________ From: ffmpeg-user-bounces at mplayerhq.hu on behalf of Saint-Genest Gwenael Sent: Wed 12/21/2005 12:04 AM To: ffmpeg-devel at mplayerhq.hu Cc: ffmpeg-user at mplayerhq.hu Subject: [Ffmpeg-user] ffmpeg on AT91 (at91rm9200) Hi, I'm trying to use ffmpeg on a board with an AT91RM9200 processor but i've some problems. The CPU speed is 180MHz. The cross-compiler works fine (with --cpu=armv4l), ffplay and my own application seems to work. But ... i've a big performance problem : when i'm tying to play mp3 file (from a ramdisk) the cpu load is 99% and the uncompressed datas are available very slow and can't be played directly :( I've made some tests with differents versions of gcc (2.95.3 ; 3.2 ; 3.4) with differents glibc (2.2 & 2.3) and the result is always the same. I've also test with libmad and this works fine (50% of CPU and datas send direcly to sound card are good). I need ffmpeg because the target is to play WMA sound. Is anyone have some informations if ffmpeg can work better on ARM9 processor ? (maybe some bench informations ?) Thanks a lot, G. Saint-Genest _______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu http://mplayerhq.hu/mailman/listinfo/ffmpeg-user ? The information contained in this Internet message is confidential and intended only for the use of the individual or entity identified. If the reader of this message is not the intended recipient, any dissemination, distribution or copying of the information contained in this Internet message is strictly prohibited. If you received this message in error, please notify the sender immediately.
participants (4)
-
gwen@hooligan0.net -
othellogrenoble@free.fr -
pranavadesai@gmail.com -
zaidee@tmrnd.com.my