# video-trimmer **Repository Path**: deepin-opensource/video-trimmer ## Basic Information - **Project Name**: video-trimmer - **Description**: 适配UOS - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-01-20 - **Last Updated**: 2021-01-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Video Trimmer Video Trimmer cuts out a fragment of a video given the start and end timestamps. The video is never re-encoded, so the process is very fast and does not reduce the video quality. Download on Flathub ![Screenshot of the window.](/uploads/717fa281218d3649a9d72e46e3ab4e08/image.png) ## Command-line arguments You can pass the input video path and the default output video path as command-line arguments: ``` $ video-trimmer --output trimmed.mp4 input_video.mp4 ``` The Flatpak version needs a special `--file-forwarding` flag and `@@` marker to pass the input video through the sandbox: ``` $ flatpak run --file-forwarding org.gnome.gitlab.YaLTeR.VideoTrimmer -o trimmed.mp4 @@ input_video.mp4 ``` ## Format support For trimming Video Trimmer uses the `ffmpeg` binary, thus the non-Flatpak version depends on the muxers and demuxers available in your system's `ffmpeg`. The Flatpak package contains `ffmpeg` built with `--enable-gpl` muxers and demuxers which should support everything imaginable. The video preview relies on GStreamer, and therefore your system's or Flatpak GNOME Platform's installed GStreamer plugins. In particular, the video preview won't work at all without the `playbin3` and `glsinkbin` elements (typically in `gst-plugins-base`) as well as the `gtkglsink` element (typically in `gst-plugins-good`, although sometimes extracted into its own package). ## Contributing translations You can help translate Video Trimmer on POEditor: https://poeditor.com/join/project?hash=5bXw9CXAAh. Any help is appreciated! ## Building The easiest way is to clone the repository with GNOME Builder and press the Build button. Alternatively, you can build it manually: ``` meson -Dprofile=development -Dprefix=$PWD/install build ninja -C build install ```