kkroening / ffmpeg-python

Python bindings for FFmpeg - with complex filtering support
Apache License 2.0
9.72k stars 878 forks source link

Can FFMPEG be packaged into a standalone application? #827

Open connors89 opened 4 months ago

connors89 commented 4 months ago

I've been trying to make this for a while now, I have a Python script that downloads and converts audio files using yt-dlp and ffmpeg (.MP3 and .WAV) I made a GUI so I don't have to open VS code every time I want to use this script. I tried packaging it into an application for macOS with Pyinstaller but my code seems to get stuck on converting from .webm to .MP3...

I've seen some posts on reddit saying that ffmpeg is only command-line but I've seen others saying they have gotten working GUI's with FFMPEG. is this possible? And what is a potential issue? Anything is greatly appreciated!

OpenBagTwo commented 3 months ago

This is really more of a question for the ffmpeg project, but I can answer it here.

In short, yes: FFmpeg is licensed under the GNU Lesser General Public License (LGPL) version 2.1 or later and incorporates components licensed under the GNU General Public License (GPL) version 2 or later.

I maintain a project that uses this library, and my process for creating release builds involves downloading FFmpeg and re-packaging it into the final executables. Feel free to adapt it to suit your needs.