sunilchm commited on
Commit
48199ea
·
1 Parent(s): 4f7b289

add .mov file format

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ def process_video_in_background(video_data: bytes, video_guid: str, filename: st
71
  except Exception as e:
72
  print(f"DB Error on video insert: {str(e)}")
73
  return
74
- with tempfile.NamedTemporaryFile(delete=False, suffix=".mp4") as temp_video_file:
75
  temp_video_file.write(video_data)
76
  temp_path = temp_video_file.name
77
  cap = cv2.VideoCapture(temp_path)
 
71
  except Exception as e:
72
  print(f"DB Error on video insert: {str(e)}")
73
  return
74
+ with tempfile.NamedTemporaryFile(delete=False, suffix=".mov") as temp_video_file:
75
  temp_video_file.write(video_data)
76
  temp_path = temp_video_file.name
77
  cap = cv2.VideoCapture(temp_path)