In the GPT-to-FFmpeg.exe
folder, create or edit a text file called openai-model.cfg
with the model you want to use and nothing else.
gpt-4o-mini-2024-07-18
- Result: will use the
gpt-4o-mini-2024-07-18
model to write the FFmpeg commands.
- First, open the command-line and check your Python version. This app was made using Python 3.12.0:
py --version
- Now, install virtualenv if you don't have it:
py -m pip install virtualenv
- Clone the repository and change the directory to it:
git clone https://github.com/MachWheel/GPT-to-FFmpeg.git
cd GPT-to-FFmpeg
- Create a virtualenv for the project, then activate it:
py -m venv venv
.\venv\Scripts\activate
- Install project dependencies:
py -m pip install -r requirements.txt
- Done. Now you can run the app typing:
py main.py
pyinstaller -w --onefile main.py --icon app.ico --name GPT-to-FFmpeg --splash splash.png