Log in

View Full Version : 'Bitrate too low' error encoding with iPod profile


Taxidermista
1st September 2006, 15:20
The source is a 512x384 25fps avi file (XviD+mp3). I do a resize to 320x240 with a simple avs script:

DirectShowSource("E:\Proyectos\iPOD\16x01.avi",fps=25000,audio=false)
LanczosResize(320,240) # Lanczos (Sharp)

Then I encode this with Sharktooth's iPod profile using a bitrate of 750kbps. First pass goes well but when 2nd pass begins I get this:

Starting job job1-1 at 15:45:14
encoder commandline:
--pass 1 --bitrate 750 --stats "E:\Proyectos\iPOD\16x01.stats" --level 1.3 --no-cabac --subme 1 --analyse none --qpmin 16 --vbv-maxrate 768 --me dia --merange 12 --thread-input --progress --no-psnr --output NUL "E:\Proyectos\iPOD\16x01.avs"
successfully started encoding
Processing ended at 15:54:30


Log for job job1-1

avis [info]: 320x240 @ 25000.00 fps (30668 frames)
x264 [warning]: MB rate (7500000) > level limit (11880)
x264 [warning]: VBV maxrate specified, but no bufsize.
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
x264 [info]: slice I:233 Avg QP:48.01 size: 1229
x264 [info]: slice P:30435 Avg QP:51.00 size: 123
x264 [info]: mb I I16..4: 91.1% 0.0% 8.9%
x264 [info]: mb P I16..4: 5.0% 0.0% 0.0% P16..4: 4.1% 0.0% 0.0% 0.0% 0.0% skip:90.9%
x264 [info]: SSIM Mean Y:0.5826835
x264 [info]: kb/s:26355.3

encoded 30668 frames, 55.54 fps, 26410.02 kb/s


Job completed successfully and deletion of intermediate files is activated
job job1-1 has been processed. This job is linked to the next job: job1-2
Starting job job1-2 at 15:54:30
encoder commandline:
--pass 2 --bitrate 750 --stats "E:\Proyectos\iPOD\16x01.stats" --level 1.3 --no-cabac --subme 6 --analyse p8x8,b8x8 --qpmin 16 --vbv-maxrate 768 --me umh --merange 12 --thread-input --progress --no-psnr --output "E:\Proyectos\iPOD\16x01.264" "E:\Proyectos\iPOD\16x01.avs"
successfully started encoding
Processing ended at 15:54:33


Log for job job1-2

avis [info]: 320x240 @ 25000.00 fps (30668 frames)
x264 [warning]: MB rate (7500000) > level limit (11880)
x264 [warning]: VBV maxrate specified, but no bufsize.
x264 [error]: requested bitrate is too low. estimated minimum is 4668 kbps
x264 [error]: x264_encoder_open failed

I've tried again with 600 kbps, same error. :confused:

-----

GodofaGap
1st September 2006, 15:29
avis [info]: 320x240 @ 25000.00 fps (30668 frames)
I assume you don't have a source file with 25000 frames per second, so check your avisynth script. Otherwise you are trying a waaaaaaaaaaaaaaaaaaaaaaaay too low bitrate. :)

DirectShowSource("E:\Proyectos\iPOD\16x01.avi",fps=25000,audio=false)

check
1st September 2006, 16:00
Also I believe 700kbits is too high for iPod. It's ceratinly too high for that profile (x264 [warning]: MB rate (7500000) > level limit (11880))

Taxidermista
1st September 2006, 16:30
@check
Something is going very wrong here. 750 kbps is good for iPod with AVC, 768 is the limit according to the Apple specs.

iPod-compliant level limit 11.8 kbps??? That make no sense.

@GodofaGap
I did the avs with the Avisynth Script Creator in Megui. I don't understand that fps=25000. Is it fps=25? The creator did this, not me.

ilovejedd
1st September 2006, 17:17
@GodofaGap
I did the avs with the Avisynth Script Creator in Megui. I don't understand that fps=25000. Is it fps=25? The creator did this, not me.

Yeah, should be fps=25. MeGUI's author probably meant it to be fps=25.000. What a difference a dot makes. Hmm, does DirectShowSource accept frame rates in 25000/1000 format?

Taxidermista
1st September 2006, 17:28
Yeah, should be fps=25. MeGUI's author probably meant it to be fps=25.000. What a difference a dot makes. Hmm, does DirectShowSource accept frame rates in 25000/1000 format?
In Spain (in my spanish Windows) 25.000 is 25 thousands. I don't know if this is the cause. We separate decimals with a comma, not a dot.

akupenguin
1st September 2006, 17:45
Also I believe 700kbits is too high for iPod. It's ceratinly too high for that profile (x264 [warning]: MB rate (7500000) > level limit (11880))
MB rate is related to framerate (macroblocks per second). So this warning will go away if you fix that.

Taxidermista
1st September 2006, 17:53
Right, I've replaced the fps=25000 with fps=25 and now it's working fine. Is this a bug in Avisynth Creator?

Sharktooth
2nd September 2006, 14:27
I already reported that problem. It's a lack of regional settings conversion in megui.