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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#2662 | Link | |
|
Compiling Encoder
Join Date: Jan 2007
Posts: 1,348
|
Quote:
vui-hrd-bit-rate and vui-hrd-cpb-size are added to libx264 while vui-hrd-bit-rate-value and vui-hrd-cpb-size-value were added to x264cli this causes the parameters to be unusable in x264cli applying Code:
diff --git a/encoder/encoder.c b/encoder/encoder.c
index feb8ff6..d1e707a 100644
--- a/encoder/encoder.c
+++ b/encoder/encoder.c
@@ -773,7 +773,7 @@ static int x264_validate_parameters( x264_t *h )
h->param.b_sei_pic_timing += h->param.i_pulldown;
- if( h->param.rc.i_vbv_max_bitrate == 0 || h->param.rc.i_vbv_buffer_size == 0 )
+ if( h->param.vui.b_nal_hrd_parameters_present && (!h->param.rc.i_vbv_max_bitrate || !h->param.rc.i_vbv_buffer_size) )
{
x264_log( h, X264_LOG_WARNING, "NAL HRD parameters require VBV max bitrate and buffer size to be specified\n" );
h->param.vui.b_nal_hrd_parameters_present = 0;
diff --git a/x264.c b/x264.c
index 4263890..cc1ddc7 100644
--- a/x264.c
+++ b/x264.c
@@ -541,7 +541,7 @@ static struct option long_options[] =
{ "sei-pic-timing", no_argument, NULL, 0 },
{ "vui-timing-info-present", required_argument, NULL, 0 },
{ "vui-nal-hrd-parameters-present", required_argument, NULL, 0 },
- { "vui-hrd-bit-rate-value", required_argument, NULL, 0 },
- { "vui-hrd-cpb-size-value", required_argument, NULL, 0 },
+ { "vui-hrd-bit-rate", required_argument, NULL, 0 },
+ { "vui-hrd-cpb-size", required_argument, NULL, 0 },
{ "vui-hrd-cbr", required_argument, NULL, 0 },
{ "vui-hrd-initial-cpb-removal-delay", required_argument, NULL, 0 },
Edit: updated patch to fix the constant nal-hrd warning well. Last edited by kemuri-_9; 20th November 2009 at 22:39. |
|
|
|
|
|
|
#2664 | Link |
|
Wewkiee
![]() Join Date: Feb 2002
Location: kashyyyk
Posts: 2,269
|
http://pastebin.com/d72a44cf2 is the newest patch from alex.. does not include kemuri-_9's code.
__________________
...yeah...but...why on earth would I compare apples with apples? |
|
|
|
|
|
#2665 | Link |
|
Spinner of yarns
Join Date: May 2009
Posts: 164
|
x264_x86_r1342_with_Alex's_nal-hrd
gcc: 4.4.2-dw2 -march=core2 patch: http://pastebin.com/d72a44cf2 Edit: Alex removed prefix "vui-" from param names. vui-timing-info-present -> timing-info-present vui-nal-hrd-parameters-present -> nal-hrd-parameters-present and so on.
__________________
僕と契約して、L-SMASH developerになってよ! L-SMASH | L-SMASH Works | Opus-in-ISOBMFF specification and reference software Last edited by VFR maniac; 21st November 2009 at 01:45. |
|
|
|
|
|
#2666 | Link |
|
Strictly Rhythm
Join Date: Jul 2007
Location: Ljubljana, Slovenia
Posts: 166
|
x264_x64_r1342_unpatched | MD5
GCC 4.4.2 20091019 (x86_64.core2.Komisar), unpatched, generic, fprofiled ________________________________________________________________________________ x264_x86_r1342_NAL-HRD-ALEX_techouse | INFO GCC 4.4.2 20091019 (x86.core2.Komisar), fprofiled, -march=core2 x264_x64_r1342_NAL-HRD-ALEX_techouse | INFO GCC 4.4.2 20091019 (x86_64.core2.Komisar), fprofiled, -march=core2 Patches used: x264_win_zone_parse_fix_06.diff x264-r1342-nal_hrd-pic_struct-v10a.patch ________________________________________________________________________________ x264_x86_r1342_NAL-HRD-16-1301_techouse | INFO GCC 4.4.2 20091019 (x86.core2.Komisar), fprofiled, -march=core2 x264_x64_r1342_NAL-HRD-16-1301_techouse | INFO GCC 4.4.2 20091019 (x86_64.core2.Komisar), fprofiled, -march=core2 Patches used: x264_win_zone_parse_fix_06.diff x264_hrd_pd_interlace.16_r1301.diff
__________________
Last edited by techouse; 23rd November 2009 at 10:23. Reason: Fixed broken links |
|
|
|
|
|
#2667 | Link |
|
.
![]() Join Date: Oct 2001
Location: Germany
Posts: 7,949
|
little side question: will vui-hrd-bit-rate-value and vui-hrd-cpb-size-value be used instead of vbv-maxrate and vbv-bufsize when using --nal-hrd or need both (the vbv and the vui-hrd values) to be specified ?
|
|
|
|
|
|
#2669 | Link | |
|
Registered User
Join Date: Jul 2008
Posts: 581
|
Quote:
Only the unpatched version is available. |
|
|
|
|
|
|
#2670 | Link | |
|
Registered User
Join Date: Feb 2003
Posts: 448
|
Quote:
|
|
|
|
|
|
|
#2671 | Link | |
|
Wewkiee
![]() Join Date: Feb 2002
Location: kashyyyk
Posts: 2,269
|
@Selur
Quote:
__________________
...yeah...but...why on earth would I compare apples with apples? |
|
|
|
|
|
|
#2674 | Link | |
|
Registered User
Join Date: Jul 2008
Posts: 581
|
Quote:
|
|
|
|
|
|
|
#2675 | Link | |
|
Registered User
Join Date: Mar 2007
Location: Hellas (Greece)
Posts: 543
|
Quote:
Your results put all together: Code:
CPU: Intel Core i7 Video test : a 2000 frames 1920x1080 anime video encoded in Lagarith YV12. x264 --preset slow --tune animation -p 2 -B 15000 --stats "stats.stats" --threads auto --thread-input -o NUL "test.avs" /Ox /QxSSE4.2 profiled : 1st pass : 9.51fps, 2nd pass : 6.73fps. /Ox /QxSSSE3 profiled : 1st pass : 8,78fps, 2nd pass : 6,58fps. x264.nl built profiled: 1st pass : 8,97fps, 2nd pass : 6,52fps. |
|
|
|
|
|
|
#2676 | Link | ||
|
BluRay Maniac
Join Date: Dec 2005
Posts: 2,419
|
Ok, sorry for wait, i been bussy these days. I do test with VRF Maniac buld. First i use classical command line posted here and i get exatly same values for VBV. Then i add HRD VBV values
Quote:
Quote:
, i hope new patch comming ASAP.
Last edited by shon3i; 22nd November 2009 at 18:25. |
||
|
|
|
|
|
#2678 | Link |
|
Spinner of yarns
Join Date: May 2009
Posts: 164
|
x264_x86_r1342_with_Alex's_nal-hrd_v11
gcc: 4.4.2-dw2 -march=core2 patch: http://mailman.videolan.org/pipermai...er/006563.html
__________________
僕と契約して、L-SMASH developerになってよ! L-SMASH | L-SMASH Works | Opus-in-ISOBMFF specification and reference software |
|
|
|
|
|
#2679 | Link |
|
Registered User
Join Date: Apr 2009
Location: Switzerland
Posts: 69
|
Here's what I got:
Code:
CPU: Intel Core i7 920 @ 3045 Mhz
OS: Windows Vista 64bit
Test video: first 2000 frames Big Buck Bunny 720p raw y4m
4 two-pass encodes for each build with the following command line:
--preset slow --tune animation -p 1 -B 2500 --quiet --no-progress --stats "stats.stats" -o NUL bbb.y4m
--preset slow --tune animation -p 2 -B 2500 --quiet --no-progress --stats "stats.stats" -o NUL bbb.y4m
Pass 1 Pass 2
ICC11-QxSSE4.2: 22.10 / 23.52
ICC11-QxSSSE3: 20.56 / 22.83
ICC11-imk: 20.53 / 22.78
ICC11-QaxSSSE3: 20.50 / 22.74
ICC11-MasterNobody: 20.48 / 22.71
gcc.core2.mssse3: 20.57 / 22.52
All runs
ICC11-QxSSE4.2 without HT: Code:
x264.x86.r1342M.ICC11-QxSSE4.2.exe Pass 1 22.18 fps, 2470.67 kb/s 22.19 fps, 2470.67 kb/s 22.18 fps, 2470.67 kb/s 22.19 fps, 2470.67 kb/s Pass 2 18.14 fps, 2496.70 kb/s 18.21 fps, 2496.70 kb/s 18.16 fps, 2496.70 kb/s 18.19 fps, 2496.70 kb/s
__________________
My nightmares are horrifying, they're all interlaced! Last edited by Boolsheet; 23rd November 2009 at 05:43. |
|
|
|
|
|
#2680 | Link | |
|
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,680
|
Quote:
Megabyte or gigabyte are 10e6 and 10e9 bytes, in reference to the international standard system unit. In windows (don't know about linux/unix), size are 1024² and 1024^3, but it's not standard. |
|
|
|
|
![]() |
| Tags |
| h.264, x264, x264 builds, x264 patches, x264 unofficial builds |
|
|