View Full Version : x264 speedup
anne_so78
27th October 2006, 02:39
Hi, I have a couple of TV shows I'd like to re-encode using a mencoder frontend (MediaCoder). I've used settings from Sharktooth's HighQualitySlower profile. But this profile encodes at 1/7.5 realtime speed, and I'd like to hit 1/6 realtime. So, what options should I decrease/disable to hit my target speed?
Also, is "--filter -2,-1" the same as "deblock=-2,-1", and "--analyse all" the same as "partitions=all" in mencoder?
Thanks
akupenguin
27th October 2006, 04:40
Yes. They're also the same as "--deblock=-2,-1" and "--partitions=all" in x264cli.
anne_so78
27th October 2006, 16:37
Here's Sharktooths HighQualitySlower profile:
--ref 5 --mixed-refs --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --filter -2,-1 --subme 6 --trellis 1 --analyse all --8x8dct --vbv-maxrate 25000 --me umh
I'm thinking using the above parameters but disabling --b-rdo and reducing --ref to 3. This speeds the encoding to 1/6 realtime, my target speed. I'm encoding to bitrate=1100, resolution=576x432. The clips are episodes from Friends and Frasier; no super-fast action scenes here...
So, what do you guys think of my encoding settings?
Although the "--filter -2,-1" produces some nice sharp images, I'm a bit skeptical and would like to turn it down a notch, how do I do that?
check
27th October 2006, 17:52
open codec config, adjust values :)
nm
27th October 2006, 20:32
So, what do you guys think of my encoding settings?
--me hex or even dia instead of umh is also worth trying. It should give a nice speedup with only a little drop in quality.
check
28th October 2006, 03:13
Your settings are good. If it's too slow, use one of his faster profiles, if you want (a little) more quality, use a slower one :)
Sharktooth
28th October 2006, 14:23
Here's Sharktooths HighQualitySlower profile:
--ref 5 --mixed-refs --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --filter -2,-1 --subme 6 --trellis 1 --analyse all --8x8dct --vbv-maxrate 25000 --me umh
I'm thinking using the above parameters but disabling --b-rdo and reducing --ref to 3. This speeds the encoding to 1/6 realtime, my target speed. I'm encoding to bitrate=1100, resolution=576x432. The clips are episodes from Friends and Frasier; no super-fast action scenes here...
So, what do you guys think of my encoding settings?
Although the "--filter -2,-1" produces some nice sharp images, I'm a bit skeptical and would like to turn it down a notch, how do I do that?
Use HQ-Slow...
anne_so78
30th October 2006, 22:06
I've found that the following modifications to the HighQualitySlower profile (without --b-rdo) also causes the encoding to reach my target speed:
--ref 3 OR --subme 5 OR --me=hex
So, which one would you guys suggest tinkering to induce the least quality deterioration?
IgorC
30th October 2006, 22:43
For me --subme 6 in conjuction with trellis is most important rdo. I would leave subme 6 trellis ref 5 me hex.
related link http://forum.doom9.org/showthread.php?t=105763
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.