Skip to content

Conversation

RunDevelopment
Copy link
Member

This moves the video loading logic into 2 classes: VideoMetadata and VideoLoader. VideoMetadata is powered by ffprobe and gets metadata like frame width and frame height. VideoLoader basically just returns an iterators for all frames in the video.

I also added a bit of type checking for ffmpeg_reader and used a with block for resource safety.

@joeyballentine joeyballentine merged commit 03677e6 into chaiNNer-org:main Feb 26, 2024
@RunDevelopment RunDevelopment deleted the load-video branch February 27, 2024 01:09
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.

2 participants