Log in

View Full Version : x264 warning: DPB size > level limit


outsiders71
24th October 2006, 05:24
Hello, I'm trying to encode a file using a 3-pass script. Before I was just using CRF and didn't have any problems with x264:

Creating AVS...
Encoding video...
avis [info]: 320x176 @ 29.97 fps (121009 frames)
x264 [warning]: DPB size (1351680) > level limit (912384)

Script:

e:\x264\x264.exe --pass 1 --bitrate 19000 --stats "test.stats" --level 1.3 --ref 16 --mixed-refs --no-fast-pskip --no-cabac --subme 7 --analyse p8x8,b8x8,i4x4,p4x4 --me esa --progress --no-dct-decimate --no-psnr --trellis 2 --direct auto --min-keyint 29 --keyint 290 --filter 0:0 --threads 1 --thread-input --output NUL "e:\x264\test.avs"

e:\x264\x264.exe --pass 3 --bitrate 19000 --stats "test.stats" --level 1.3 --ref 16 --mixed-refs --no-fast-pskip --no-cabac --subme 7 --analyse p8x8,b8x8,i4x4,p4x4 --me esa --progress --no-dct-decimate --no-psnr --trellis 2 --direct auto --min-keyint 29 --keyint 290 --filter 0:0 --threads 1 --thread-input --output NUL "e:\x264\test.avs"

e:\x264\x264.exe --pass 2 --bitrate 19000 --stats "test.stats" --level 1.3 --ref 16 --mixed-refs --no-fast-pskip --no-cabac --subme 7 --analyse p8x8,b8x8,i4x4,p4x4 --me esa --progress --no-dct-decimate --no-psnr --trellis 2 --direct auto --min-keyint 29 --keyint 290 --filter 0:0 --threads 1 --thread-input --output "e:\x264\test.mp4" "e:\x264\test.avs"


I did a google search and only found something referencing that I might be using too many reference frames. However no matter what value it is it will still give me that error. I've also tried lowering the bitrate and that didn't work either. Any suggestions? Using the latest x264 build.

Manao
24th October 2006, 06:21
Have you tried less that 10 references ?

Audionut
24th October 2006, 06:59
I might be using too many reference frames. However no matter what value it is it will still give me that error. I've also tried lowering the bitrate and that didn't work either.

He appears to already have tried.

Manao
24th October 2006, 08:07
First, technically, it didn't say he tried all the values. Second, it works with 10 or less references, so he didn't try them.

outsiders71
24th October 2006, 12:16
I don't know why it works now but last night I tried with 10, 8 and 5 refs and it still gave me the error. Today I try after reading this post and it works now at 8 and 5 refs. ::shrug::.

Sharktooth
24th October 2006, 13:31
--bitrate 19000 ... a bit too high for Level 1.3...
max bitrate at that level is 768kbps.

idamien
20th February 2007, 17:47
Hi,

I´m having the same problem now that I´m using Vista... I´m encoding backups of HD-DVD discs at level 4.1. My command lines are:

1st PASS:
---------

"C:\Program Files\MeGUI\Tools\x264\x264.exe" --pass 1 --bitrate 8000 --stats "C:\Users\Igor Ribeiro\Documents\The Thing\.stats" --level 4.1 --keyint 15 --min-keyint 1 --ref 3 --mixed-refs --bframes 2 --b-pyramid --b-rdo --bime --weightb --direct auto --filter -3,-2 --subme 7 --trellis 1 --analyse p8x8,b8x8,i4x4,i8x8 --8x8dct --vbv-bufsize 9781 --vbv-maxrate 29400 --me umh --threads auto --thread-input --progress --no-psnr --no-ssim --output NUL "C:\Users\Igor Ribeiro\Documents\The Movie\The Movie - Video.avs"

AND

2nd PASS:
---------

"C:\Program Files\MeGUI\Tools\x264\x264.exe" --pass 2 --bitrate 8000 --stats "C:\Users\Igor Ribeiro\Documents\The Thing\.stats" --level 4.1 --keyint 15 --min-keyint 1 --ref 3 --mixed-refs --bframes 2 --b-pyramid --b-rdo --bime --weightb --direct auto --filter -3,-2 --subme 7 --trellis 1 --analyse p8x8,b8x8,i4x4,i8x8 --8x8dct --vbv-bufsize 9781 --vbv-maxrate 29400 --me umh --threads auto --thread-input --progress --no-psnr --no-ssim --output "C:\Users\Igor Ribeiro\Documents\The Movie\The Movie - Video.mp4" "C:\Users\Igor Ribeiro\Documents\The Movie\The Movie - Video.avs"

I´m also getting these warnings:

x264 [warning]: DPB size (14100480) > level limit (12582912)
x264 [warning]: Error: 2pass curve failed to converge
x264 [warning]: target: 8000.00 kbit/s, expected: 198.53 kbit/s, avg QP: 10.0002

Can anyone please help?

Thanks