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

Fix issues with seeking in some H.264 videos on native & web #8111

Merged
merged 7 commits into from
Nov 13, 2024

Conversation

Wumpf
Copy link
Member

@Wumpf Wumpf commented Nov 13, 2024

What

Updates re_mp4 to 0.3.0, details of fixes see https://github.com/rerun-io/re_mp4/releases/tag/0.3.0

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.

@Wumpf Wumpf force-pushed the andreas/mp4-update branch from 262c5ec to a8fe2d2 Compare November 13, 2024 10:11
@Wumpf Wumpf added 📺 re_viewer affects re_viewer itself 🪳 bug Something isn't working labels Nov 13, 2024
@Wumpf Wumpf marked this pull request as ready for review November 13, 2024 10:37
@Wumpf
Copy link
Member Author

Wumpf commented Nov 13, 2024

Tested the "oscilloscope video" on Web: Works but Firefox still struggles with bframe stepping (there's a separate issue about this), fine in Chrome though (wasn't before!)

@emilk emilk self-requested a review November 13, 2024 11:06
@@ -75,6 +75,24 @@ impl VideoData {
}
}

// Generate data for `test_latest_sample_index_at_presentation_timestamp` test.
// re_log::info!(
Copy link
Member

Choose a reason for hiding this comment

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

If you use if false { instead the code won't code-rot

@@ -113,7 +113,9 @@ fn video_data_ui(ui: &mut egui::Ui, ui_layout: UiLayout, video_data: &VideoData)
.value_text(video_data.gops.len().to_string()),
)
.on_hover_text("The total number of Group of Pictures (GOPs) in the video.");
samples_statistics_ui(ui, &video_data.samples_statistics);
ui.list_item_flat_noninteractive(
PropertyContent::new("All PTS equal DTS").value_bool(video_data.samples_statistics.dts_always_equal_pts)
Copy link
Member

Choose a reason for hiding this comment

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

It would be nice to destruct samples_statistics here so that if we add new fields to it, we remember to also add a UI for it

emilk pushed a commit that referenced this pull request Nov 13, 2024
#8117)

### What

* part of #8073

Tested on top of #8111 in Chrome @
Windows with a video that would previously not show the last two frames.


![image](https://github.com/user-attachments/assets/f804cc94-3870-46a9-a58d-6d4daf76f677)

### 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/8117?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/8117?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/8117)
- [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`.
@emilk emilk merged commit d12a6fb into main Nov 13, 2024
37 checks passed
@emilk emilk deleted the andreas/mp4-update branch November 13, 2024 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working include in changelog 📺 re_viewer affects re_viewer itself 🎞️ video
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem time-stepping some videos
2 participants