iejMac / clip-video-encode

Easily compute clip embeddings from video frames
MIT License
136 stars 19 forks source link

Asynchronously Load, Encode, and Save videos for efficiency #4

Closed iejMac closed 2 years ago

iejMac commented 2 years ago

Idea:

  1. "Loader" always adds frames to some shared data structure
  2. "Encoder" watches this DS for full batches, encodes them, and saves embeddings to proper locations
  3. "Saver" saves full videos