Skip to content

Instantly share code, notes, and snippets.

@master-of-zen
Last active February 14, 2021 00:07
Show Gist options
  • Save master-of-zen/1405121765477e821717eeaf74484d94 to your computer and use it in GitHub Desktop.
Save master-of-zen/1405121765477e821717eeaf74484d94 to your computer and use it in GitHub Desktop.

rav1e --rdo-lookahead-frames

Motivation:

Make fastest speed setting even faster with reasonable trade-off

Benchmarks:

Default lookahead value: 40

Speed: 10

lookahead value time diff bd-rate diff AWCY link
30 ~-2% ~0.3% Link
20 ~-6.5% ~0.6% Link
10 ~-12% ~1.2% Link

In addition I run long sequence to see how low rdo-lookahed will behave on long sequence.

Source:

Sample of youtube video, first scene on the beach.

1080p 60fps 10 bit 360 frames

Commands:

rav1e -s 10 --threads 1

rav1e -s 10 --threads 1 --rdo-lookagead-frames 10

Results in time:

1045s|837s 20% time decrease.

In addition to that total memory consumption of low rdo lookahead was half the default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment