[MPlayer-users] Encoding too slow on AMD Athlon 64 3000+ comparing with Pentium Celeron M 1, 4

Martin Kamín martinkamin at quick.cz
Wed Mar 29 13:02:47 CEST 2006


Dne út 28. března 2006 20:36 Corey Hickey napsal(a):
> Martin Kamín wrote:
> > The whole process runs well and it is done well, but comparing encoding
> > time on my Athlon 63 3000+ with old Pentium Celeron M notebook, diference
> > is really HUGE.
> >
> That's odd. Offhand, I would expect 50-70fps xvid encoding of a
> normal-resolution movie on a 3000+.

Yeaaa, I would expect it too :(

> Have you checked to make sure your Athlon64 machine is working properly?

The machine is really stable and serve 5 users with KDE, mail, X Window 
server, LTSP server, print server.

> For example, I use ondemand CPU frequency scaling and sometimes it gets
> stuck at the lowest frequency. If nothing is readily apparent, try some
> unrelated CPU benchmark like:
> $ time bzip2 some_file -c > /dev/null

time bzip2 final.mpeg -c > /dev/null
real    10m14.901s
user    8m42.181s
sys     0m4.400s
Note that final.mpeg is ordinary movie mpeg file  - 644,5 MB size.

>
> Is your hard disk working properly? Check DMA:
> # hdparm -d /dev/sda
> (replace sda with whatever disk you're using)
> ...or run a quick test:
> # hdparm -t /dev/sda

I thing it is working streamless.
zeus:~/main # hdparm -Tt /dev/hda

/dev/hda:
 Timing cached reads:   1748 MB in  2.00 seconds = 873.95 MB/sec
 Timing buffered disk reads:  166 MB in  3.02 seconds =  54.96 MB/sec
zeus:~/main # hdparm -Tt /dev/sda

/dev/sda:
 Timing cached reads:   1820 MB in  2.00 seconds = 909.94 MB/sec
 Timing buffered disk reads:  174 MB in  3.02 seconds =  57.54 MB/sec

> Are you using a recent enough xvid? What compiler are you using?

gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)
I compiled xvidcore-1.1.0.tar.bz myself now.
Still SLOW, SLOW...
>
> > I'm using following script to make xvid from mpeg's
> > OPSNY="bitrate=1000:pass=1:vhq=1:me_quality=6:trellis:chroma_opt:max_bfra
> >mes=0:hq_ac" mencoder ../$file -oac mp3lame -lameopts vbr=3:br=96 -ovc
> > frameno \ -o frameno.avi

I tried this one, without frameno:
mencoder -noaspect -oac mp3lame -lameopts vbr=3:br=96 -ovc xvid -xvidencopts 
bitrate=1000:vhq=1:me_quality=6:trellis:chroma_opt:max_bframes=0:hq_ac:pass=1
../$file -o $file-final.avi
butt SLOW SLOW... 7 frames / second

Martin




More information about the MPlayer-users mailing list