Log in

View Full Version : HC026 how to force 1-pass ?


hydra3333
3rd September 2011, 06:15
Hi I have a number of sources I wish to max-out the bitrate to DVD spec, but only want to use 1 pass. eg average bitrate 9200, max 9400.

I'd thought *CQ_MAXBITRATE would force 1-pass with the settings I want, like the .ini below, but it doesn't.
*INFILE G:\DVD\TEST\test.avs
*OUTFILE G:\DVD\TEST\test.mpv
*LOGFILE G:\DVD\TEST\test-HC.log
*PROGRESSIVE
*AVSMEMORY 256
*SMP
*LOSSLESS
*DBPATH G:\TEMP
*LLPATH G:\TEMP
*PROFILE BEST
*ASPECT 16:9
*LASTIFRAME
*AUTOGOP 15
*CLOSEDGOPS
*PULLDOWN
*DC_PREC
*MATRIX FOX1
*AQ 0
*BIAS 75
*LUMGAIN 1
*BITRATE 9200
*MAXBITRATE 9400
*CQ_MAXBITRATE

However this .ini below does force 1-pass but I reckon it tries for CQ2.
*INFILE G:\DVD\TEST\test.avs
*OUTFILE G:\DVD\TEST\test.mpv
*LOGFILE G:\DVD\TEST\test-HC.log
*PROGRESSIVE
*AVSMEMORY 256
*SMP
*LOSSLESS
*DBPATH G:\TEMP
*LLPATH G:\TEMP
*PROFILE BEST
*ASPECT 16:9
*LASTIFRAME
*AUTOGOP 15
*CLOSEDGOPS
*PULLDOWN
*DC_PREC
*MATRIX FOX1
*AQ 0
*BIAS 75
*LUMGAIN 1
*BITRATE 9200
*MAXBITRATE 9400
*CQ_MAXBITRATE 2
Suggestions welcomed.

manolito
3rd September 2011, 13:09
Add this to your ini file:
*1PASS

Example
*1PASS
This command activates the 1 pass VBR (Variable Bit Rate) mode. An average bit rate can be set.
A fast sampling pass will be done before the actual encoding pass. The output file size can be off
if the encoded clip is short, it will be disabled if the nr. of frames < 1000.

BTW the difference between your average bitrate and your max bitrate seems to be awfully small. VBR encoders mostly do not like this (difference should be at least 500 kbp/s)


Cheers
manolito