View Single Post
Old 2nd June 2008, 08:10   #60  |  Link
Sagittaire
Testeur de codecs
 
Sagittaire's Avatar
 
Join Date: May 2003
Location: France
Posts: 2,484
Quote:
Originally Posted by Dark Shikari View Post
I'm proposing that FGO has absolutely nothing to do with the double-size frame and that there has been user error here, such as comparing B-frames with different pbratio or encoding with different bitrates. Especially since the clips you posted earlier were not even of the same video clip, I don't exactly trust that you've done everything right here...
Well I find the problem ... it's a Rate Control problem between first and second pass. With the same final bitrate crf mode produce really better result.


2 pass mode with fast first pass:

x264.exe --threads 3 --thread-input --keyint 24 --min-keyint 2 --vbv-maxrate 20000 --vbv-bufsize 30000 --mvrange 511 --level 4.1 --bframe 3 --b-pyramid --bime --weightb --ref 1 --mixed-refs --direct auto --deblock -2:-2 --bitrate 6900 --pass 1 --stats "casino.log" --ipratio 1.10 --pbratio 1.10 --partitions "all" --8x8dct --me "hex" --subme 5 --trellis 0 --aq-mode 0 --aq-strength 0.00 --aud --nal-hrd --sar 1:1 --cqmfile Sagittaire.cfg --progress -o NUL Lossless.avs

And after I use always the same casino.log stat for all the encoding.

x264.exe --threads 3 --thread-input --keyint 24 --min-keyint 1 --vbv-maxrate 20000 --vbv-bufsize 30000 --mvrange 511 --level 4.1 --bframe 3 --b-pyramid --b-rdo --bime --weightb --ref 3 --mixed-refs --direct auto --deblock -2:-2 --bitrate 6900 --pass 2 --stats "casino.log" --ipratio 1.10 --pbratio 1.10 --partitions "all" --8x8dct --me "umh" --subme 7 --trellis 2 --aq-mode 2 --aq-strength 1.00 --no-fast-pskip --no-dct-decimate --aud --nal-hrd --sar 1:1 --cqmfile Sagittaire.cfg --zone 201560,207442,b=0.33 --progress -o 1080p_3.264 Lossless.avs


Quality mode:

x264.exe --threads auto --thread-input --keyint 24 --min-keyint 1 --crf %E_BR% --vbv-maxrate %MAX_BR% --vbv-bufsize %BUF_BR% --mvrange 511 --level 4.1 --bframe 3 --b-pyramid --b-rdo --bime --weightb --ref 3 --mixed-refs --direct auto --deblock -2:-2 --ipratio 1.10 --pbratio 1.10 --partitions "all" --8x8dct --me "umh" --subme 7 --trellis 2 --no-fast-pskip --no-dct-decimate --aud --nal-hrd --sar 1:1 --cqmfile Sagittaire.cfg --aq-strength 1.00 --aq-mode 2 --zone %CRE_FR%,%END_FR%,b=0.33 --progress -o 1080p_Q1.264 %E_SRC%


With 2 pass encoding and exactly the same setting than crf mode (and same final bitrate) I have completely different Rate Control (for example 31 832 bits vs 70 926 bits for frame 20 491). VAQ + PSY seem imply major modification in RC between first and second pass. It's perhaps necessary to use VAQ and PSY in first pass too ... ???
__________________
Le Sagittaire ... ;-)

1- Ateme AVC or x264
2- VP7 or RV10 only for anime
3- XviD, DivX or WMV9

Last edited by Sagittaire; 2nd June 2008 at 08:14.
Sagittaire is offline   Reply With Quote