mirror of
https://github.com/k4yt3x/video2x.git
synced 2025-01-01 10:29:09 +00:00
fixed FFmpeg configuration key
This commit is contained in:
parent
f2ba6033b7
commit
98a7fbf9cb
@ -37,7 +37,7 @@ class Ffmpeg:
|
|||||||
# video metadata
|
# video metadata
|
||||||
self.image_format = image_format
|
self.image_format = image_format
|
||||||
self.intermediate_file_name = pathlib.Path(self.ffmpeg_settings['intermediate_file_name'])
|
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):
|
def get_pixel_formats(self):
|
||||||
""" Get a dictionary of supported pixel formats
|
""" Get a dictionary of supported pixel formats
|
||||||
|
Loading…
Reference in New Issue
Block a user