Skip to content

Fix view creation heuristics for videos#7869

Merged
Wumpf merged 1 commit intomainfrom
emilk/fix-video-heuristics
Oct 23, 2024
Merged

Fix view creation heuristics for videos#7869
Wumpf merged 1 commit intomainfrom
emilk/fix-video-heuristics

Conversation

@emilk
Copy link
Member

@emilk emilk commented Oct 23, 2024

What

This is now feasible thanks to @jprochazk's

image

Checklist

  • I have read and agree to Contributor Guide and the Code of Conduct
  • I've included a screenshot or gif (if applicable)
  • I have tested the web demo (if applicable):
  • The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
  • If applicable, add a new check to the release checklist!
  • If have noted any breaking changes to the log API in CHANGELOG.md and the migration guide

To run all checks from main, comment on the PR with @rerun-bot full-check.

Ensures each video gets its own space-view.

* Closes #7821
@emilk emilk added 📺 re_viewer affects re_viewer itself include in changelog feat-video anything video decoding, player, querying, data modelling of videos etc. labels Oct 23, 2024
Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was curious if this is viable for very large videos as well, so I put a 10gb file into the benchmark @jprochazk wrote. 6ms on my mac on a battery! 🚢

@Wumpf Wumpf merged commit 5324889 into main Oct 23, 2024
@Wumpf Wumpf deleted the emilk/fix-video-heuristics branch October 23, 2024 07:33
@Wumpf Wumpf changed the title Fix space-view heuristics for videos Fix view creation heuristics for videos Nov 11, 2024
emilk added a commit that referenced this pull request Nov 12, 2024
### What
* Closes #7821

My previous "fix" in #7869 only
solved the problems for videos with different dimensions. This solves
the problem for all videos.

### Checklist
* [x] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)
* [x] I've included a screenshot or gif (if applicable)
* [x] I have tested the web demo (if applicable):
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/8085?manifest_url=https://app.rerun.io/version/main/examples_manifest.json)
* Using full set of examples from `nightly` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/8085?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json)
* [x] The PR title and labels are set such as to maximize their
usefulness for the next release's CHANGELOG
* [x] If applicable, add a new check to the [release
checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)!
* [x] If have noted any breaking changes to the log API in
`CHANGELOG.md` and the migration guide

- [PR Build Summary](https://build.rerun.io/pr/8085)
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)

To run all checks from `main`, comment on the PR with `@rerun-bot
full-check`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat-video anything video decoding, player, querying, data modelling of videos etc. include in changelog 📺 re_viewer affects re_viewer itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants