removing quotes on ffmpeg command (#822)

This commit is contained in:
Terrance Wang authored and GitHub committed 2022-10-22 20:06:25 -07:00
1 parent d824040ade
commit 3652d3112f
1 file changed
+1 -1
+1 -1
View File
@@ -164,7 +164,7 @@ def convert_video_to_images(
spacing = num_frames // num_frames_target
if spacing > 1:
ffmpeg_cmd += f" -vf 'thumbnail={spacing},setpts=N/TB' -r 1"
ffmpeg_cmd += f" -vf thumbnail={spacing},setpts=N/TB -r 1"
else:
CONSOLE.print("[bold red]Can't satify requested number of frames. Extracting all frames.")