Skip to content

Daethyra/Vrimmer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vrimmer

CLI Video Trimmer :)

gif<3

Description

A personal project to relearn programming without vibe coding <3

Installation

  1. Clone the repo: git clone https://github.com/daethyra/vrimmer.git
  2. Create/activate a virtual environment: i. virtualenv .venv ii. .venv/Scripts/activate(Windows) or source .venv/bin/activate (Unix)
  3. Install Python dependencies: pip install -e .
  4. Install ffmpeg (Instructions)
  5. Test the tool works by running as a module: python -m vrimmer

Usage

  1. navigate to vrimmer TLD
  2. test it works w/ python -m vrimmer
  3. trim /resize/change fps of your video

Options

Positional Arguments:

  • input_path: Target input file. Defaults to 'inputs/Sandbina_2_4k.mp4'

Optional Arguments

  • --start: Starting timestamp in seconds (e.g. 0)
  • --end: Ending timestamp in seconds (e.g. 20)
  • --start-frame: Frame to start at (e.g. 0)
  • --end-frame: Frame to end at (e.g. 240)

Examples

# runs default options on the Sandbina sample input video
python -m vrimmer

# runs default options on a specified video
python -m vrimmer "inputs/Sandbina_2_4k.mp4"

# trims from frame 0 to frame 1000 on specified video
python -m vrimmer "inputs/Sandbina_2_4k.mp4" --end-frame 1000

# trims video to start at 2 seconds in, and end 4 seconds in
python -m vrimmer "chudma.webm" --start 2 --end 4

Roadmap

  • Trim video by frame or timestamp
  • Resize video
  • Convert between formats
  • Batch processing

Find out more in DESIGN.md

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages