|25 May 2009||#1|
| || |
Trying to figure out x264 CLI switches
I know this is not the correct place to post, but am in a hurry, so I wanted to post at my favourite forum first!
I have an mkv file and it is encoded with x264. Here's selective output of the MediaInfo output:
Writing library : x264 core 65 r1029M cb3c213 Encoding settings : cabac=1 / ref=8 / deblock=1:1:1 / analyse=0x3:0x113 / me=umh / subme=6 / psy_rd=0.6: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=3 / nr=0 / decimate=1 / mbaff=0 / bframes=16 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=0 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=268 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=0
Can I do that? If so, how? And that too just using the encoding settings I got from MediaInfo?
My x264 encoder is newer compared to that used for the mkv:
x264 core:67 r1153M 7b6ce6a
I tried to go through my version's command line (--longhelp) and see what corresponds to what and here's what I could manage:
CABAC = 1 Number of reference frames [ref] = 8 Loop filter AlphaC0 and Beta parameters [deblock] = 1:1:1 ?? [analyse] = 0x3:0x113 possibly Partitions to consider (--partitions) Integer pixel motion estimation method [me] = uneven multi-hexagon search [umh] Subpixel motion estimation and mode decision [subme] = 6 Strength of psychovisual optimization [psy_rd] = 0.6:0.0 Decide references on a per partition basis [mixed_ref] = 1 Maximum motion vector search range [me_range] = 16 Trellis RD quantization. Requires CABAC. [trellis] = 2 Adaptive spatial transform size [8x8dct] = 1 Preset quant matrices [cqm] = 0 Set the size of the inter,intra luma quantization deadzone [deadzone] = 21,11 QP difference between chroma and luma [chroma_qp_offset] = 2 Parallel encoding [threads] = 3 Noise reduction [nr] = 0 ?? [decimate] = 1 possibly Enables coefficient thresholding on P-frames (--no-dct- decimate) ?? [mbaff] = 0 possibly Enable pure-interlaced mode Number of B-frames between I and P [bframes] = 16 Keep some B-frames as references [b_pyramid] = 1 Adaptive B-frame decision method [b_adapt] = 1 Influences how often B-frames are used [b_bias] = 0 Direct MV prediction mode [direct] = 3 Weighted prediction for B-frames [wpredb] = 0 Maximum GOP size [keyint] = 250 Minimum GOP size [keyint_min] = 25 How aggressively to insert extra I-frames [scenecut] = 40 (pre) Enable multipass ratecontrol [rc] = 2pass Set bitrate (kbit/s) [bitrate] = 268 Allowed variance of average bitrate [ratetol] = 1.0 QP curve compression: 0.0 => CBR, 1.0 => CQP [qcomp] = 0.60 Set min QP [qpmin] = 10 Set max QP [qpmax] = 51 Set max QP step [qpstep] = 4 Reduce fluctuations in QP (before curve compression) [cplxblur] = 20.0 Reduce fluctuations in QP (after curve compression) [qblur] = 0.5 QP factor between I and P [ip_ratio] = 1.40 QP factor between P and B [pb_ratio] = 1.30 AQ method [aq] = 0
Also, if possible, help me out with a few that I couldn't figure out!
I am going to use meGUI 0.3.1.1037 to encode my file.
Thanks for your time, and your patience with my long post!
|My System Specs|
|Similar help and support threads for2: Trying to figure out x264 CLI switches|
|Vandal Switches||PC Custom Builds and Overclocking|
|Video Encoding x264 (MeGUI)||Tutorials|
|Mic switches itself off||Sound & Audio|
|Windows 7 x64 Switches Itself Off!||General Discussion|
|PC switches off after boot||BSOD Help and Support|
|Switches and Routers.||Network & Sharing|
|Two problems: x264 videos and subtitles||Media Center|
|Our Sites ||Site Links ||About Us ||Find Us |
© Designer Media Ltd
All times are GMT -5. The time now is 04:24 PM.