Skip to content

media: seek independent ProRes pictures in indexless AVI (#778) - #4047

Merged
dylanmtaylor merged 3 commits into
storytold:mainfrom
FredApps:fix/778-indexless-avi-prores-seek
Nov 21, 2026
Merged

dylanmtaylor merged 3 commits into
storytold:mainfrom
FredApps:fix/778-indexless-avi-prores-seek

Conversation

@FredApps

Copy link
Copy Markdown
Contributor

Part of storytold/craft-libs#778 and #781. Scoped claim; follows #4035.

When an AVI video stream has no reliable keyframe flags, the shared reader currently starts decoding at the first chunk. Each nonempty ProRes picture is independent, so read the requested picture directly in that case. A request for a bad picture still returns an error. Indexed AVI, other codecs, empty slots, audio, duration, and alpha metadata keep their existing paths. This improves the shared reader; it is not a change to FilmCraft fallback.

The generated test uses an indexed control and the same pictures without an index. It checks the scan path, a cold seek past a bad first chunk, exact luma/alpha and timestamps, the error for the bad picture, and successful reads after the error and on a backward seek.

Source reviewed; hosted validation pending.

@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

Clippy (1.99.1)

Clippy execution timed out
Clippy (1.99.1) exceeded its 180-second time budget. Findings from completed work are retained; remaining checks are incomplete.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@dylanmtaylor
dylanmtaylor marked this pull request as ready for review November 21, 2026 18:01
@dylanmtaylor
dylanmtaylor merged commit 951c8b4 into storytold:main Nov 21, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants