Analysis-reuse-level and mode do not work with level 7 to 10

Issue #455 new
H0W1K2 created an issue

X265 Version 2.9+ 9-F74003e

If analysis-reuse-level and mode specified with more than 6, encoder crashes on first frame.

Contents of batch file which is used for encoding.

"F:\BD-RBV06004\BD_Rebuilder\tools\avs2yuv.exe" "E:\BD-RB TEMP\WORKFILES\VID_00800.AVS" -o - | "F:\BD-RBV06004\BD_Rebuilder\tools\x265-64.exe" - --preset slower --qpfile "E:\BD-RB TEMP\WORKFILES\VID_00800.CHP" --keyint 240 --bitrate 4600 --frames 212066 --aq-mode 2 --aq-strength 1.5 --multi-pass-opt-analysis --multi-pass-opt-distortion --sar 1:1 --y4m --stats "E:\BD-RB TEMP\WORKFILES\VID_00800.AVS.hevc.stats" --analysis-reuse-level 6 --analysis-reuse-mode 6 --analysis-reuse-file "E:\BD-RB TEMP\WORKFILES\VID_00800.AVS.hevc.dat" --pass 1 --output "E:\BD-RB TEMP\WORKFILES\VID_00800.AVS.hevc"

Comments (1)

  1. Bhavna Hariharan

    --analysis-reuse-mode is a deprecated option that used to take OFF/SAVE/LOAD as inputs. The CLI to save analysis information must include --analysis-save <file-name> and the CLI for loading the information must have --analysis-load <file-name>. The --analysis-reuse-level will default to 5 unless any other level is specified in the CLI. The information corresponding to the level will be saved/loaded from the file specified. Analysis-reuse-level 7-9 is used only for reusing AVC size information. to reuse HEVC size information, one must use levels 1-6 and 10. Please see the docs for more information.

    Reusing analysis information is not supported with "multi-pass" option. Either of the two must be disabled for the other to work.

    We shall send a patch that checks for deprecated options and ensures that the encoder exits gracefully.

  2. Log in to comment