[x264-devel] Re: bit allocation algorithms among frames

Loren Merritt lorenm at u.washington.edu
Tue Jul 18 03:28:19 CEST 2006


http://students.washington.edu/lorenm/src/x264/x264_sdrc.0.pl
is an implementation of the first paper, except even more brute-force: I 
didn't want to deal with a deep copy of the encoder state, so I just 
encode the whole movie for each candidate.

http://students.washington.edu/lorenm/src/x264/x264_rdrc.1.diff
uses lagrange optimization with a sliding window.

CMD="x264 tennis_352x240.yuv --frames 150 --scenecut -1 -m3 -b1 -8"
psnr:35.290 kb/s:535.16 time:1.52    # $CMD -p1 --crf 25
psnr:35.231 kb/s:501.14 time:1.33    # $CMD -p2 -B496
psnr:35.125 kb/s:503.61 time:7.45    # $CMD -p2 --rdrc-range 2 --rdrc-lambda 450
psnr:35.373 kb/s:498.91 time:10.99   # $CMD -p2 --rdrc-range 3 --rdrc-lambda 520
psnr:35.699 kb/s:499.87 time:11.89   # $CMD -p2 --rdrc-range 4 --rdrc-lambda 368
psnr:35.653 kb/s:502.45 time:21.17   # $CMD -p2 --rdrc-range 8 --rdrc-lambda 690
psnr:35.707 kb/s:500.67 time:38.71   # $CMD -p2 --rdrc-range 16 --rdrc-lambda 754
psnr:35.736 kb/s:499.60 time:69.92   # $CMD -p2 --rdrc-range 32 --rdrc-lambda 925
psnr:35.754 kb/s:500.95 time:1634.69 # x264_sdrc.0.pl -B 500 -x "$CMD --ipratio 1"

--Loren Merritt

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list