[MPlayer-users] encoding faster than realtime?

phypor mplayer at rsichem.com
Wed Nov 20 03:45:02 CET 2002


On 02.11.18 Chris Phillips depressed the following keys:

 > > just out of interest, Does anyone here get encoding results better 
than
 > > real time? That'll obviously depend on what fps you're used to... 
but all
 > > the same, I get upto 19fps, only 6fps off for me, athlon 1.2...
 >
 > XP1700+, 256M DDR RAM and I'm bitching like hell, when the dvdripped 
episodes
 > from SG1 or B5 are going slower than 40fps with vhq and v4mv. Usually 
it's
 > between 33-42 (for MPEG2 PAL movies), depending on the amount of
 > scalling, deinterlacing etc.
 >
 > Robert
 >

(I lurk through the archives ... plz cc replies)



This thread seemed v relevant to me so i had to post...

my setup is as follows

software: gentoo1.4ish, gcc3.2, glibc 2.2.5, mplayer-0.90_pre8
(for those not familiar with gentoo, basically everything (system libs, 
gcc, X, kde, and mplayer) is custom compiled for my hardware...)

1800xp, 512mb ddr, geforce2mx 200

mplayers header looks like:
CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP 
Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

$ cat /proc/mtrr
reg00: base=0x00000000 (   0MB), size= 512MB: write-back, count=1
reg01: base=0xd0000000 (3328MB), size= 128MB: write-combining, count=1
reg05: base=0xe0000000 (3584MB), size=  32MB: write-combining, count=1


$ cat /proc/ide/via
----------VIA BusMastering IDE Configuration----------------
Driver Version:                     3.34
South Bridge:                       VIA vt8233a
Revision:                           ISA 0x0 IDE 0x6
Highest DMA rate:                   UDMA133
BM-DMA base:                        0xfc00
PCI clock:                          33.3MHz
Master Read  Cycle IRDY:            0ws
Master Write Cycle IRDY:            0ws
BM IDE Status Register Read Retry:  yes
Max DRDY Pulse Width:               No limit
-----------------------Primary IDE-------Secondary IDE------
Read DMA FIFO flush:          yes                 yes
End Sector FIFO flush:         no                  no
Prefetch Buffer:              yes                 yes
Post Write Buffer:            yes                 yes
Enabled:                      yes                 yes
Simplex only:                  no                  no
Cable Type:                   80w                 80w
-------------------drive0----drive1----drive2----drive3-----
Transfer Mode:       UDMA       DMA      UDMA      UDMA
Address Setup:       30ns      30ns      30ns      30ns
Cmd Active:          90ns      90ns      90ns      90ns
Cmd Recovery:        30ns      30ns      30ns      30ns
Data Active:         90ns      90ns      90ns      90ns
Data Recovery:       30ns      30ns      30ns      30ns
Cycle Time:          15ns     120ns      15ns      60ns
Transfer Rate:  133.3MB/s  16.6MB/s 133.3MB/s  33.3MB/s




And yet im seeing these framerates as i rip "lord of the rings"
Pos: 608.6s  14589f (18%)  27fps Trem:  39min 530mb  A-V:-0.033 [1209:152]
duplicate 1 frame(s)!!!
Pos: 650.4s  15591f (19%)  27fps Trem:  39min 517mb  A-V:-0.035 [1171:152]
duplicate 1 frame(s)!!!
Pos: 668.5s  16023f (20%)  26fps Trem:  39min 514mb  A-V:-0.033


For the following mencoder run
MOVIE='lotr1cd1'
BR=1600
TITLE=1
MP3BR=160

#CROP=""
#CROP=",cropdetect"
CROP=",crop=720:352:0:60"

SCALEX=640
FPS=24

rm -f frameno.avi lavc_stats.txt

for PASS in 1 2; do
         mencoder \
         -dvd $TITLE -alang en \
         -vc ffmpeg12 \
         -vop scale$CROP \
         -xy $SCALEX \
         -ssf lgb=1.1 \
         -sws 9 \
         -zoom \
         -pp 6 \
         -ofps $FPS \
         -ovc lavc \
         -lavcopts \
   vcodec=mpeg4:vpass=$PASS:vhq:vbitrate=$BR:vqcomp=0.7:vqmin=2 \
         -oac mp3lame \
         -lameopts \
   abr:br=$MP3BR:q=1:mode=1:aq=0:vol=6 \
         -o $OFILE.avi

         echo -n "Pt 1 Pass $PASS completed " >> $OFILE.log
         date >> $OFILE.log

         ls -lagsh $OFILE.avi >> $OFILE.log
done


is there a reason i dont get higher fr than someone with xp1700/256mb?
(or even worse... a cumine 733)


~phypor







More information about the MPlayer-users mailing list