MCPcopy
hub / github.com/CiaraStrawberry/TemporalKit / convert_video_to_bytes

Function convert_video_to_bytes

scripts/Berry_Method.py:165–172  ·  view source on GitHub ↗
(input_file)

Source from the content-addressed store, hash-verified

163
164
165def convert_video_to_bytes(input_file):
166 # Read the uploaded video file
167 print(f"reading video file... {input_file}")
168 with open(input_file, "rb") as f:
169 video_bytes = f.read()
170
171 # Return the processed video bytes (or any other output you want)
172 return video_bytes
173
174
175

Callers 4

process_video_batchFunction · 0.70
process_video_singleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected