fixing video to frames ffmpeg config parsing order error

This commit is contained in:
k4yt3x 2019-06-09 21:31:13 -04:00
parent 0f4daa12d2
commit 6b3e1b9768

View File

@ -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)