Log in

View Full Version : x264 Warning/Error description


GZZ
9th September 2009, 08:22
I have seen all kind of warnings and errors in x264 and sometimes I have a hard time to tell me what the warning/errors means, some are pretty obivious, but some are not. So I was thinking if there is any place where I can see what warnings/errors exists and a possible solution/explenation.

Ex. I have got this warning on the second pass:

x264 Warning Target: 4600 kb/s Expected 4570,4 kb/s. QP 19,1xxxxx

I know that my bitrate on this movie is 4600 kbit, but why does it expect something else?

The movie plays fine and is in perfect sync, maybe a bit undersized compared to what I expected (< 100 mb from the expected size). does this have something to do with the expected value in the warning ?

Selur
9th September 2009, 09:05
I normally get this message only if I play around with qmin and x264 can't reach the bitrate I aimed for because it hit the qmin barrier,...

J_Darnley
9th September 2009, 09:15
I have seen all kind of warnings and errors in x264 and sometimes I have a hard time to tell me what the warning/errors means, some are pretty obivious, but some are not. So I was thinking if there is any place where I can see what warnings/errors exists and a possible solution/explenation.
The source code.

Ex. I have got this warning on the second pass:

x264 Warning Target: 4600 kb/s Expected 4570,4 kb/s. QP 19,1xxxxx

I know that my bitrate on this movie is 4600 kbit, but why does it expect something else?
You appear to have set qpmin to 19. x264 gives this warning because it knows it needs to use quantisers lower than that to reach the bitrate you asked for.

The movie plays fine and is in perfect sync, maybe a bit undersized compared to what I expected (< 100 mb from the expected size). does this have something to do with the expected value in the warning ?
filesize = bitrate * length
So if x264 cannot reach the bitrate you specified, the file size will not be what you expected.

GZZ
9th September 2009, 10:49
You appear to have set qpmin to 19. x264 gives this warning because it knows it needs to use quantisers lower than that to reach the bitrate you asked for.

I havent set the qpmin. Here is my log from my encoding:

My x264 is revision 1251 from x264.nl


08-09-2009 14:32:22 [ Info]
08-09-2009 14:32:22 [ Info] *-------------------------------------------------------*
08-09-2009 14:32:22 [ Info] * Job: D:\Encoding\Mutant\720pScriptNV.avs
08-09-2009 14:32:22 [ Info] *-------------------------------------------------------*
08-09-2009 14:32:22 [ Info]
08-09-2009 14:32:22 [ Info] Bitrate (kbit/s): 4600
08-09-2009 14:32:22 [ Info]
08-09-2009 14:32:22 [ Info] ***** Pass (1/2) *****
08-09-2009 14:32:22 [ Info] Executing Commandline: "D:\Tools\x264.Encoding.Queue\Tools\x264\x264_x86.exe" "D:\Encoding\Mutant\720pScriptNV.avs" --bitrate 4600 --level 4.1 --sar 1:1 --aud --vbv-bufsize 14500 --vbv-maxrate 17500 --filter 0,0 --bframes 3 --direct auto --keyint 24 --min-keyint 1 --subme 2 --b-adapt 1 --aq-mode 2 --me dia --partitions none --threads auto --thread-input --stats "D:\Encoding\Mutant\720pScriptNV.stats" --pass 1 --output NUL
08-09-2009 14:32:22 [ Info]
08-09-2009 14:32:23 [ Info] avis: 1280x720 @ 23.98 fps (160327 frames)
08-09-2009 14:32:23 [ Info] x264: using SAR=1/1
08-09-2009 14:32:23 [ Info] x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
08-09-2009 14:32:23 [ Info] x264: profile Main, level 4.1
08-09-2009 15:15:20 [ Info] [100.0%] 160320/160327 frames, 62.21 fps, 4624.01 kb/s, eta 0:00:00
08-09-2009 15:15:20 [ Info]
08-09-2009 15:15:20 [ Info] x264: frame I:12017 Avg QP:15.25 size: 57881
08-09-2009 15:15:20 [ Info] x264: frame P:93418 Avg QP:18.16 size: 23571
08-09-2009 15:15:20 [ Info] x264: frame B:54892 Avg QP:17.57 size: 17599
08-09-2009 15:15:20 [ Info] x264: consecutive B-frames: 40.8% 26.8% 8.2% 24.1%
08-09-2009 15:15:20 [ Info] x264: mb I I16..4: 46.9% 0.0% 53.1%
08-09-2009 15:15:20 [ Info] x264: mb P I16..4: 35.1% 0.0% 0.0% P16..4: 45.3% 0.0% 0.0% 0.0% 0.0% skip:19.5%
08-09-2009 15:15:20 [ Info] x264: mb B I16..4: 4.5% 0.0% 0.0% B16..8: 28.5% 0.0% 0.0% direct:28.9% skip:38.1% L0:32.6% L1:43.2% BI:24.2%
08-09-2009 15:15:20 [ Info] x264: final ratefactor: 13.82
08-09-2009 15:15:20 [ Info] x264: direct mvs spatial:90.9% temporal:9.1%
08-09-2009 15:15:20 [ Info] x264: coded y,uvDC,uvAC intra:47.4% 41.9% 12.1% inter:30.2% 27.5% 0.8%
08-09-2009 15:15:20 [ Info] x264: kb/s:4622.2
08-09-2009 15:15:20 [ Info] encoded 160327 frames, 62.21 fps, 4623.92 kb/s
08-09-2009 15:15:20 [ Info]
08-09-2009 15:15:20 [ Info] ***** Pass (2/2) *****
08-09-2009 15:15:20 [ Info] Executing Commandline: "D:\Tools\x264.Encoding.Queue\Tools\x264\x264_x86.exe" "D:\Encoding\Mutant\720pScriptNV.avs" --bitrate 4600 --level 4.1 --sar 1:1 --aud --vbv-bufsize 14500 --vbv-maxrate 17500 --filter 0,0 --bframes 3 --direct auto --keyint 24 --min-keyint 1 --subme 7 --aq-mode 2 --me umh --partitions all --threads auto --thread-input --ref 3 --mixed-refs --weightb --trellis 1 --stats "D:\Encoding\Mutant\720pScriptNV.stats" --pass 2 --output "D:\Encoding\Mutant\720pScriptNV.264"
08-09-2009 15:15:20 [ Info]
08-09-2009 15:15:31 [ Info] avis: 1280x720 @ 23.98 fps (160327 frames)
08-09-2009 15:15:31 [ Info] x264: using SAR=1/1
08-09-2009 15:15:31 [ Info] x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
08-09-2009 15:15:31 [ Warning] x264: target: 4600.00 kbit/s, expected: 4537.89 kbit/s, avg QP: 19.0116
08-09-2009 15:15:31 [ Info] x264: profile High, level 4.1
08-09-2009 17:33:43 [ Info] [100.0%] 160320/160327 frames, 19.33 fps, 4539.24 kb/s, eta 0:00:00
08-09-2009 17:33:44 [ Info]
08-09-2009 17:33:44 [ Info] x264: frame I:12017 Avg QP:16.45 size: 49286
08-09-2009 17:33:44 [ Info] x264: frame P:93418 Avg QP:18.21 size: 26501
08-09-2009 17:33:44 [ Info] x264: frame B:54892 Avg QP:18.83 size: 13202
08-09-2009 17:33:44 [ Info] x264: consecutive B-frames: 40.8% 26.8% 8.2% 24.1%
08-09-2009 17:33:44 [ Info] x264: mb I I16..4: 17.6% 70.9% 11.5%
08-09-2009 17:33:44 [ Info] x264: mb P I16..4: 3.2% 11.1% 1.1% P16..4: 42.8% 14.8% 10.6% 0.3% 0.3% skip:15.7%
08-09-2009 17:33:44 [ Info] x264: mb B I16..4: 0.2% 0.6% 0.2% B16..8: 38.1% 1.8% 2.9% direct: 8.0% skip:48.2% L0:38.9% L1:48.1% BI:13.1%
08-09-2009 17:33:44 [ Info] x264: 8x8 transform intra:71.6% inter:71.8%
08-09-2009 17:33:44 [ Info] x264: direct mvs spatial:78.6% temporal:21.4%
08-09-2009 17:33:44 [ Info] x264: coded y,uvDC,uvAC intra:64.0% 58.9% 24.3% inter:33.7% 36.7% 1.7%
08-09-2009 17:33:44 [ Info] x264: ref P L0 65.0% 21.0% 14.0%
08-09-2009 17:33:44 [ Info] x264: ref B L0 82.0% 18.0%
08-09-2009 17:33:44 [ Info] x264: kb/s:4537.3
08-09-2009 17:33:44 [ Info] encoded 160327 frames, 19.33 fps, 4539.06 kb/s

The log is created by my own tool, so some of the info is from my program, the rest is directly output from x264 encoder.

My AVS script is pretty simple and use DGDecodeNV Beta 9.

LoadPlugin("d:\Tools\BDCalculator\Tools\DGDecode\Hardware\DGDecodeNV.dll")
DGSource("d:\Encoding\Mutant\Video.dgm", resize_w=1280, resize_h=720)


I have encoded several movies like this and havent got this warning before, so was just wondering why. Please tell me if I have set something wrong in my scripts..

Audionut
9th September 2009, 11:06
Can't comment on the error, but I did notice this.

[100.0%] 160320/160327 frames

ajp_anton
9th September 2009, 11:38
That's because it only shows every 10 frames. It did complete.

GZZ
9th September 2009, 11:42
I just checked my logs for other movies and it seems like my program dosnt get the last update from the console window before it finish. All my movies seems to be missing a few frames in the status log. But they dont have the warning issue, so I'm sure its just a missing update from the console window that I'm missing before it ends. So no worries there.

GZZ
9th September 2009, 11:44
correct ajp_anton. Thanks for pointing it out. :P

kemuri-_9
9th September 2009, 15:28
at a glance, this seems to be related to what Dark_Shikari has stated as there being a problem with VBV...
which this problem of 'vbv being incorrect with perfect input' was not yet fixed afaik.

GZZ
9th September 2009, 15:39
Will this affect my output in anyway that I have to be concerned about ? Like it goes higher then my vbv maxrate (17500) ?

kemuri-_9
9th September 2009, 15:52
as the 2nd pass vbv initialization code handles under and overflows directly, there should be no violations of vbv.
but as I have little understanding of exactly how x264's vbv system works, will need Dark_Shikari to comment on this.

GZZ
19th September 2009, 07:36
Gonna bump this thread again, as I got another episode that gave me a warning. I still need to know if this warning is something I should take seriously or its just being a problem with the VBV in x264. I'm using revision 1259 on this one.


18-09-2009 23:50:00 [ Info]
18-09-2009 23:50:00 [ Info] *-------------------------------------------------------*
18-09-2009 23:50:00 [ Info] * Job: D:\Encoding\Lost1_D2\EP5\720pScriptNV.avs
18-09-2009 23:50:00 [ Info] *-------------------------------------------------------*
18-09-2009 23:50:00 [ Info]
18-09-2009 23:50:00 [ Info] Bitrate (kbit/s): 5378
18-09-2009 23:50:00 [ Info]
18-09-2009 23:50:00 [ Info] ***** Pass (1/2) *****
18-09-2009 23:50:00 [ Info] Executing Commandline: "D:\Tools\x264.Encoding.Queue\Tools\x264\x264_x86.exe" "D:\Encoding\Lost1_D2\EP5\720pScriptNV.avs" --bitrate 5378 --level 4.1 --sar 1:1 --aud --vbv-bufsize 14500 --vbv-maxrate 17500 --filter 0,0 --bframes 3 --direct auto --keyint 24 --min-keyint 1 --subme 2 --b-adapt 1 --aq-mode 2 --me dia --partitions none --threads auto --thread-input --stats "D:\Encoding\Lost1_D2\EP5\720pScriptNV.stats" --pass 1 --output NUL
18-09-2009 23:50:00 [ Info]
18-09-2009 23:50:02 [ Info] avis: 1280x720 @ 23.98 fps (62448 frames)
18-09-2009 23:50:02 [ Info] x264: using SAR=1/1
18-09-2009 23:50:02 [ Info] x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
18-09-2009 23:50:02 [ Info] x264: profile Main, level 4.1
19-09-2009 00:09:47 [ Info] [100.0%] 62440/62448 frames, 52.64 fps, 5227.45 kb/s, eta 0:00:00
19-09-2009 00:09:47 [ Info]
19-09-2009 00:09:47 [ Info] x264: frame I:4332 Avg QP:16.22 size: 76031
19-09-2009 00:09:47 [ Info] x264: frame P:35908 Avg QP:19.13 size: 27134
19-09-2009 00:09:47 [ Info] x264: frame B:22208 Avg QP:19.22 size: 17898
19-09-2009 00:09:47 [ Info] x264: consecutive B-frames: 35.1% 38.5% 9.6% 16.7%
19-09-2009 00:09:47 [ Info] x264: mb I I16..4: 51.4% 0.0% 48.6%
19-09-2009 00:09:47 [ Info] x264: mb P I16..4: 25.2% 0.0% 0.0% P16..4: 48.2% 0.0% 0.0% 0.0% 0.0% skip:26.6%
19-09-2009 00:09:47 [ Info] x264: mb B I16..4: 3.7% 0.0% 0.0% B16..8: 31.7% 0.0% 0.0% direct:26.7% skip:37.9% L0:26.4% L1:43.4% BI:30.2%
19-09-2009 00:09:47 [ Info] x264: final ratefactor: 14.89
19-09-2009 00:09:47 [ Info] x264: direct mvs spatial:97.9% temporal:2.1%
19-09-2009 00:09:47 [ Info] x264: coded y,uvDC,uvAC intra:58.2% 62.1% 25.2% inter:30.5% 27.7% 1.7%
19-09-2009 00:09:47 [ Info] x264: kb/s:5225.1
19-09-2009 00:09:47 [ Info]
19-09-2009 00:09:47 [ Info] encoded 62448 frames, 52.64 fps, 5226.79 kb/s
19-09-2009 00:09:47 [ Info]
19-09-2009 00:09:47 [ Info] ***** Pass (2/2) *****
19-09-2009 00:09:47 [ Info] Executing Commandline: "D:\Tools\x264.Encoding.Queue\Tools\x264\x264_x86.exe" "D:\Encoding\Lost1_D2\EP5\720pScriptNV.avs" --bitrate 5378 --level 4.1 --sar 1:1 --aud --vbv-bufsize 14500 --vbv-maxrate 17500 --filter 0,0 --bframes 3 --direct auto --keyint 24 --min-keyint 1 --subme 7 --aq-mode 2 --me umh --partitions all --threads auto --thread-input --ref 3 --mixed-refs --weightb --trellis 1 --stats "D:\Encoding\Lost1_D2\EP5\720pScriptNV.stats" --pass 2 --output "D:\Encoding\Lost1_D2\EP5\720pScriptNV.264"
19-09-2009 00:09:47 [ Info]
19-09-2009 00:09:51 [ Info] avis: 1280x720 @ 23.98 fps (62448 frames)
19-09-2009 00:09:51 [ Info] x264: using SAR=1/1
19-09-2009 00:09:51 [ Info] x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
19-09-2009 00:09:51 [ Warning] x264: target: 5378.00 kbit/s, expected: 5305.36 kbit/s, avg QP: 20.1430
19-09-2009 00:09:51 [ Info] x264: profile High, level 4.1
19-09-2009 01:01:41 [ Info] [100.0%] 62440/62448 frames, 20.07 fps, 5307.27 kb/s, eta 0:00:00
19-09-2009 01:01:41 [ Info]
19-09-2009 01:01:41 [ Info] x264: frame I:4332 Avg QP:17.20 size: 68563
19-09-2009 01:01:41 [ Info] x264: frame P:35908 Avg QP:19.22 size: 30430
19-09-2009 01:01:41 [ Info] x264: frame B:22208 Avg QP:20.22 size: 15195
19-09-2009 01:01:41 [ Info] x264: consecutive B-frames: 35.1% 38.5% 9.6% 16.7%
19-09-2009 01:01:41 [ Info] x264: mb I I16..4: 21.7% 67.0% 11.4%
19-09-2009 01:01:41 [ Info] x264: mb P I16..4: 1.8% 6.8% 1.0% P16..4: 39.9% 14.7% 13.2% 0.5% 0.6% skip:21.6%
19-09-2009 01:01:41 [ Info] x264: mb B I16..4: 0.1% 1.0% 0.2% B16..8: 47.1% 1.9% 3.7% direct: 6.4% skip:39.6% L0:38.9% L1:51.0% BI:10.1%
19-09-2009 01:01:41 [ Info] x264: 8x8 transform intra:69.0% inter:67.0%
19-09-2009 01:01:41 [ Info] x264: direct mvs spatial:92.0% temporal:8.0%
19-09-2009 01:01:41 [ Info] x264: coded y,uvDC,uvAC intra:70.5% 77.4% 46.8% inter:34.8% 41.0% 3.3%
19-09-2009 01:01:41 [ Info] x264: ref P L0 76.9% 14.7% 8.3%
19-09-2009 01:01:41 [ Info] x264: ref B L0 88.8% 11.2%
19-09-2009 01:01:41 [ Info] x264: kb/s:5304.9
19-09-2009 01:01:41 [ Info]
19-09-2009 01:01:41 [ Info] encoded 62448 frames, 20.08 fps, 5306.59 kb/s

Dark Shikari
19th September 2009, 07:38
It means the twopass VBV function didn't completely converge. It's not a big deal.

GZZ
19th September 2009, 07:50
thanks alot Dark. Is it a bug in x264 or something I did wrong??

Glad to know I dont have to retry reencoding or anything.

Dark Shikari
19th September 2009, 07:52
thanks alot Dark. Is it a bug in x264 or something I did wrong??Neither.

akupenguin
19th September 2009, 08:49
What do you mean not a big deal? It wasn't supposed to happen. There isn't any code in x264's 2pass planning algorithm that says "1.3% mismatches are ok".

Dark Shikari
19th September 2009, 09:20
Gonna bump this thread again, as I got another episode that gave me a warning. I still need to know if this warning is something I should take seriously or its just being a problem with the VBV in x264. I'm using revision 1259 on this one.Can I have an exact copy of the statsfile along with second pass encoding settings? Source isn't necessary.

GZZ
19th September 2009, 10:17
sure you can, I just rar it along with the log file, that I also posted in here. There you can see what commadline I used to call x264

Stats file: http://www.hbar.dk/Files/LostS1_D2_EP5_StatsFile.rar

nixo
19th September 2009, 11:44
Not sure if it helps but I've had these issues as well and adding --no-mbtree enabled me to hit the expected file size.

http://forum.doom9.org/showthread.php?p=1313492#post1313492


--
Nikolaj

Edit: I don't have the stats files any longer, I'm afraid.

Dark Shikari
19th September 2009, 17:51
Fixed locally. Bug was an integer overflow in 2-pass VBV's loop condition.

GZZ
20th September 2009, 09:29
Glad I could help.

GZZ
29th September 2009, 18:34
Hey Dark Skikari

I now uses version x264 rev. 1271 and I know get another warning, that dosnt make sense to me.

29-09-2009 17:01:25 [ Info]
29-09-2009 17:01:25 [ Info] *-------------------------------------------------------*
29-09-2009 17:01:25 [ Info] * Job: D:\Encoding\Lost4_D4\EP12\720pScriptNV.avs
29-09-2009 17:01:25 [ Info] *-------------------------------------------------------*
29-09-2009 17:01:25 [ Info]
29-09-2009 17:01:25 [ Info] Bitrate (kbit/s): 7535
29-09-2009 17:01:25 [ Info]
29-09-2009 17:01:25 [ Info] ***** Pass (1/2) *****
29-09-2009 17:01:25 [ Info] Executing Commandline: "D:\Tools\x264.Encoding.Queue\Tools\x264\x264_x86.exe" "D:\Encoding\Lost4_D4\EP12\720pScriptNV.avs" --bitrate 7535 --level 4.1 --sar 1:1 --aud --vbv-bufsize 14500 --vbv-maxrate 17500 --filter 0,0 --bframes 3 --direct auto --keyint 24 --min-keyint 1 --subme 2 --b-adapt 1 --aq-mode 2 --me dia --partitions none --threads auto --thread-input --stats "D:\Encoding\Lost4_D4\EP12\720pScriptNV.stats" --pass 1 --output NUL
29-09-2009 17:01:25 [ Info]
29-09-2009 17:01:27 [ Info] avis: 1280x720 @ 23.98 fps (62088 frames)
29-09-2009 17:01:27 [ Info] x264: using SAR=1/1
29-09-2009 17:01:27 [ Info] x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
29-09-2009 17:01:27 [ Info] x264: profile Main, level 4.1
29-09-2009 17:21:18 [ Info] [100.0%] 62080/62088 frames, 52.05 fps, 7354.39 kb/s, eta 0:00:00
29-09-2009 17:21:19 [ Info]
29-09-2009 17:21:19 [ Info] x264: frame I:5748 Avg QP:17.84 size: 83723
29-09-2009 17:21:19 [ Info] x264: frame P:42484 Avg QP:20.22 size: 36055
29-09-2009 17:21:19 [ Info] x264: frame B:13856 Avg QP:19.76 size: 26508
29-09-2009 17:21:19 [ Info] x264: consecutive B-frames: 55.5% 33.3% 5.5% 5.8%
29-09-2009 17:21:19 [ Info] x264: mb I I16..4: 49.8% 0.0% 50.2%
29-09-2009 17:21:19 [ Info] x264: mb P I16..4: 39.0% 0.0% 0.0% P16..4: 47.3% 0.0% 0.0% 0.0% 0.0% skip:13.7%
29-09-2009 17:21:19 [ Info] x264: mb B I16..4: 7.4% 0.0% 0.0% B16..8: 32.7% 0.0% 0.0% direct:33.3% skip:26.6% L0:21.3% L1:37.7% BI:40.9%
29-09-2009 17:21:19 [ Info] x264: final ratefactor: 15.59
29-09-2009 17:21:19 [ Info] x264: direct mvs spatial:95.1% temporal:4.9%
29-09-2009 17:21:19 [ Info] x264: coded y,uvDC,uvAC intra: 78.7% 52.6% 14.0% inter: 45.8% 26.1% 0.5%
29-09-2009 17:21:19 [ Info] x264: i16 v,h,dc,p: 20% 13% 45% 21%
29-09-2009 17:21:19 [ Info] x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 15% 20% 9% 9% 8% 8% 8% 8%
29-09-2009 17:21:19 [ Info] x264: kb/s:7353.45
29-09-2009 17:21:19 [ Info]
29-09-2009 17:21:19 [ Info] encoded 62088 frames, 52.06 fps, 7353.45 kb/s
29-09-2009 17:21:19 [ Info]
29-09-2009 17:21:19 [ Info] ***** Pass (2/2) *****
29-09-2009 17:21:19 [ Info] Executing Commandline: "D:\Tools\x264.Encoding.Queue\Tools\x264\x264_x86.exe" "D:\Encoding\Lost4_D4\EP12\720pScriptNV.avs" --bitrate 7535 --level 4.1 --sar 1:1 --aud --vbv-bufsize 14500 --vbv-maxrate 17500 --filter 0,0 --bframes 3 --direct auto --keyint 24 --min-keyint 1 --subme 7 --aq-mode 2 --me umh --partitions all --threads auto --thread-input --ref 3 --mixed-refs --weightb --trellis 1 --stats "D:\Encoding\Lost4_D4\EP12\720pScriptNV.stats" --pass 2 --output "D:\Encoding\Lost4_D4\EP12\720pScriptNV.264"
29-09-2009 17:21:19 [ Info]
29-09-2009 17:21:23 [ Info] avis: 1280x720 @ 23.98 fps (62088 frames)
29-09-2009 17:21:23 [ Info] x264: using SAR=1/1
29-09-2009 17:21:23 [ Info] x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
29-09-2009 17:21:23 [ Info] x264: profile High, level 4.1
29-09-2009 17:58:06 [ Info] [49.5%] 30740/62088 frames, 13.95 fps, 8283.92 kb/s, eta 0:37:27
29-09-2009 17:58:07 [ Warning] x264: VBV underflow (-397371 bits)
29-09-2009 18:33:14 [ Info] [100.0%] 62080/62088 frames, 14.40 fps, 7525.25 kb/s, eta 0:00:00
29-09-2009 18:33:14 [ Info]
29-09-2009 18:33:14 [ Info] x264: frame I:5748 Avg QP:18.42 size: 77334
29-09-2009 18:33:14 [ Info] x264: frame P:42484 Avg QP:20.19 size: 38942
29-09-2009 18:33:14 [ Info] x264: frame B:13856 Avg QP:20.75 size: 24297
29-09-2009 18:33:14 [ Info] x264: consecutive B-frames: 55.5% 33.3% 5.5% 5.8%
29-09-2009 18:33:14 [ Info] x264: mb I I16..4: 8.2% 81.5% 10.3%
29-09-2009 18:33:14 [ Info] x264: mb P I16..4: 0.8% 9.8% 1.3% P16..4: 42.3% 19.1% 15.7% 0.4% 0.5% skip:10.1%
29-09-2009 18:33:14 [ Info] x264: mb B I16..4: 0.1% 1.8% 0.2% B16..8: 51.9% 2.3% 5.1% direct: 9.3% skip:29.3% L0:39.7% L1:48.9% BI:11.3%
29-09-2009 18:33:14 [ Info] x264: 8x8 transform intra:82.1% inter:63.6%
29-09-2009 18:33:14 [ Info] x264: direct mvs spatial:87.1% temporal:12.9%
29-09-2009 18:33:14 [ Info] x264: coded y,uvDC,uvAC intra: 86.9% 79.2% 37.8% inter: 50.3% 47.2% 1.5%
29-09-2009 18:33:14 [ Info] x264: i16 v,h,dc,p: 42% 11% 8% 39%
29-09-2009 18:33:14 [ Info] x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 12% 29% 7% 8% 8% 8% 8% 8%
29-09-2009 18:33:14 [ Info] x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 15% 15% 8% 11% 9% 10% 7% 8%
29-09-2009 18:33:14 [ Info] x264: ref P L0: 73.5% 17.2% 9.3%
29-09-2009 18:33:14 [ Info] x264: ref B L0: 86.7% 13.3%
29-09-2009 18:33:14 [ Info] x264: kb/s:7524.29
29-09-2009 18:33:14 [ Info]
29-09-2009 18:33:14 [ Info] encoded 62088 frames, 14.40 fps, 7524.29 kb/s

I have attached the state and the above log with my settings for you to invesitgate.

http://www.hbar.dk/Files/LostS4_D4_EP12_StatsFile.rar

Does this error have any negativ effect on my encoding or just a "Integer overflow" like in the previous error you corrected ?

Dark Shikari
29th September 2009, 19:23
That's a bug in 2-pass VBV (yet another one... blegh). Create the smallest possible input sample that reliably triggers the underflow and upload it with settings, and I'll investigate.

GZZ
1st October 2009, 07:58
Hey Dark.

I have tested alot and found out that if I do a Trim(5000, 32000) (27000 frames) I can reproduce the error: If I use Trim(12000, 32000) i will not get the error. The only problem with this, is that I will have to make a video sample that are around 3.5 GB in size. I can put it on my own website and pm you a link. But my upload are limited to 200 kb/s. Will this be ok with you ?

Dark Shikari
1st October 2009, 08:35
Hey Dark.

I have tested alot and found out that if I do a Trim(5000, 32000) (27000 frames) I can reproduce the error: If I use Trim(12000, 32000) i will not get the error. The only problem with this, is that I will have to make a video sample that are around 3.5 GB in size. I can put it on my own website and pm you a link. But my upload are limited to 200 kb/s. Will this be ok with you ?That's fine. As long as if you load from exactly that sample and the problem is reproduced consistently, that will work.

GZZ
1st October 2009, 09:14
I will try reproduce it on the sample I make, before uploading, so I know its working.

GZZ
1st October 2009, 18:56
PM sent to Dark...

GZZ
12th October 2009, 18:19
I testede the newest version (rev 1287) on my source and it seem to have fixed the issue:

12-10-2009 17:35:50 [ Info]
12-10-2009 17:35:50 [ Info] *-------------------------------------------------------*
12-10-2009 17:35:50 [ Info] * Job: D:\Encoding\Lost4_D4\EP12\720pScriptNV.avs
12-10-2009 17:35:50 [ Info] *-------------------------------------------------------*
12-10-2009 17:35:50 [ Info]
12-10-2009 17:35:50 [ Info] Bitrate (kbit/s): 7535
12-10-2009 17:35:50 [ Info]
12-10-2009 17:35:50 [ Info] ***** Pass (1/2) *****
12-10-2009 17:35:50 [ Info] Executing Commandline: "D:\Tools\x264.Encoding.Queue\Tools\x264\x264_x86.exe" "D:\Encoding\Lost4_D4\EP12\720pScriptNV.avs" --bitrate 7535 --level 4.1 --sar 1:1 --aud --vbv-bufsize 14500 --vbv-maxrate 17500 --filter 0,0 --bframes 3 --direct auto --keyint 24 --min-keyint 1 --subme 2 --b-adapt 1 --aq-mode 2 --me dia --partitions none --threads auto --thread-input --stats "D:\Encoding\Lost4_D4\EP12\720pScriptNV.stats" --pass 1 --output NUL
12-10-2009 17:35:50 [ Info]
12-10-2009 17:35:51 [ Info] avis: 1280x720 @ 23.98 fps (62088 frames)
12-10-2009 17:35:51 [ Info] x264: using SAR=1/1
12-10-2009 17:35:51 [ Info] x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
12-10-2009 17:35:51 [ Info] x264: profile Main, level 4.1
12-10-2009 17:55:07 [ Info] [100.0%] 62080/62088 frames, 53.63 fps, 7352.97 kb/s, eta 0:00:00
12-10-2009 17:55:08 [ Info]
12-10-2009 17:55:08 [ Info] x264: frame I:3173 Avg QP:17.03 size: 97966
12-10-2009 17:55:08 [ Info] x264: frame P:45442 Avg QP:20.10 size: 37384
12-10-2009 17:55:08 [ Info] x264: frame B:13473 Avg QP:19.62 size: 27477
12-10-2009 17:55:08 [ Info] x264: consecutive B-frames: 58.7% 30.7% 5.2% 5.4%
12-10-2009 17:55:08 [ Info] x264: mb I I16..4: 42.4% 0.0% 57.6%
12-10-2009 17:55:08 [ Info] x264: mb P I16..4: 40.4% 0.0% 0.0% P16..4: 46.8% 0.0% 0.0% 0.0% 0.0% skip:12.9%
12-10-2009 17:55:08 [ Info] x264: mb B I16..4: 7.6% 0.0% 0.0% B16..8: 33.1% 0.0% 0.0% direct:33.8% skip:25.6% L0:21.0% L1:37.1% BI:41.9%
12-10-2009 17:55:08 [ Info] x264: final ratefactor: 15.20
12-10-2009 17:55:08 [ Info] x264: direct mvs spatial:94.8% temporal:5.2%
12-10-2009 17:55:08 [ Info] x264: coded y,uvDC,uvAC intra: 78.3% 52.3% 13.0% inter: 47.0% 27.1% 0.5%
12-10-2009 17:55:08 [ Info] x264: i16 v,h,dc,p: 20% 13% 45% 22%
12-10-2009 17:55:08 [ Info] x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 15% 19% 9% 9% 9% 8% 8% 9%
12-10-2009 17:55:08 [ Info] x264: kb/s:7352.02
12-10-2009 17:55:08 [ Info]
12-10-2009 17:55:08 [ Info] encoded 62088 frames, 53.64 fps, 7352.02 kb/s
12-10-2009 17:55:08 [ Info]
12-10-2009 17:55:08 [ Info] ***** Pass (2/2) *****
12-10-2009 17:55:08 [ Info] Executing Commandline: "D:\Tools\x264.Encoding.Queue\Tools\x264\x264_x86.exe" "D:\Encoding\Lost4_D4\EP12\720pScriptNV.avs" --bitrate 7535 --level 4.1 --sar 1:1 --aud --vbv-bufsize 14500 --vbv-maxrate 17500 --filter 0,0 --bframes 3 --direct auto --keyint 24 --min-keyint 1 --subme 7 --aq-mode 2 --me umh --partitions all --threads auto --thread-input --ref 3 --mixed-refs --weightb --trellis 1 --stats "D:\Encoding\Lost4_D4\EP12\720pScriptNV.stats" --pass 2 --output "D:\Encoding\Lost4_D4\EP12\720pScriptNV.264"
12-10-2009 17:55:08 [ Info]
12-10-2009 17:55:11 [ Info] avis: 1280x720 @ 23.98 fps (62088 frames)
12-10-2009 17:55:11 [ Info] x264: using SAR=1/1
12-10-2009 17:55:11 [ Info] x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
12-10-2009 17:55:11 [ Info] x264: profile High, level 4.1
12-10-2009 19:00:57 [ Info] [100.0%] 62080/62088 frames, 15.73 fps, 7525.00 kb/s, eta 0:00:00
12-10-2009 19:00:57 [ Info]
12-10-2009 19:00:57 [ Info] x264: frame I:3173 Avg QP:17.23 size: 99484
12-10-2009 19:00:57 [ Info] x264: frame P:45442 Avg QP:19.93 size: 41823
12-10-2009 19:00:57 [ Info] x264: frame B:13473 Avg QP:23.79 size: 16279
12-10-2009 19:00:57 [ Info] x264: consecutive B-frames: 58.7% 30.7% 5.2% 5.4%
12-10-2009 19:00:57 [ Info] x264: mb I I16..4: 8.5% 78.5% 13.0%
12-10-2009 19:00:57 [ Info] x264: mb P I16..4: 0.8% 11.8% 1.5% P16..4: 41.2% 19.1% 15.2% 0.5% 0.5% skip: 9.3%
12-10-2009 19:00:57 [ Info] x264: mb B I16..4: 0.0% 1.2% 0.1% B16..8: 47.0% 1.5% 3.4% direct: 5.8% skip:40.8% L0:41.2% L1:50.8% BI: 8.0%
12-10-2009 19:00:57 [ Info] x264: 8x8 transform intra:81.9% inter:64.0%
12-10-2009 19:00:57 [ Info] x264: direct mvs spatial:86.4% temporal:13.6%
12-10-2009 19:00:57 [ Info] x264: coded y,uvDC,uvAC intra: 88.3% 80.5% 40.7% inter: 47.9% 45.0% 1.8%
12-10-2009 19:00:57 [ Info] x264: i16 v,h,dc,p: 43% 11% 7% 39%
12-10-2009 19:00:57 [ Info] x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 12% 28% 7% 8% 8% 8% 8% 9%
12-10-2009 19:00:57 [ Info] x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 15% 14% 8% 11% 10% 10% 8% 9%
12-10-2009 19:00:57 [ Info] x264: ref P L0: 70.9% 18.2% 10.8%
12-10-2009 19:00:57 [ Info] x264: ref B L0: 86.9% 13.1%
12-10-2009 19:00:57 [ Info] x264: kb/s:7524.03
12-10-2009 19:00:57 [ Info]
12-10-2009 19:00:57 [ Info] encoded 62088 frames, 15.73 fps, 7524.03 kb/s

Dark Shikari
12th October 2009, 19:34
Yup, all the VBV problems were related. We're good now, I think.