From 1506b075cbc9b05d52025f4d311efc4db1aac22e Mon Sep 17 00:00:00 2001 From: K4YT3X Date: Tue, 26 Feb 2019 22:48:47 -0500 Subject: [PATCH] 1.0.2: changed default ffmpeg hwaccel to auto --- bin/config_generator.py | 8 ++++---- bin/video2x_setup.py | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bin/config_generator.py b/bin/config_generator.py index e0f3812..ca69aeb 100755 --- a/bin/config_generator.py +++ b/bin/config_generator.py @@ -4,7 +4,7 @@ Name: Video2x Config Generator Author: K4YT3X Date Created: October 23, 2018 -Last Modified: February 8, 2019 +Last Modified: February 26, 2019 Licensed under the GNU General Public License Version 3 (GNU GPL v3), available at: https://www.gnu.org/licenses/gpl-3.0.txt @@ -15,7 +15,7 @@ from avalon_framework import Avalon import json import os -VERSION = '1.0.1' +VERSION = '1.0.2' def get_path(text): @@ -42,9 +42,9 @@ def enroll_settings(): else: break - settings['ffmpeg_hwaccel'] = Avalon.gets('ffmpeg hardware acceleration method (cuda): ') + settings['ffmpeg_hwaccel'] = Avalon.gets('ffmpeg hardware acceleration method (auto): ') if settings['ffmpeg_hwaccel'] == '': - settings['ffmpeg_hwaccel'] = 'cuda' + settings['ffmpeg_hwaccel'] = 'auto' settings['extracted_frames'] = Avalon.gets('Temporary directory for extracted frames (empty for mkdtemp): ') if settings['extracted_frames'] == '': diff --git a/bin/video2x_setup.py b/bin/video2x_setup.py index 3a95401..a133ad2 100755 --- a/bin/video2x_setup.py +++ b/bin/video2x_setup.py @@ -4,7 +4,7 @@ Name: Video2X Setup Script Author: K4YT3X Date Created: November 28, 2018 -Last Modified: February 8, 2019 +Last Modified: February 26, 2019 Licensed under the GNU General Public License Version 3 (GNU GPL v3), available at: https://www.gnu.org/licenses/gpl-3.0.txt @@ -31,7 +31,7 @@ import zipfile # later in the script. # import requests -VERSION = '1.0.1' +VERSION = '1.0.2' class Video2xSetup: @@ -114,7 +114,7 @@ class Video2xSetup: settings['waifu2x_path'] = '{}\\video2x\\waifu2x-caffe\\waifu2x-caffe-cui.exe'.format(os.getenv('localappdata')) settings['ffmpeg_path'] = '{}\\video2x\\ffmpeg-4.1-win64-static\\bin'.format(os.getenv('localappdata')) settings['ffmpeg_arguments'] = [] - settings['ffmpeg_hwaccel'] = 'cuda' + settings['ffmpeg_hwaccel'] = 'auto' settings['extracted_frames'] = False settings['upscaled_frames'] = False settings['preserve_frames'] = False