Skip to content

[python] Reduce unnecessary GOP prefetch for random video reads - #10818

Draft
XiaoHongbo-Hope wants to merge 1 commit into
apache:masterfrom
XiaoHongbo-Hope:python-tight-video-prefetch
Draft

XiaoHongbo-Hope wants to merge 1 commit into
apache:masterfrom
XiaoHongbo-Hope:python-tight-video-prefetch

Conversation

@XiaoHongbo-Hope

Copy link
Copy Markdown
Contributor

Purpose

Reduce unnecessary video prefetch during indexed random frame reads.

Changes

Prefetch the target GOP instead of also fetching its preceding and following GOPs. The range-backed stream continues to fetch additional decoder dependencies on demand, including B-frame dependencies. No format or API changes.

Validation

9 focused tests passed, including real B-frame and fragmented MP4 decoding, imported-video training reads, and sparse range reads.

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.

1 participant