Quickly trim videos using start and end timestamps. Trimmer doesn't re-encode any videos so the process should be very fast.
On elementary OS you can get Trimmer from the appcenter
Trimmer is developed targetting and tested on elementary OS. However you can always install Trimmer as flatpak on any distro from the elementary flatpak repository.
flatpak install https://flatpak.elementary.io/repo/appstream/com.github.phoneybadger.trimmer.flatpakref
If you're using GNOME you can also consider using Ivan Molodetskikh's Video Trimmer which this app was directly inspired by.
Download or clone the repo
git clone https://github.com/phoneybadger/trimmer.git
cd trimmer
Run flatpak-builder
to build and install as a flatpak for the current user
flatpak-builder build com.github.phoneybadger.trimmer.yml --user --install --force-clean
the program should now be installed and can be launched using
flatpak run com.github.phoneybadger.trimmer
You'll need the following dependencies
- valac
- meson
- libgtk-3-dev
- libgranite-dev
- libclutter-gst-3.0-dev
- libclutter-gtk-1.0-dev
- libgstreamer1.0-dev
- ffmpeg
Run meson
to configure the build environment and then use ninja
to build
meson build --prefix=/usr
cd build
ninja
To install use ninja install
, then execute with com.github.phoneybadger.trimmer
sudo ninja install
com.github.phoneybadger.trimmer
Contributions are always welcome. You can raise an issue if you come across a bug and feel free to send in pull requests with features or bug fixes.
The code generally follows the elementary code style guidelines. The project uses vala-lint to check for code style issues.
Generate .pot
translation template file using po/LINGUAS
and po/POTFILES
.
ninja com.github.phoneybadger.trimmer-pot
then use the template file to generate/update .po
files for each of the
languages listed in LINGUAS
ninja com.github.phoneybadger.trimmer-update-po
- Directly inspired by Ivan Molodetskikh's Video Trimmer for GNOME.
- Video used in screenshots is Blender open movie Sprite fright.
- Resizer and Videos for code reference.
- Article on Vala reactive programming by Igor Montagner.