From 98a7fbf9cb3fd0143cb956defb77e355c5262cd8 Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Wed, 13 May 2020 02:43:22 -0400 Subject: [PATCH] fixed FFmpeg configuration key --- src/wrappers/ffmpeg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrappers/ffmpeg.py b/src/wrappers/ffmpeg.py index 8c940a4..50c02a8 100644 --- a/src/wrappers/ffmpeg.py +++ b/src/wrappers/ffmpeg.py @@ -37,7 +37,7 @@ class Ffmpeg: # video metadata self.image_format = image_format self.intermediate_file_name = pathlib.Path(self.ffmpeg_settings['intermediate_file_name']) - self.pixel_format = self.ffmpeg_settings['input_to_frames']['output_options']['-pix_fmt'] + self.pixel_format = self.ffmpeg_settings['extract_frames']['output_options']['-pix_fmt'] def get_pixel_formats(self): """ Get a dictionary of supported pixel formats