<@U07AK4V9L0K> here's a PR to read video frames in...
# daft-dev
r
@Desmond Cheong here's a PR to read video frames into a DataFrame using a custom source. It has support for reading directly from youtube, and you can specify a list of video URLs.. https://github.com/Eventual-Inc/Daft/pull/4979
Copy code
df = daft.read_video_frames(
    path="https://www.youtube.com/watch?v=jNQXAC9IVRw",
    image_height=480,
    image_width=640,
    is_key_frame=True,
)
🙌 3
daft party 1
a
Wow, this is so cool!
r
Thanks 🙂 If you set
is_key_frame=True
it's quite effective at leveraging video encodings to get unique frames. You can then embed those unique frames before doing any inference. Being able to cut out all the redundant frames is a huge help before computing the embeddings.
a
Nice, thanks for sharing 🙇
j
😮 this is pretty dope... cc @YK Sugi maybe
👀 2