mirror of
https://github.com/NohamR/OqeeRewind.git
synced 2026-11-25 15:29:46 +00:00
Add mp4ff verification and OUTPUT_DIR support
This commit is contained in:
1 parent
3fb0349143
commit
86d73b149c
4 files changed
+18
-5
No files matched your search
@@ -2,6 +2,17 @@ import os
|
||||
import sys
|
||||
import logging
|
||||
import subprocess
|
||||
import shutil
|
||||
|
||||
|
||||
def verify_mp4ff():
|
||||
"""Verify if mp4ff-decrypt is installed and available in PATH."""
|
||||
if shutil.which("mp4ff-decrypt") is None:
|
||||
print("❌ Error: mp4ff-decrypt is not installed or not in PATH.")
|
||||
print("Please install it using:")
|
||||
print("go install github.com/Eyevinn/mp4ff/cmd/mp4ff-decrypt@latest")
|
||||
sys.exit(1)
|
||||
return True
|
||||
|
||||
|
||||
def verify_cmd(path: str) -> bool:
|
||||
|
||||
Reference in new issue
Block a user