Giter VIP home page Giter VIP logo

gbvideoplayer2-web-ui's Introduction

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.

gbvideoplayer2-web-ui's People

Contributors

batterydie avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.