Log in

View Full Version : benchmarking x264 on new systems


KornX
13th September 2008, 01:26
Hi,

i started working at a well known Semiconductor Company ;)
What i would need for benchmarking x264 on some systems would be something like a x264 portable...
The Test Video is for example Elephants Dream...
What i wanna do:
Plug in a portable USB Drive, run the test, compare the time it takes...

Any suggestions?

KornX

akupenguin
13th September 2008, 01:35
x264 is portable, it needs nothing other than its exe. So you're asking for some sample commandlines that excercise commonly used options?

Dark Shikari
13th September 2008, 01:39
I don't think such a thing is very necessary unless you're dealing with non-x86 machines; there's an extremely exhaustive test of various CPUs on TechARP (all done by Doom9 members).

KornX
13th September 2008, 01:56
first thx for the amazing fast replies...

@aku:
yeah kind of...
the only thing i wanna klick is a batch file (for example)
kinda:

x264.exe _ take this movie / pictures _ encode it with these settings...
pause (to check the cpu time in the taskmanager afterwards or if possib write a small txt with the timne in it...

@dark

who's talking about the cpus you can buy NOW :)


KornX

LoRd_MuldeR
13th September 2008, 02:50
@aku:
yeah kind of...
the only thing i wanna klick is a batch file (for example)
kinda:

x264.exe _ take this movie / pictures _ encode it with these settings...
pause (to check the cpu time in the taskmanager afterwards or if possib write a small txt with the timne in it...

So why not use a batch file then ???

bob0r
13th September 2008, 04:16
..... if you really have to ask, keep those CPUs please :helpful:

Sagekilla
13th September 2008, 04:27
You can look for the portable Avisynth. I remember it was up somewhere before, and all you'd have to do is provide the pngs in one folder and use something like ImageSource("images_here") in an avisynth script, which x264 will be fed. You can start x264 by a simple bat file like so:


x264 --crf 18 [and so forth with other commands]


The only tricky part is the Avisynth. Otherwise if you can somehow get your hands on a really big, speedy flash drive you can convert ED to raw yuv and feed it directly to x264, since x264 supports raw YV12.

LoRd_MuldeR
13th September 2008, 04:58
Another option is MEncoder. It's 100% portable, should be able to process any type of source you need and it doesn't depend on Avisynth or any other prerequisites...

akupenguin
13th September 2008, 07:32
You can look for the portable Avisynth.
avs2yuv uses avisynth.dll directly and thus doesn't need it to be installed.

and all you'd have to do is provide the pngs in one folder and use something like ImageSource("images_here") in an avisynth script, which x264 will be fed.
Ugh, png decoding is slow, and doesn't even get much compression seeing as it's rgb. Not what you want if you're trying to benchmark x264 rather than zlib.

CruNcher
13th September 2008, 08:20
first thx for the amazing fast replies...

@aku:
yeah kind of...
the only thing i wanna klick is a batch file (for example)
kinda:

x264.exe _ take this movie / pictures _ encode it with these settings...
pause (to check the cpu time in the taskmanager afterwards or if possib write a small txt with the timne in it...

@dark

who's talking about the cpus you can buy NOW :)


KornX

You could write a application (or search on the web) that on every X264 execution logs it's Performance Counter data (for the current runtime), this way you could easily Monitor and Detect Problems :)

KornX
13th September 2008, 18:24
@sage

thx man, you got what i meant!


@all

of course i can use this, i can use that, i could try to write a program...
BUT after working all week i try to spend some time afk :)

So i had hoped for a quick solution, that takes only 15 min and a USB pendrive max!

Meanwhile...


KornX

Sagekilla
13th September 2008, 18:57
I'd probably go for the mencoder solution, I wasn't aware you could do this since I never used a GUI beyond StaxRip (after that, I just went and stuck with a CLI, never touching a GUI again)

LoRd_MuldeR
13th September 2008, 20:22
I'd probably go for the mencoder solution, I wasn't aware you could do this since I never used a GUI beyond StaxRip

You just need to find a MEncoder build with recent x264 included or you must go through the pain of building MEncoder yourself...