Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 230A Nondeterministic with --enable-tf 2 and/or --psy-rd >0 #124

Open
Ravice opened this issue Jan 15, 2025 · 10 comments
Open

[BUG] 230A Nondeterministic with --enable-tf 2 and/or --psy-rd >0 #124

Ravice opened this issue Jan 15, 2025 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@Ravice
Copy link

Ravice commented Jan 15, 2025

Overview

230A has determinism issues with both the --psy-rd parameter and --enable-tf 2 parameter, individually and in combination. impact on quality is somewhat mild, but at low bitrate (600-800) can be the difference between keeping or deleting some detail randomly.

both become deterministic when encoding with --lp 1

Branch
master f560b40 and testing 4486b1d

Reproduction
encode with 10-bit and --enable-tf 2 or --psy-rd >0 respectively with --lp >1

Platform (please complete the following information):
windows 10 msys2/Clang 18.1.8

cmake .. -DBUILD_SHARED_LIBS=0 -DCMAKE_BUILD_TYPE=Release -G "MSYS Makefiles" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_LINKER=lld -DCMAKE_CXX_FLAGS="-fuse-ld=lld -O3 -march=native -flto=thin" -DCMAKE_C_FLAGS="-fuse-ld=lld -O3 -march=native -flto=thin" -DCMAKE_C_FLAGS_INIT="-flto=16 -static -static-libgcc -static-libstdc++" -DCMAKE_EXE_LINKER_FLAGS="-flto -static -static-libgcc -static-libstdc++" -DBUILD_TESTING=0 -DBUILD_DEC=0 -DSVT_AV1_PGO=0 -DSVT_AV1_LTO=1 -DNATIVE=1 -DENABLE_AVX512=0

Additional context

by changing the thread counts in enc_handle.c the offending threads have perhaps been narrowed down from either end by individually increasing threads for LP1, and setting LP5 threads to 1.

--psy-rd
LP1 becomes nondeterministic with "enc_dec_process_init_count" > 1
LP1 becomes nondeterministic with "motion_estimation_process_init_count" > 1

LP5 psy-rd becomes deterministic if "enc_dec_process_init_count" == 1 and "motion_estimation_process_init_count" == 1 (this runs very slowly because of enc_dec 1)

--enable-tf 2
requires only that "motion_estimation_process_init_count" == 1 for LP5 to become deterministic

TF1 has no determinism issues tested all presets between 1 and 8
thread tests were performed at --preset 8, but the issue occurs with --preset 5 and 1-3 also.

additionally, 230A has introduced some crashes compared to 230 when encoding 720p at >LP4. this seems to always occur at the start of a minigop, but not always at the same place. crash is shown as a segfault/access violation. this also occurs at 1080p LP6 if you disable the condition that 1080p always encodes with LP5 settings, however 1080p LP5 has no problems. this may or may not be related to the determinism issues cause as it is also affected by LP.

@Ravice Ravice added the bug Something isn't working label Jan 15, 2025
@juliobbv-p
Copy link
Collaborator

I've landed a few psy-rd fixes in testing. @Ravice can you try encoding their problematic clips and see if the fixes solve this issue?

@Ravice
Copy link
Author

Ravice commented Jan 29, 2025

doesn't seem so. btw, this is not only on certain clips, it occurs on every clip i have tried.
bitrate does not vary much, but on inspection some clips are noticably better than others, with the deterministic LP1 being best

for reference though this was tested using the "sunflower_1080p25.y4m" test clip

  • LP 5

Svt[info]: -------------------------------------------
Svt[info]: SVT [version]: SVT-AV1-PSY Encoder Lib v2.3.0-A-22-g4c780195
Svt[info]: SVT [build] : Clang 18.1.8 64 bit
Svt[info]: LIB Build date: Jan 29 2025 14:10:37
Svt[info]: -------------------------------------------
Svt[warn]: Instance 1: The Subjective SSIM configuration is considered experimental at this stage. Keep in mind for benchmarking analysis that this configuration will likely harm metric performance.
Svt[info]: Level of Parallelism: 5
Svt[info]: Number of PPCS 140
Svt[info]: [asm level on system : up to avx2]
Svt[info]: [asm level selected : up to avx2]
Svt[info]: -------------------------------------------
Svt[info]: SVT [config]: main profile tier (auto) level (auto)
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1920 / 1080 / 25 / 1
Svt[info]: SVT [config]: bit-depth / color format : 10 / YUV420
Svt[info]: SVT [config]: preset / tune / pred struct : 6 / Subjective SSIM / random access
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 0 / 32 / key frame
Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 40.00
Svt[info]: SVT [config]: AQ mode / variance boost strength / octile / curve : 2 / 2 / 6 / regular
Svt[info]: SVT [config]: Sharpness / QP scale compress strength / Frame low-luma bias : 1 / 1 / 0
Svt[info]: SVT [config]: Temporal Filtering Strength / Noise Normalization Strength : 1 / 3
Svt[info]: SVT [config]: Keyframe TF Strength : 1
Svt[info]: SVT [config]: PSY-RD Strength : 1.00
Svt[info]: -------------------------------------------
Encoding: 350 Frames @ 21.66 fps | 849.55 kb/s | Time: 0:00:16 | Size: 2.12 MBOutput 500 frames in 16.87 seconds (29.64 fps)
Encoding: 500/500 Frames @ 26.51 fps | 1192.19 kb/s | Time: 0:00:19 [-0:00:00] | Size: 2.98 MB [2.98 MB]
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 2980485 1192.19 kbps
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 2978791 1191.52 kbps
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 2980962 1192.38 kbps

  • LP 1

Svt[info]: -------------------------------------------
Svt[info]: SVT [version]: SVT-AV1-PSY Encoder Lib v2.3.0-A-22-g4c780195
Svt[info]: SVT [build] : Clang 18.1.8 64 bit
Svt[info]: LIB Build date: Jan 29 2025 14:10:37
Svt[info]: -------------------------------------------
Svt[warn]: logical_processors will be deprecated in v3.0. Use level_of_parallelism instead. Input mapped to level_of_parallelism.
Svt[warn]: Instance 1: The Subjective SSIM configuration is considered experimental at this stage. Keep in mind for benchmarking analysis that this configuration will likely harm metric performance.
Svt[info]: Level of Parallelism: 1
Svt[info]: Number of PPCS 74
Svt[info]: [asm level on system : up to avx2]
Svt[info]: [asm level selected : up to avx2]
Svt[info]: -------------------------------------------
Svt[info]: SVT [config]: main profile tier (auto) level (auto)
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1920 / 1080 / 25 / 1
Svt[info]: SVT [config]: bit-depth / color format : 10 / YUV420
Svt[info]: SVT [config]: preset / tune / pred struct : 6 / Subjective SSIM / random access
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 0 / 32 / key frame
Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 40.00
Svt[info]: SVT [config]: AQ mode / variance boost strength / octile / curve : 2 / 2 / 6 / regular
Svt[info]: SVT [config]: Sharpness / QP scale compress strength / Frame low-luma bias : 1 / 1 / 0
Svt[info]: SVT [config]: Temporal Filtering Strength / Noise Normalization Strength : 1 / 3
Svt[info]: SVT [config]: Keyframe TF Strength : 1
Svt[info]: SVT [config]: PSY-RD Strength : 1.00
Svt[info]: -------------------------------------------
Encoding: 420 Frames @ 4.94 fps | 1039.46 kb/s | Time: 0:01:25 | Size: 2.59 MBOutput 500 frames in 85.41 seconds (5.85 fps)
Encoding: 500/500 Frames @ 5.26 fps | 1190.33 kb/s | Time: 0:01:35 [-0:00:00] | Size: 2.98 MB [2.98 MB]
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 2975831 1190.33 kbps
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 2975831 1190.33 kbps
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 2975831 1190.33 kbps

@juliobbv-p
Copy link
Collaborator

Thanks @Ravice for trying it out. It's clear that there's still work left to do to bring to full determinism. It's a challenge for someone who uses an Apple Silicon dev environment, as ARM devices never had fully-deterministic encodes even with mainline SVT-AV1. I'll see what I (or other dev teams) can do.

Are you still seeing crashes BTW?

@Ravice
Copy link
Author

Ravice commented Jan 30, 2025

@juliobbv-p tentatively seems as though the LP>4 720p crashes are fixed 👍 forced LP6 1080p also appears to be going strong.
granted those are only two medium-length clips, but they survived a single-instance run, whereas previously they barely survived certain avian chunks. will update if i encounter any in the future.

@Ravice
Copy link
Author

Ravice commented Jan 31, 2025

@juliobbv-p

update: SPY-RD is also nondeterministic at LP > 1

  • NO SPY LP5

Svt[info]: -------------------------------------------
Svt[info]: SVT [version]: SVT-AV1-PSY Encoder Lib v2.3.0-A-22-g4c780195
Svt[info]: SVT [build] : Clang 18.1.8 64 bit
Svt[info]: LIB Build date: Jan 29 2025 14:10:37
Svt[info]: -------------------------------------------
Svt[warn]: logical_processors will be deprecated in v3.0. Use level_of_parallelism instead. Input mapped to level_of_parallelism.
Svt[warn]: Instance 1: The Subjective SSIM configuration is considered experimental at this stage. Keep in mind for benchmarking analysis that this configuration will likely harm metric performance.
Svt[info]: Level of Parallelism: 5
Svt[info]: Number of PPCS 140
Svt[info]: [asm level on system : up to avx2]
Svt[info]: [asm level selected : up to avx2]
Svt[info]: -------------------------------------------
Svt[info]: SVT [config]: main profile tier (auto) level (auto)
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1920 / 1080 / 25 / 1
Svt[info]: SVT [config]: bit-depth / color format : 10 / YUV420
Svt[info]: SVT [config]: preset / tune / pred struct : 5 / Subjective SSIM / random access
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 0 / 32 / key frame
Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 37.00
Svt[info]: SVT [config]: AQ mode / variance boost strength / octile / curve : 2 / 2 / 6 / regular
Svt[info]: SVT [config]: Sharpness / QP scale compress strength / Frame low-luma bias : 1 / 1 / 0
Svt[info]: SVT [config]: Temporal Filtering Strength / Noise Normalization Strength : 1 / 3
Svt[info]: SVT [config]: Keyframe TF Strength : 1
Svt[info]: -------------------------------------------
Encoding: 349 Frames @ 14.91 fps | 960.89 kb/s | Time: 0:00:23 | Size: 2.40 MBOutput 500 frames in 24.14 seconds (20.71 fps)
Encoding: 500/500 Frames @ 17.30 fps | 1355.99 kb/s | Time: 0:00:29 [-0:00:00] | Size: 3.39 MB [3.39 MB]
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 3389972 1355.99 kbps
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 3389972 1355.99 kbps
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 3389972 1355.99 kbps

  • SPY LP 5

Svt[info]: -------------------------------------------
Svt[info]: SVT [version]: SVT-AV1-PSY Encoder Lib v2.3.0-A-22-g4c780195
Svt[info]: SVT [build] : Clang 18.1.8 64 bit
Svt[info]: LIB Build date: Jan 29 2025 14:10:37
Svt[info]: -------------------------------------------
Svt[warn]: logical_processors will be deprecated in v3.0. Use level_of_parallelism instead. Input mapped to level_of_parallelism.
Svt[warn]: Instance 1: The Subjective SSIM configuration is considered experimental at this stage. Keep in mind for benchmarking analysis that this configuration will likely harm metric performance.
Svt[info]: Level of Parallelism: 5
Svt[info]: Number of PPCS 140
Svt[info]: [asm level on system : up to avx2]
Svt[info]: [asm level selected : up to avx2]
Svt[info]: -------------------------------------------
Svt[info]: SVT [config]: main profile tier (auto) level (auto)
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1920 / 1080 / 25 / 1
Svt[info]: SVT [config]: bit-depth / color format : 10 / YUV420
Svt[info]: SVT [config]: preset / tune / pred struct : 5 / Subjective SSIM / random access
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 0 / 32 / key frame
Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 37.00
Svt[info]: SVT [config]: AQ mode / variance boost strength / octile / curve : 2 / 2 / 6 / regular
Svt[info]: SVT [config]: Sharpness / QP scale compress strength / Frame low-luma bias : 1 / 1 / 0
Svt[info]: SVT [config]: Temporal Filtering Strength / Noise Normalization Strength : 1 / 3
Svt[info]: SVT [config]: Keyframe TF Strength : 1
Svt[info]: SVT [config]: spy-rd : oui
Svt[info]: -------------------------------------------
Encoding: 350 Frames @ 14.71 fps | 1030.22 kb/s | Time: 0:00:24 | Size: 2.57 MBOutput 500 frames in 24.52 seconds (20.39 fps)
Encoding: 500/500 Frames @ 17.02 fps | 1454.33 kb/s | Time: 0:00:29 [-0:00:00] | Size: 3.64 MB [3.64 MB]
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 3635831 1454.33 kbps
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 3628191 1451.28 kbps
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 3628158 1451.26 kbps

  • SPY LP 1

Svt[info]: -------------------------------------------
Svt[info]: SVT [version]: SVT-AV1-PSY Encoder Lib v2.3.0-A-22-g4c780195
Svt[info]: SVT [build] : Clang 18.1.8 64 bit
Svt[info]: LIB Build date: Jan 29 2025 14:10:37
Svt[info]: -------------------------------------------
Svt[warn]: logical_processors will be deprecated in v3.0. Use level_of_parallelism instead. Input mapped to level_of_parallelism.
Svt[warn]: Instance 1: The Subjective SSIM configuration is considered experimental at this stage. Keep in mind for benchmarking analysis that this configuration will likely harm metric performance.
Svt[info]: Level of Parallelism: 1
Svt[info]: Number of PPCS 74
Svt[info]: [asm level on system : up to avx2]
Svt[info]: [asm level selected : up to avx2]
Svt[info]: -------------------------------------------
Svt[info]: SVT [config]: main profile tier (auto) level (auto)
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1920 / 1080 / 25 / 1
Svt[info]: SVT [config]: bit-depth / color format : 10 / YUV420
Svt[info]: SVT [config]: preset / tune / pred struct : 5 / Subjective SSIM / random access
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 0 / 32 / key frame
Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 37.00
Svt[info]: SVT [config]: AQ mode / variance boost strength / octile / curve : 2 / 2 / 6 / regular
Svt[info]: SVT [config]: Sharpness / QP scale compress strength / Frame low-luma bias : 1 / 1 / 0
Svt[info]: SVT [config]: Temporal Filtering Strength / Noise Normalization Strength : 1 / 3
Svt[info]: SVT [config]: Keyframe TF Strength : 1
Svt[info]: SVT [config]: spy-rd : oui
Svt[info]: -------------------------------------------
Encoding: 420 Frames @ 2.77 fps | 1268.86 kb/s | Time: 0:02:32 | Size: 3.17 MBOutput 500 frames in 152.06 seconds (3.29 fps)
Encoding: 500/500 Frames @ 2.91 fps | 1457.52 kb/s | Time: 0:02:52 [-0:00:00] | Size: 3.64 MB [3.64 MB]
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 3643809 1457.52 kbps
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 3643809 1457.52 kbps
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 3643809 1457.52 kbps

@juliobbv-p
Copy link
Collaborator

@Ravice interesting observations, as basically spy-rd boils down to a set of adjustments to distortion values based on block type and size, so I find it surprising that turning spy-rd on is causing nondeterministic behavior. Given that enable-tf also causes nondeterminism, there's probably some inherent brittleness where determinism in SVT-AV1 (on x86) is only guaranteed by certain hidden constraints that we're breaking with enable-tf 2, psy-rd, and/or spy-rd. Annoying.

By any chance, are the no-spy LP5 files binary identical, or just happen to be the same size?

@Ravice
Copy link
Author

Ravice commented Feb 2, 2025

LP1 files are binary identical, no-spy LP5 are also binary identical.

@BlueSwordM
Copy link
Collaborator

@Ravice --psy-rd>0 is now fully (hopefully) fixed!
Please try it out.

Maybe it'll have fixed --enable-tf 2 as well :P

@Ravice
Copy link
Author

Ravice commented Feb 3, 2025

@BlueSwordM

built testing ec65071 sadly, seems not.

  • PSYRD LP5

Svt[info]: -------------------------------------------
Svt[info]: SVT [version]: SVT-AV1-PSY Encoder Lib v2.3.0-B
Svt[info]: SVT [build] : Clang 18.1.8 64 bit
Svt[info]: LIB Build date: Feb 3 2025 15:05:48
Svt[info]: -------------------------------------------
Svt[warn]: logical_processors will be deprecated in v3.0. Use level_of_parallelism instead. Input mapped to level_of_parallelism.
Svt[warn]: Instance 1: The Subjective SSIM configuration is considered experimental at this stage. Keep in mind for benchmarking analysis that this configuration will likely harm metric performance.
Svt[info]: Level of Parallelism: 5
Svt[info]: Number of PPCS 140
Svt[info]: [asm level on system : up to avx2]
Svt[info]: [asm level selected : up to avx2]
Svt[info]: -------------------------------------------
Svt[info]: SVT [config]: main profile tier (auto) level (auto)
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1920 / 1080 / 25 / 1
Svt[info]: SVT [config]: bit-depth / color format : 10 / YUV420
Svt[info]: SVT [config]: preset / tune / pred struct : 5 / Subjective SSIM / random access
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 0 / 32 / key frame
Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 40.00
Svt[info]: SVT [config]: AQ mode / variance boost strength / octile / curve : 2 / 2 / 6 / regular
Svt[info]: SVT [config]: Sharpness / QP scale compress strength / Frame low-luma bias : 1 / 1 / 0
Svt[info]: SVT [config]: Temporal Filtering Strength / Noise Normalization Strength : 1 / 3
Svt[info]: SVT [config]: Keyframe TF Strength : 1
Svt[info]: SVT [config]: PSY-RD Strength : 1.00
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 2875785 1150.31 kbps
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 2873511 1149.40 kbps
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 2876827 1150.73 kbps

  • PSYRD LP1

Svt[info]: Level of Parallelism: 1
Svt[info]: SVT [config]: PSY-RD Strength : 1.00
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 2876260 1150.50 kbps
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 2876260 1150.50 kbps
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 2876260 1150.50 kbps

-TP2 LP5

Svt[info]: Level of Parallelism: 1
Svt[info]: SVT [config]: Temporal Filtering Strength / Noise Normalization Strength : auto / 3
Svt[info]: SVT [config]: Keyframe TF Strength : auto
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 2866744 1146.70 kbps
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 2851524 1140.61 kbps
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
500 25.00 fps 2853906 1141.56 kbps

@BlueSwordM
Copy link
Collaborator

@BlueSwordM

built testing ec65071 sadly, seems not.

* PSYRD LP5

Svt[info]: ------------------------------------------- Svt[info]: SVT [version]: SVT-AV1-PSY Encoder Lib v2.3.0-B Svt[info]: SVT [build] : Clang 18.1.8 64 bit Svt[info]: LIB Build date: Feb 3 2025 15:05:48 Svt[info]: ------------------------------------------- Svt[warn]: logical_processors will be deprecated in v3.0. Use level_of_parallelism instead. Input mapped to level_of_parallelism. Svt[warn]: Instance 1: The Subjective SSIM configuration is considered experimental at this stage. Keep in mind for benchmarking analysis that this configuration will likely harm metric performance. Svt[info]: Level of Parallelism: 5 Svt[info]: Number of PPCS 140 Svt[info]: [asm level on system : up to avx2] Svt[info]: [asm level selected : up to avx2] Svt[info]: ------------------------------------------- Svt[info]: SVT [config]: main profile tier (auto) level (auto) Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1920 / 1080 / 25 / 1 Svt[info]: SVT [config]: bit-depth / color format : 10 / YUV420 Svt[info]: SVT [config]: preset / tune / pred struct : 5 / Subjective SSIM / random access Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 0 / 32 / key frame Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 40.00 Svt[info]: SVT [config]: AQ mode / variance boost strength / octile / curve : 2 / 2 / 6 / regular Svt[info]: SVT [config]: Sharpness / QP scale compress strength / Frame low-luma bias : 1 / 1 / 0 Svt[info]: SVT [config]: Temporal Filtering Strength / Noise Normalization Strength : 1 / 3 Svt[info]: SVT [config]: Keyframe TF Strength : 1 Svt[info]: SVT [config]: PSY-RD Strength : 1.00 SUMMARY --------------------------------- Channel 1 -------------------------------- Total Frames Frame Rate Byte Count Bitrate 500 25.00 fps 2875785 1150.31 kbps SUMMARY --------------------------------- Channel 1 -------------------------------- Total Frames Frame Rate Byte Count Bitrate 500 25.00 fps 2873511 1149.40 kbps SUMMARY --------------------------------- Channel 1 -------------------------------- Total Frames Frame Rate Byte Count Bitrate 500 25.00 fps 2876827 1150.73 kbps

* PSYRD LP1

Svt[info]: Level of Parallelism: 1 Svt[info]: SVT [config]: PSY-RD Strength : 1.00 SUMMARY --------------------------------- Channel 1 -------------------------------- Total Frames Frame Rate Byte Count Bitrate 500 25.00 fps 2876260 1150.50 kbps SUMMARY --------------------------------- Channel 1 -------------------------------- Total Frames Frame Rate Byte Count Bitrate 500 25.00 fps 2876260 1150.50 kbps SUMMARY --------------------------------- Channel 1 -------------------------------- Total Frames Frame Rate Byte Count Bitrate 500 25.00 fps 2876260 1150.50 kbps

-TP2 LP5

Svt[info]: Level of Parallelism: 1 Svt[info]: SVT [config]: Temporal Filtering Strength / Noise Normalization Strength : auto / 3 Svt[info]: SVT [config]: Keyframe TF Strength : auto SUMMARY --------------------------------- Channel 1 -------------------------------- Total Frames Frame Rate Byte Count Bitrate 500 25.00 fps 2866744 1146.70 kbps SUMMARY --------------------------------- Channel 1 -------------------------------- Total Frames Frame Rate Byte Count Bitrate 500 25.00 fps 2851524 1140.61 kbps SUMMARY --------------------------------- Channel 1 -------------------------------- Total Frames Frame Rate Byte Count Bitrate 500 25.00 fps 2853906 1141.56 kbps

Wow, that is an immense improvement in terms of consistency for psy-rd compared to what we experienced before.
I'm not surprised the new parallelism changes in SVT-AV1 >=2.3.0 are rearing their ugly head here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants