video_input_local_file_upload.py
Run the Example
1
Set up your virtual environment
2
Install dependencies
3
Export your Google API key
4
Add the sample video
Place an MP4 named
sample_video.mp4 next to the saved script, or update video_path to point to your video file.5
Run the example
Save the code above as
video_input_local_file_upload.py, then run: