(input_file)
| 163 | |
| 164 | |
| 165 | def 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 |
no outgoing calls
no test coverage detected