Skip to content
This repository was archived by the owner on Nov 27, 2024. It is now read-only.

Video Stream Support #120

Merged
merged 3 commits into from
Feb 18, 2024
Merged

Video Stream Support #120

merged 3 commits into from
Feb 18, 2024

Conversation

saddam213
Copy link
Member

@saddam213 saddam213 commented Feb 18, 2024

Upscale and StableDiffusion video pipelines use a large amount of RAM if the video resolution is large or it has a long duration.

At the moment video processing is buffered as we load all frames into RAM, this PR will introduce some methods to stream a video from disk frame by frame while writing each frame back to disk. This will reduce ram usage to a single input and output frame instead of full input + output video size.

Tasks:

  • Video stream methods
  • Upscale video stream
  • Feature Extractor video stream
  • StableDiffusion video stream

This should also enable live streaming via webcam in theory

@saddam213 saddam213 merged commit 2ad5ae0 into master Feb 18, 2024
@saddam213 saddam213 deleted the Stream branch February 18, 2024 03:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant