PDA

View Full Version : Create My own Megui Profile


rookandpawn
12th January 2008, 18:40
i want to create a really fast, low quality working model of my various projects b4 spending time to actually render slowly and with high quality.
But the post said that i do get a lot of "bang for the buck" by enabling cabac and deblocking so i want to take that if its only going to cost me a little bit more in terms of CPU time
but give me a much better draft result


I want to create my own profile, similar to
1P-Maxspeed.xml in the megui/profiles/video directory

but ensuring that these command lines are on

--me=dia

--subme=2

--analyse=none

--bframes=1

--no-b-adapt

--no-chroma-me

I looked on the net and had trouble finding a dictionary that relates a command line for x264 and a XML Tag
i.e. <FourCC>1</FourCC>

Most are guessable, but could someone point me to some documentation or tell me which XML Tags i need to set? Im looking for one to one correspondence from a x264 command line option and a XML tag especially because the XML profile settings set what looks like every flag possible to set so its not readily apparent what the default x264 value is

(oh btw this was because i found in doom9's forums http://forum.doom9.org/archive/index.php/t-111925.html
AlexI
11th June 2006, 09:13
Disable all partitions, set partition decision to 1, method to diamond search, disable chroma ME, CABAC, trellis, deblocking filter and you will get a huge speed boost :D

in terms of bang-for-the-buck, disabling cabac and deblocking is not worth it... yes it is faster, but there are other things which will give a similar speedup at better quality.

Probably the fastest "useful" settings are --me=dia --subme=2 --analyse=none --bframes=1 --no-b-adapt --no-chroma-me. Beyond that you're better off simply dropping the resolution ;)



Currently i just have modified the 1P-Maxspeed Profile

<Deblock>true</Deblock>
<Cabac>true</Cabac>


and the megui configuration window says it is passing these to x264

--pass 2 --bitrate 3500 --stats ".stats" --bframes 16 --b-pyramid --weightb --direct auto --filter -2,-1 --analyse p8x8,b8x8,i4x4,i8x8 --8x8dct --merange 8 --threads auto --thread-input --progress --no-psnr --no-ssim --output "output" "input"



Please help :thanks:

mitsubishi
12th January 2008, 18:54
Why do you want to play with the XML, you can do all that in the GUI.

Most of those options are on anyway in that profile, but you'll have to change the AVC profile to "main" for B-frames.

So just choose 1P-Maxspeed, hit "config"

Change AVC profile to "Main"
Go to RC/ME tab
Change Subme to 2
Go to Advanced tab
Change B-frames to 1
Hit "New" at bottom.
Choose profile name and hit OK

foxyshadis
12th January 2008, 18:58
Is there a particular reason you can't just create a new profile in MeGUI? Certainly it's possible to modify the xml directly, but if you don't have a rather holistic knowledge of megui's internals, it'll be much harder than doing it via the interface.

Check out megui's source code if you get a hankering to tinker with the xml in the future.

rookandpawn
12th January 2008, 19:29
Wow unbelievable technical help. my life is so much easier. im making a "machinima" of video game frags and i ended up having to learn this but well, im actually really glad to know how the proper work-flow and having a reasonable begining understanding of the avisynth/megui/x264/mux work-flow