Skip to content

rtc: Add 1-pass scene detection and CBR RC adjustments - #5499

Merged
urvangjoshi merged 1 commit into
AOMediaCodec:av2-encfrom
marpan-max:rtc_scene_det
Oct 6, 2026
Merged

urvangjoshi merged 1 commit into
AOMediaCodec:av2-encfrom
marpan-max:rtc_scene_det

Conversation

@marpan-max

Copy link
Copy Markdown
Contributor

Add realtime speed features check_scene_detection and overshoot_detection_cbr (enabled for speed >= 6) to detect scene/slide changes before encoding and update 1-pass CBR rate control on high_source_sad frames.

Stats changed for realtime CBR mode:
~0.4/0.7% bdrate gain on rtc_derf/rtc sets,
~neutral speed change.
Reduces severe overshoot on slide/scene changes.

Comment thread av2/encoder/ratectrl.c Outdated
Comment thread av2/encoder/ratectrl.c Outdated
Comment thread av2/encoder/ratectrl.c Outdated
Comment thread av2/encoder/ratectrl.c Outdated
Comment thread av2/encoder/ratectrl.c Outdated
@marpan-max
marpan-max force-pushed the rtc_scene_det branch 2 times, most recently from 1d1da2b to 56baefa Compare October 6, 2026 19:08
Add realtime speed features check_scene_detection and
overshoot_detection_cbr (enabled for speed >= 6) to detect
scene/slide changes before encoding and update 1-pass CBR
rate control on high_source_sad frames.

Stats changed for realtime CBR mode:
~0.4/0.7% bdrate gain on rtc_derf/rtc sets,
~neutral speed change.
Reduces severe overshoot on slide/scene changes.
@urvangjoshi
urvangjoshi merged commit cade871 into AOMediaCodec:av2-enc Oct 6, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants