Log in

View Full Version : Import Other Video Encoding as MEGUI Preset


jinkazuya
14th October 2012, 06:06
Well...I am just wonder how we could use other people's encode video setting and import them to MEGUI as presets?

Whenever you view those video encoded with h.264 on classic window media, there is something called Encoding settings, something which looks like this:

cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=7 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=12 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=1835 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=50000 / vbv_bufsize=50000 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00

tebasuna51
14th October 2012, 11:18
You can use the 'x264 configuration dialog' with 'x264: *scratchpad*', change the desired parameters, and after save as a New Preset.

You must know that copy the presets for a video don't guarantee than work fine for another video.
Always you change a default parameter you must know what are you doing.

BTW, these encoder settings are, more or less, normal. All are default parameters except:
/ ref=4 / deblock=1:-1:-1 / me=umh / trellis=2 / b_pyramid=0 / b_adapt=2 / direct=3 / qpmin=10 / qpmax=51 / vbv_maxrate=50000 / vbv_bufsize=50000
All of them are acceptable changes except:
deblock=1:-1:-1 (not recommended for animation)
b_pyramid=0 (only recommended for some players than don't support the default [2])

To obtain your preset select 'Ecoding mode' -> 'Targeting file size', 'Bitrate' -> '1835' (or your desired bitrate).
You can see, at the window over the 'Presets', the parameters to send to x264, now:

program --pass 2 --bitrate 1835 --stats ".stats" --output "output" "input"

Check the 'Show Advanced Settings' and go over the tabs changing the parameters until you obtain:

program --pass 2 --bitrate 1835 --stats ".stats" --deblock -1:-1 --b-adapt 2 --b-pyramid none --ref 4 --qpmin 10 --qpmax 51 --vbv-bufsize 50000 --vbv-maxrate 50000 --me umh --direct auto --trellis 2 --output "output" "input"

Now press 'New' Preset and give a name.

jinkazuya
18th October 2012, 02:29
Oh thanks so much for your help.