Skip to content

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

Merged
emilk merged 7 commits intomainfrom
andreas/mp4-update
Nov 13, 2024
Merged

Fix issues with seeking in some H.264 videos on native & web#8111
emilk merged 7 commits intomainfrom
andreas/mp4-update

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 include in changelog feat-video anything video decoding, player, querying, data modelling of videos etc. labels Nov 13, 2024
@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
}

// 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

.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
@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 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.

Problem time-stepping some videos

2 participants