Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 13th September 2008, 01:26   #1  |  Link
KornX
primus inter pares
 
KornX's Avatar
 
Join Date: Feb 2004
Posts: 70
benchmarking x264 on new systems

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
__________________
Field Application Engineer
Advanced Micro Devices
KornX is offline   Reply With Quote
Old 13th September 2008, 01:35   #2  |  Link
akupenguin
x264 developer
 
akupenguin's Avatar
 
Join Date: Sep 2004
Posts: 2,392
x264 is portable, it needs nothing other than its exe. So you're asking for some sample commandlines that excercise commonly used options?
akupenguin is offline   Reply With Quote
Old 13th September 2008, 01:39   #3  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,667
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).
Dark Shikari is offline   Reply With Quote
Old 13th September 2008, 01:56   #4  |  Link
KornX
primus inter pares
 
KornX's Avatar
 
Join Date: Feb 2004
Posts: 70
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
__________________
Field Application Engineer
Advanced Micro Devices
KornX is offline   Reply With Quote
Old 13th September 2008, 02:50   #5  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,235
Quote:
Originally Posted by KornX View Post
@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 ???
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 13th September 2008, 04:16   #6  |  Link
bob0r
Pain and suffering
 
bob0r's Avatar
 
Join Date: Jul 2002
Posts: 1,337
..... if you really have to ask, keep those CPUs please
bob0r is offline   Reply With Quote
Old 13th September 2008, 04:27   #7  |  Link
Sagekilla
x264aholic
 
Join Date: Jul 2007
Location: New York
Posts: 1,752
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:

Code:
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.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame.
Sagekilla is offline   Reply With Quote
Old 13th September 2008, 04:58   #8  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,235
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...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 13th September 2008, 07:32   #9  |  Link
akupenguin
x264 developer
 
akupenguin's Avatar
 
Join Date: Sep 2004
Posts: 2,392
Quote:
Originally Posted by Sagekilla View Post
You can look for the portable Avisynth.
avs2yuv uses avisynth.dll directly and thus doesn't need it to be installed.

Quote:
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.
akupenguin is offline   Reply With Quote
Old 13th September 2008, 08:20   #10  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,929
Quote:
Originally Posted by KornX View Post
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
__________________
all my compares are riddles so please try to decipher them yourselves :)

It is about Time

Join the Revolution NOW before it is to Late !

http://forum.doom9.org/showthread.php?t=168004
CruNcher is offline   Reply With Quote
Old 13th September 2008, 18:24   #11  |  Link
KornX
primus inter pares
 
KornX's Avatar
 
Join Date: Feb 2004
Posts: 70
@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
__________________
Field Application Engineer
Advanced Micro Devices
KornX is offline   Reply With Quote
Old 13th September 2008, 18:57   #12  |  Link
Sagekilla
x264aholic
 
Join Date: Jul 2007
Location: New York
Posts: 1,752
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)
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame.
Sagekilla is offline   Reply With Quote
Old 13th September 2008, 20:22   #13  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,235
Quote:
Originally Posted by Sagekilla View Post
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...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:30.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.