Skip to content

BatteryDie/GBVideoPlayer2-Web-UI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GBVideoPlayer2 Web UI

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.

Requirement

Recommendations without Docker

  • Debian or Ubuntu for the backend setup. Alternatively, you can utilize Windows Subsystem for Linux (WSL) on Windows 10/11.

Setup Using Docker

  1. Clone this repository.
  2. Build the Docker image:
    docker build -t webui .
    
  3. Start the application:
    docker run -p 5000:5000 webui .
    
  4. Access the web interface by navigating to http://localhost:5000 in your web browser.

Setup Without Docker

  1. Clone this repository.
  2. Install required packages:
    sudo apt update && sudo apt upgrade -y
    sudo apt install -y python3 rgbds build-essential git wget
  3. Install Flask using pip3:
    pip3 install --upgrade pip
    pip3 install Flask
  4. Download FFmpeg static build:
    wget https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-4.4.1-amd64-static.tar.xz
  5. 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
  6. Clone GBVideoPlayer2 repository:
    git clone https://github.com/LIJI32/GBVideoPlayer2 "${PWD}/GBVideoPlayer2"
  7. Make ffmpeg executable and move ffmpeg to GBVideoPlayer2 directory:
    chmod +x ffmpeg
    mv ffmpeg "${PWD}/GBVideoPlayer2/"
  8. Start the application:
    python main.py
  9. Access the web interface by navigating to http://127.0.0.1:5000 in your web browser.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published