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. |
|
2nd July 2009, 01:15 | #1 | Link |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
x264 defaults changing
A lot of patches are going to be pushed soon. And among other things, the x264 defaults are changing. We will also be adding presets to the CLI interface (but not the library interface).
New defaults (suggestions welcome): --subme 7 --bframes 3 --weightb --8x8dct --ref 3 --mixed-refs --trellis 1 --crf 23 --threads auto --no-psnr --no-ssim Logic behind this change: x264 should be by default High Profile and generate relatively high quality, but not entirely max itself out; it should be a reasonable speed/quality tradeoff. UMH is probably a bit too costly speed-wise to set as the default. Logic behind the CRF: x264 should, by default, encode with a reasonable quality that isn't overkill but isn't low quality. This means a user can generate a good encode simply by doing "x264 inputfile -o outputfile". Also, out of respect to goddess Eris of Discord. The intention here is that you can simply use x264 with defaults and it will give Very Good Results that nobody can complain about. I will announce quality/profile presets soon as well. GUI designers: have fun
__________________
Follow x264 development progress | akupenguin quotes | x264 git status ffmpeg and x264-related consulting/coding contracts | Doom10 Last edited by Dark Shikari; 5th July 2009 at 21:44. |
2nd July 2009, 01:28 | #2 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Now I'm curious. What patches? ^^
Quote:
What about b-adapt 2? Still too slow at 3 b-frames? And what about b-pyramid?
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
2nd July 2009, 01:31 | #3 | Link | |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
Quote:
B-adapt 2 is too slow, it'll be in a slower preset (which will also use me=umh). |
|
2nd July 2009, 03:27 | #6 | Link |
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
It's implied that the old defaults hold true still except where specified up there:
Code:
--partitions <string> Partitions to consider ["p8x8,b8x8,i8x8,i4x4"] - p8x8, p4x4, b8x8, i8x8, i4x4 - none, all
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
2nd July 2009, 05:39 | #8 | Link | ||
Registered User
Join Date: Jan 2002
Location: France
Posts: 2,856
|
Quote:
Quote:
__________________
|
||
2nd July 2009, 06:05 | #9 | Link | |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
Quote:
If the issue is ever fixed, I'll make it default.x264 (with the changes announced in the presets thread) automatically changes ref to match level as long as you don't force --ref yourself. |
|
2nd July 2009, 06:17 | #10 | Link | |
Registered User
Join Date: Feb 2008
Posts: 733
|
K, so lets go.
Autovaq and open gop will be added ? Quote:
Last edited by juGGaKNot; 2nd July 2009 at 06:19. |
|
2nd July 2009, 07:20 | #13 | Link | |
Registered User
Join Date: Jan 2002
Location: France
Posts: 2,856
|
Quote:
__________________
|
|
3rd July 2009, 16:42 | #15 | Link | |
Registered User
Join Date: Mar 2006
Posts: 272
|
Quote:
how do you propose to handle that 360 as a default ? " http://support.xbox.com/support/en/u...aybackfaq.aspx "... Q: What does the Xbox 360 console support for H.264? A: The Xbox 360 console supports the following for H.264: File extensions: .mp4, .m4v, mp4v, .mov, .avi Containers: MPEG-4, QuickTime Video profiles: Baseline, main, and high (up to level 4.1) Video bit rate: 10 Mbps with resolutions of 1920 × 1080 at 30 fps. See the question about max bit rate, resolution, and frames per second. Audio profiles: AAC, 2-channel, Low Complexity Audio max bit rate: No restrictions. See the question about max bit rate, resolution, and frames per second." BTW , thanks for the effort, im not trying to be fussy about the 360, just so thats clear. im just after a good default so i and the many 360 streaming users can also use the simple "x264 inputfile -o outputfile" and get that Very Good Results as you put it... id much rather the MS 360 devs refactor the internal CODECs and issue an updated firmware in the next week for making far better use of the 3 PPC/Altivecs SIMD onboard, but they dont seem interested in that, so here we are.. Last edited by popper; 3rd July 2009 at 16:48. |
|
3rd July 2009, 18:57 | #16 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,771
|
Quote:
In practice it should be able to go quite a bit beyond the quoted parameters. If there are particular files/settings known to cause problems, I'd be happy to pass that info on. |
|
2nd July 2009, 08:12 | #18 | Link |
Registered User
Join Date: Aug 2004
Posts: 65
|
I was wondering if you could give quality profiles for both first pass and second pass encoding? I am always confisued about which settings have an effect on each pass and which you can specifiy values for that speed up the first pass encoding but have an effect on second pass. I think that first pass is just to determine the frame types, so I assume that settings that can affect this are ones that must be present in both passes, but things like estimating the motion vectors are not important in the first pass?
Thanks. |
2nd July 2009, 08:52 | #19 | Link |
HDConvertToX author
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
|
would by handy a "--turbo" switch that will disable/lower some values (subme/ref/...)
so users will be using a standard "slow" profile in two pass mode, BUT simply adding "--turbo" (and not removing other options) to first pass string , will got a huge first pass speed boost (as xvid option) about preset: you surely know x264 better (and a lot!) then me, but you could take a look at HDConvertToX or MeGui profiles in hdc i have build profiles based on your suggestions last one: +1 for crf 21 BHH
__________________
HDConvertToX: your tool for BD backup MultiX264: The quick gui for x264 AutoMen: The Mencoder GUI AutoWebM: supporting WebM/VP8 |
2nd July 2009, 09:27 | #20 | Link | ||
Registered User
Join Date: Feb 2008
Posts: 733
|
Quote:
+1 for default profile 3 pass Quote:
Why is --no-mixed-refs replaces --mixed-refs --no-8x8dct replaces --8x8dct --no-weightb replaces --weightb Replaced ? enabled by default now ? Doesn't that add huge encoding time vs default megui partitions ? with maximum 0.5% compression gain ? Last edited by juGGaKNot; 2nd July 2009 at 09:31. |
||
|
|