A utility tool to streamline the process of creating video clips and text captions for Lora training.
- Load videos with high compatibility across formats
- Automatic clip detection
- Clip preview
- Frame adjustment with arrow keys
- Caption creation
- Export functionality with matching clip and text file names (1280x720 resolution)
- Resume capability for continued dataset building
- Custom output folder selection
Simply run the run.bat
file which will:
- Create a virtual environment
- Install all required dependencies
- Launch the application
If you prefer to install manually:
- Create a virtual environment (recommended for compatibility):
python -m venv venv venv\Scripts\activate
- Install the required dependencies:
pip install -r requirements.txt
- Run the application:
python main.py
- If you encounter issues with moviepy, the application will automatically try to use ffmpeg directly. Make sure ffmpeg is installed and available in your PATH.
- If you have compatibility issues, try using Python 3.9, 3.10, or 3.11 with the virtual environment.
- Launch the application
- Click "Choose Folder" to select where your clips will be saved
- Click "Load Video" to open a video file
- Click "Detect Scenes" to automatically find clips
- Navigate between detected clips with "Previous Clip" and "Next Clip"
- Use arrow keys to adjust clip boundaries
- Preview the current clip
- Enter a caption describing the clip
- Click "Export Clip" to save both the clip and caption
- Arrow keys: Adjust clip boundaries
- Enter: Preview current clip
- Space: Play/Pause preview