-
Notifications
You must be signed in to change notification settings - Fork 334
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
Native video support for AV1 #7557
Conversation
Deployed docs
|
a03b115
to
d98b785
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
preliminary round or reviewing. excited about this!
@@ -0,0 +1,268 @@ | |||
//! Video demultiplexing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
todo note to self: review this later again, checking what has moved / is new etc.. This stuff changed quite a bit so there's a risk of regressing progress, should keep an eye on this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can make a separate PR where I just move the code on main, and then we can rebase and compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
much simpler decoder now, nice!
Looking good, but I stick with my usual line of complaining about seqcst: Seqcst is a bad default and hard to deal with imho (Mara has a really nice section about that in her book if you want to learn more check https://marabos.nl/atomics/memory-ordering.html#common-misconceptions -> Myth: Sequentially consistent memory ordering is a great default and is always correct.
)
# Conflicts: # crates/store/re_video/src/lib.rs # crates/store/re_video/src/mp4.rs # crates/viewer/re_viewer_context/src/cache/video_cache.rs
What
What
Supports native decoding of AV1 videos.
Downsides: it is extremely slow in debug builds
In release builds it is ok, but there is still A LOT of performance on the table.
TODO before merging
nasm
topixi.toml
, because it is needed to compilerav1d
rav1d
opt-in so users don't neednasm
to compilererun
rav1d
is difficult on some platformsFix performance of debug builds, if possibledav1d
is always fast, butrav1d
is super-slow in debug buildsProof
native-video.mp4
Checklist
main
build: rerun.io/viewernightly
build: rerun.io/viewerCHANGELOG.md
and the migration guideTo run all checks from
main
, comment on the PR with@rerun-bot full-check
.