This project provides a user-friendly web interface for GBVideoPlayer2, ideal for those who prefer graphical interfaces over command-line operations. Powered by Python Flask, the backend enables users to easily upload video files through the web UI, which are then seamlessly converted into GBC ROM files. With the inclusion of a Dockerfile, the process of acquiring and configuring the necessary dependencies is streamlined.
- Debian or Ubuntu for the backend setup. Alternatively, you can utilize Windows Subsystem for Linux (WSL) on Windows 10/11.
- Clone this repository.
- Build the Docker image:
docker build -t webui .
- Start the application:
docker run -p 5000:5000 webui .
- Access the web interface by navigating to http://localhost:5000 in your web browser.
- Clone this repository.
- Install required packages:
sudo apt update && sudo apt upgrade -y sudo apt install -y python3 rgbds build-essential git wget
- Install Flask using pip3:
pip3 install --upgrade pip pip3 install Flask
- Download FFmpeg static build:
wget https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-4.4.1-amd64-static.tar.xz
- Extract only ffmpeg binary:
tar -xf ffmpeg-4.4.1-amd64-static.tar.xz --strip-components=1 --wildcards '*/ffmpeg' rm ffmpeg-4.4.1-amd64-static.tar.xz
- Clone GBVideoPlayer2 repository:
git clone https://github.com/LIJI32/GBVideoPlayer2 "${PWD}/GBVideoPlayer2"
- Make ffmpeg executable and move ffmpeg to GBVideoPlayer2 directory:
chmod +x ffmpeg mv ffmpeg "${PWD}/GBVideoPlayer2/"
- Start the application:
python main.py
- Access the web interface by navigating to http://127.0.0.1:5000 in your web browser.