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. |
22nd May 2013, 21:00 | #81 | Link | ||
Guest
Posts: n/a
|
First of all, you realize you're 4 years late to the party responding to Dark Shikari's post, right?
Quote:
Quote:
Last edited by paradoxical; 22nd May 2013 at 22:00. |
||
23rd May 2013, 14:46 | #84 | Link | |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
Correct. --level reduces the ref frames to the maximum of the level (which is indeed 4 for level 4.1 1080p) unless it is overridden by --ref. --bluray-compat on the other hand limits the refs to 6 without any possibility to override it.
Quote:
Also, the devs don't seem to be keen on changing them every other month. |
|
23rd May 2013, 14:53 | #85 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,346
|
Quote:
Thanks for the clarification, I tested with --ref so that must have overriden the --level limits --level never used to limit anything (nothing was enforced), when was that introduced ? I can't find it in the changelog |
|
23rd May 2013, 14:59 | #86 | Link | |
Guest
Posts: n/a
|
Quote:
As I said, I was merely quoting what was being said at the time. But as was said by someone else and quoting Dark Shikari, the point of the defaults were what he considered a good balance between size/quality and speed. Ref 3 is a good number because it guarantees compatibility with all levels for all resolutions even if it's not set at 4 and it's slightly faster. Last edited by paradoxical; 23rd May 2013 at 15:08. |
|
23rd May 2013, 15:12 | #88 | Link | |
Guest
Posts: n/a
|
Quote:
https://github.com/DarkShikari/x264-devel/commit/af2a4ecd7bcefc97c8aa83913c9a2980206f9cd0 Code:
+ + /* Automatically reduce reference frame count to match the user's target level + * if the user didn't explicitly set a reference frame count. */ + if( !b_user_ref ) + { + int mbs = (((param->i_width)+15)>>4) * (((param->i_height)+15)>>4); + int i; + for( i = 0; x264_levels[i].level_idc != 0; i++ ) + if( param->i_level_idc == x264_levels[i].level_idc ) + { + while( mbs * 384 * param->i_frame_reference > x264_levels[i].dpb + && param->i_frame_reference > 1 ) + { + param->i_frame_reference--; + } + break; + } + } + + Last edited by paradoxical; 23rd May 2013 at 16:59. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|