iejMac / clip-video-encode

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

pass through mp4 in input_format="webdataset" #65

Closed iejMac closed 1 year ago

iejMac commented 1 year ago

just edit this https://github.com/iejMac/clip-video-encode/blob/9c628b31e0606eb180f83d85fea47612bebf1c40/clip_video_encode/clip_video_encode.py#L73

to also read key.mp4 and put that in the metadata then in reader if "mp4" is a key in the metadata, pop it off and write that too