From 91ac512d574619a7349c651b4c9358e63f33135d Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Sat, 19 Oct 2019 21:52:31 -0400 Subject: [PATCH] remove .exe extension for Linux compatibility --- src/ffmpeg.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 src/ffmpeg.py diff --git a/src/ffmpeg.py b/src/ffmpeg.py old mode 100644 new mode 100755 index 17bbc61..60e2a1b --- a/src/ffmpeg.py +++ b/src/ffmpeg.py @@ -4,7 +4,7 @@ Name: Video2X FFmpeg Controller Author: K4YT3X Date Created: Feb 24, 2018 -Last Modified: August 15, 2019 +Last Modified: October 6, 2019 Description: This class handles all FFmpeg related operations. """ @@ -30,8 +30,8 @@ class Ffmpeg: self.ffmpeg_settings = ffmpeg_settings self.ffmpeg_path = pathlib.Path(self.ffmpeg_settings['ffmpeg_path']) - self.ffmpeg_binary = self.ffmpeg_path / 'ffmpeg.exe' - self.ffmpeg_probe_binary = self.ffmpeg_path / 'ffprobe.exe' + self.ffmpeg_binary = self.ffmpeg_path / 'ffmpeg' + self.ffmpeg_probe_binary = self.ffmpeg_path / 'ffprobe' self.image_format = image_format self.pixel_format = None