Attempt to fix PyInstaller ffmpeg-python import error with hiddenimports

This commit is contained in:
Ramforth
2025-11-01 12:29:02 +01:00
parent 049b016e72
commit b8d74f43ef

View File

@@ -6,11 +6,12 @@ a = Analysis(['src/main.py'],
pathex=['/home/joe/Cloud9/Documents/Obisdian/projects/Video Converter'], pathex=['/home/joe/Cloud9/Documents/Obisdian/projects/Video Converter'],
binaries=[('/usr/bin/ffmpeg', '.'), ('/usr/bin/ffprobe', '.')], binaries=[('/usr/bin/ffmpeg', '.'), ('/usr/bin/ffprobe', '.')],
datas=[], datas=[],
hiddenimports=[], hiddenimports=['ffmpeg.nodes', 'ffmpeg._utils', 'ffmpeg._run'],
hookspath=[], hookspath=[],
hooksconfig={}, hooksconfig={},
runtime_hooks=[], runtime_hooks=[],
excludes=[], excludes=[],
collect_submodules=['ffmpeg'],
win_no_prefer_redirects=False, win_no_prefer_redirects=False,
win_private_assemblies=False, win_private_assemblies=False,
cipher=block_cipher, cipher=block_cipher,