Closed hn91 closed 2 years ago
code: video_to_frames_command = ["ffmpeg", #line31
'-y', '-i', video, # input file '-vf', "scale=10000:7000", # input file '-qscale:v', "2", # quality for JPEG '{0}/%06d.jpg'.format(dst)] subprocess.call(video_to_frames_command, stdout=ffmpeg_log, stderr=ffmpeg_log) #line 39
0%| | 0/7010 [00:00<?, ?it/s] Traceback (most recent call last): File "D:/Pycharm/prog/prepro_feats.py", line 120, in extract_feats(params, model, load_image_fn) File "D:/Pycharm/prog/prepro_feats.py", line 59, in extract_feats extract_frames(video, dst) File "D:/Pycharm/prog/prepro_feats.py", line 39, in extract_frames stdout=ffmpeg_log, stderr=ffmpeg_log) FileNotFoundError: [WinError 2]
code: video_to_frames_command = ["ffmpeg", #line31
(optional) overwrite output file if it exists
0%| | 0/7010 [00:00<?, ?it/s] Traceback (most recent call last): File "D:/Pycharm/prog/prepro_feats.py", line 120, in
extract_feats(params, model, load_image_fn)
File "D:/Pycharm/prog/prepro_feats.py", line 59, in extract_feats
extract_frames(video, dst)
File "D:/Pycharm/prog/prepro_feats.py", line 39, in extract_frames
stdout=ffmpeg_log, stderr=ffmpeg_log)
FileNotFoundError: [WinError 2]