-
Notifications
You must be signed in to change notification settings - Fork 368
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
Conversation
262c5ec
to
a8fe2d2
Compare
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!) |
@@ -75,6 +75,24 @@ impl VideoData { | |||
} | |||
} | |||
|
|||
// Generate data for `test_latest_sample_index_at_presentation_timestamp` test. | |||
// re_log::info!( |
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.
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) |
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.
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
#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`.
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
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
.