in finealignment/video_alignment.py [0:0]
def download_video_from_s3(video_key, local_path):
try:
s3_client.download_file(bucket_name, video_key, local_path)
print(f"Downloaded {video_key} to {local_path}")
return True
except Exception as e:
print(f"Failed to download {video_key} from S3: {e}")
return False