[FFmpeg-devel] h264 speed regression after PAFF

Andreas Öman andreas
Sat Oct 13 08:00:37 CEST 2007


Jeff Downs wrote:
> On Fri, 12 Oct 2007, Andreas ?man wrote:
> 
>> Running rev r10714
>> User: avg: 10.033  stddev: 0.027  med: 10.033
> 
> Is there an easy way to run this test/benchmark?

I wrote the attached code for this purpose.
It's not very elegant but it works.
Perhaps there should be more timing related stuff added
into the ffmpeg binary itself.
I also run ffmpeg without any timing checks to heat caches/iobuffers.

The rest is just a matter of some lousy scripting..

#!/bin/bash

for rev in r10714 r10703 r10700 r10696 r10691 r10690 r10679 r10678 
r10676 r10675 r10674 r10673 r10672 r10671 r10670 r10669 r10665 r10664 
r10663 r10662 r10661 r10660 r10659 r10658 r10650 r10646 r10601 r10592 ; do

     svn up -${rev} -q
     make distclean 2>/dev/null >/dev/null
     ./configure  2>/dev/null >/dev/null
     make -j6  2>/dev/null >/dev/null
     echo Running rev ${rev}
     /home/andoma/ffmpeg/ffmpeg -i 
/storage/media/video/ffh264_issue3.h264 -an -f null /dev/null 2>/dev/null
     /home/andoma/avgtime/avgtime /home/andoma/ffmpeg/ffmpeg -i 
/storage/media/video/ffh264_issue3.h264 -an -f null /dev/null
     done
-------------- next part --------------
OBJS = main.o
PROG = avgtime
CFLAGS=-g3 -O2 -Wall
LDFLAGS=-lm

.c.o: Makefile
	${CC} ${CFLAGS} -c $<

all: ${PROG}

${PROG}: ${OBJS}
	${CC} ${LDFLAGS} -o ${PROG} ${OBJS}

clean:
	rm -rf ${PROG} *.o *~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.c
Type: text/x-csrc
Size: 4167 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071013/398c0f82/attachment.c>



More information about the ffmpeg-devel mailing list