- # Old way is MUCH slower
- # # https://superuser.com/questions/1250900/freeze-last-frame-of-a-video-with-ffmpeg
- # args = ['ffmpeg',
- # '-f', 'lavfi',
- # '-i', 'nullsrc=s=' + getRes(fVideoStream) + ':d=' + str(freeze_s),
- # '-i', fVideoStream,
- # '-filter_complex', '[0:v][1:v]overlay[video]',
- # '-map', '[video]',
- # '-shortest',
- # fVideoStreamOut]
- #
- # subprocess.run(args, check=True)