Skip to content

A non-linear video editor built for inline AI video generation from the ground up

Notifications You must be signed in to change notification settings

Tophness/Inline-AI-Video-Editor

Repository files navigation

Inline AI Video Editor

A simple, non-linear video editor built with Python, PyQt6, and FFmpeg. It provides a multi-track timeline, a media preview window, and basic clip manipulation capabilities, all wrapped in a dockable user interface. The editor is designed to be extensible through a plugin system.

Features

  • Inline AI Video Generation With WAN2GP: Select a region to join and it will bring up a desktop port of WAN2GP for you to generate a video inline using the start and end frames in the selected region. You can also create frames in the selected region.
  • Multi-Track Timeline: Arrange video and audio clips on separate tracks.
  • Project Management: Create, save, and load projects in a .json format.
  • Clip Operations:
    • Drag and drop clips to reposition them in the timeline.
    • Split clips at the playhead.
    • Create selection regions for advanced operations.
    • Join/remove content within selected regions across all tracks.
    • Link/Unlink audio tracks from video
  • Real-time Preview: A video preview window with playback controls (Play, Pause, Stop, Frame-by-frame stepping).
  • Dynamic Track Management: Add or remove video and audio tracks as needed.
  • FFmpeg Integration:
    • Handles video processing for frame extraction, playback, and exporting.
    • Automatic FFmpeg Downloader (Windows): Automatically downloads the necessary FFmpeg executables on first run if they are not found.
  • Extensible Plugin System: Load custom plugins to add new features and dockable widgets.
  • Customizable UI: Features a dockable interface with resizable panels for the video preview and timeline.
  • **More coming soon..

Installation

Windows

git clone https://github.com/Tophness/Inline-AI-Video-Editor.git
cd Inline-AI-Video-Editor
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt

Linux / macOS

git clone https://github.com/Tophness/Inline-AI-Video-Editor.git
cd Inline-AI-Video-Editor
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Usage

Run the video editor:

python videoeditor.py

Upon first run of the AI generator plugin, you will be asked to install WAN2GP or to select an existing WAN2GP installation.

Screenshots

sc1_ sc2_ sc3_

Credits

The AI Video Generator plugin is built from a desktop port of WAN2GP by DeepBeepMeep. See WAN2GP for more details. https://github.com/deepbeepmeep/Wan2GP

About

A non-linear video editor built for inline AI video generation from the ground up

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 18

Languages