From 6b3e1b97680e8017f11ae30a3a36de43ebb1c308 Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Sun, 9 Jun 2019 21:31:13 -0400 Subject: [PATCH] fixing video to frames ffmpeg config parsing order error --- bin/ffmpeg.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/ffmpeg.py b/bin/ffmpeg.py index cba3333..91daf55 100644 --- a/bin/ffmpeg.py +++ b/bin/ffmpeg.py @@ -82,12 +82,15 @@ class Ffmpeg: execute.extend([ '-i', - input_video, - f'{extracted_frames}\\extracted_%0d.{self.image_format}' + input_video ]) execute.extend(self._read_configuration(phase='video_to_frames', section='output_options')) + execute.extend([ + f'{extracted_frames}\\extracted_%0d.{self.image_format}' + ]) + execute.extend(self._read_configuration(phase='video_to_frames')) self._execute(execute)