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 Encoder GUIs
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st January 2012, 12:05   #1  |  Link
shagratt71
Registered User
 
Join Date: Dec 2011
Location: Australia
Posts: 13
x264 Mediainfo to MeGUI x264 Settings

Hi Guys, I have a bunch of x 264 settings taken from MediaInfo, could someone tell me how I can insert these into MeGUI's x264 settings without having to adjust each setting manually?:

Encoding settings : cabac=1 / ref=16 / deblock=1:-2:-2 / analyse=0x3:0x133 / me=tesa / subme=10 / psy=1 / psy_rd=1.1:0.2 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-3 / threads=6 / nr=0 / decimate=0 / mbaff=0 / bframes=8 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=1386 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.16

shagratt71 is offline   Reply With Quote
Old 1st January 2012, 12:34   #2  |  Link
smok3
brontosaurusrex
 
smok3's Avatar
 
Join Date: Oct 2001
Posts: 2,392
looks similar to --preset veryslow with --tune grain perhaps,
try x264 --fullhelp to see whats in there.
__________________
certain other member

Last edited by smok3; 1st January 2012 at 12:36.
smok3 is offline   Reply With Quote
Old 1st January 2012, 12:43   #3  |  Link
szabi
Registered User
 
Join Date: Nov 2004
Posts: 251
Hi

If you set this in megui:
Encoding mode: automated 2pass
Bitrate: your decision
Preset: very slow
Tuning: Grain
AVC profile:High
AVC Level: 4.1
Device: Default

This will be the result:
Quote:
cabac=1 / ref=16 / deblock=1:-2:-2 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.25 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=6,6 / fast_pskip=1 / chroma_qp_offset=-4 / threads=12 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=10 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=11000 / ratetol=1.0 / qcomp=0.80 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.10 / aq=1:0.50
Quote:
Originally Posted by shagratt71
cabac=1 / ref=16 / deblock=1:-2:-2 / analyse=0x3:0x133 / me=tesa / subme=10 / psy=1 / psy_rd=1.1:0.2 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-3 / threads=6 / nr=0 / decimate=0 / mbaff=0 / bframes=8 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=1386 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.16
I do not know which revision of x264 and megui were used, mine x264:2106, megui:2070.
Because if you use older the setting can be different from new one.
I do not know what materials you wish to encode, but i recommend to use preset.
Also you set motion estimation to tesa, which makes the encoding really slow.
Setting me_range=32 is ok.
For DXVA compatibility changement of bframes an ref can be nessessary, but it depends of the resolution.
For the rest, preset usage is the best you can do.

Happy new year.

bye
szabi

Last edited by szabi; 2nd January 2012 at 08:32.
szabi is offline   Reply With Quote
Old 14th January 2012, 04:38   #4  |  Link
meshaun
Registered User
 
Join Date: Jul 2010
Posts: 167
Quote:
cabac=1 / ref=8 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=0.50:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=6 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=2774 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
What's the profile used to get these settings?
meshaun is offline   Reply With Quote
Old 14th January 2012, 06:43   #5  |  Link
the_weirdo
Yes, I'm weird.
 
the_weirdo's Avatar
 
Join Date: May 2010
Location: Southeast Asia
Posts: 271
Quote:
Originally Posted by meshaun View Post
What's the profile used to get these settings?
Your posted settings are heavily customized. For a beginner, you should use appreciate --tune and --preset. If you want to customize these settings yourself, at least you should learn the effect of each setting, instead of blindly copy them from "someone"'s encode.
the_weirdo is offline   Reply With Quote
Old 14th January 2012, 09:42   #6  |  Link
meshaun
Registered User
 
Join Date: Jul 2010
Posts: 167
Looks like --slower in x264.
yeah right, I have to do it and learn on my own
meshaun is offline   Reply With Quote
Old 14th January 2012, 10:58   #7  |  Link
the_weirdo
Yes, I'm weird.
 
the_weirdo's Avatar
 
Join Date: May 2010
Location: Southeast Asia
Posts: 271
Quote:
Originally Posted by meshaun View Post
Looks like --slower in x264.
Here is command line to produce the almost same settings as your posted settings:
Quote:
x264 --ref 8 --bframes 6 --deblock -3:-3 --psy-rd 0.5:0.0 --me umh --subme 9 --merange 32 --b-adapt 2 --partitions all --no-fast-pskip --no-dct-decimate --bitrate xxx --pass x input -o output

Last edited by the_weirdo; 14th January 2012 at 11:10.
the_weirdo is offline   Reply With Quote
Old 22nd August 2015, 13:18   #8  |  Link
DjDiabolik
Registered User
 
Join Date: Jun 2009
Posts: 22
Very interesting thread...... i have a similar question and i thinks i can use this thread instead to open a newest:
Yestarday using MeGUI i have encoded a mpeg2 to x264 and used the "scratch" setting to obtain this:
Quote:
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=2509 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=17500 / vbv_bufsize=17500 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
The only setting i have changed inside the encoder it's the select level to HIGH@L3.1 and i have used the 2auto pass whit a bitrate calculated using the bitrate calculator. The output file it's maintain a good quality and it's played whitout problems on my standalone player (a raspberry 2 whit oscm).....

I'm curiosity about this setting because for example i have looked a KYR file and some value it's little different:
Quote:
cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=13 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=24.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
At this point... i can make some change on my default encoder setting for example for obtain a little speed encoding maintaint the same good quality ?

Last edited by tebasuna51; 23rd August 2015 at 12:45. Reason: code -> quote
DjDiabolik is offline   Reply With Quote
Old 23rd August 2015, 13:31   #9  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Each movie need different parameters to optimize output then copy parameters it's not always recommended.

BTW, talking only about the diferences there are some parameters better, and slow, in KYR encode:
ref=5 / me=umh / subme=8 / b_adapt=2 / direct=3 / rc_lookahead=50

but there are a different strategy in encode with:
rc=crf / crf=24.0
thats need only 1 pass and need less time than your 2 pass method.

That is the only change than I can recommend you to speed up your encode (with very basic parameters than can't be lowered without lose quality).
Of course you must select the desired crf value than match the required quality. For me crf=24 is very low quality (I use 18 most the times).
Take in mind than fix the average bitrate don't guarantee the same quality for all your encodes, each movie need a different average bitrate.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Reply


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 23:02.


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