Spanicin commited on
Commit
f03ded0
·
verified ·
1 Parent(s): 33797e3

Update src/utils/paste_pic.py

Browse files
Files changed (1) hide show
  1. src/utils/paste_pic.py +1 -1
src/utils/paste_pic.py CHANGED
@@ -51,7 +51,7 @@ def paste_pic(video_path, pic_path, crop_info, new_audio_path, full_video_path):
51
 
52
 
53
  tmp_path = str(uuid.uuid4())+'.mp4'
54
- out_tmp = cv2.VideoWriter(tmp_path, cv2.VideoWriter_fourcc(*'XVID'), fps, (frame_w, frame_h))
55
  for crop_frame in tqdm(crop_frames, 'seamlessClone:'):
56
  p = cv2.resize(crop_frame.astype(np.uint8), (crx-clx, cry - cly))
57
 
 
51
 
52
 
53
  tmp_path = str(uuid.uuid4())+'.mp4'
54
+ out_tmp = cv2.VideoWriter(tmp_path, cv2.VideoWriter_fourcc(*'mp4v'), fps, (frame_w, frame_h))
55
  for crop_frame in tqdm(crop_frames, 'seamlessClone:'):
56
  p = cv2.resize(crop_frame.astype(np.uint8), (crx-clx, cry - cly))
57