Replace ffmpeg string with FFMPEG variable

This commit is contained in:
CodeName393
2025-12-31 19:27:10 +09:00
committed by GitHub
parent dc9823cd28
commit 197fe76f7a

View File

@@ -8,7 +8,7 @@ from pathlib import Path
from rich.padding import Padding from rich.padding import Padding
from rich.rule import Rule from rich.rule import Rule
from unshackle.core.binaries import DoviTool, HDR10PlusTool from unshackle.core.binaries import FFMPEG, DoviTool, HDR10PlusTool
from unshackle.core.config import config from unshackle.core.config import config
from unshackle.core.console import console from unshackle.core.console import console
@@ -109,7 +109,7 @@ class Hybrid:
"""Simple ffmpeg execution without progress tracking""" """Simple ffmpeg execution without progress tracking"""
p = subprocess.run( p = subprocess.run(
[ [
"ffmpeg", str(FFMPEG),
"-nostdin", "-nostdin",
"-i", "-i",
str(save_path), str(save_path),