including ffmpeg

207 views
Skip to first unread message

Massimo Manca

unread,
May 10, 2021, 9:33:30 AM5/10/21
to PyInstaller
Hello guys,
I am a newbie about Pyinstaller, until now I made only a couple of exe on Windows using it without any problem but today I experienced the first problem and seem to be related to ffmpeg. So, how may I add ffmpeg to my spec file?
Thanks,
Massimo

This is the content of my spec file:

# -*- mode: python ; coding: utf-8 -*-


block_cipher = None


a = Analysis(['MediaLoader2.py'],
pathex=['C:\\Dati\\workspaces\\PythonPyCharm\\MediaLoader2\\src'],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
name='MediaLoader2',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=True )

Reply all
Reply to author
Forward
0 new messages