Skip to content

GTK based tool using ffmpeg and optionally SoX to easily process audio and video files.

License

Notifications You must be signed in to change notification settings

CBenoit/media-cutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Media Cutter's logo

Media Cutter

Licensed under the MIT license.

Media Cutter's main screen

ffmpeg is used for most audio and video processing. SoX is an optional tool used for noise reduction filter.

I originally made this software to easily cut audio files using ffmpeg as well as applying some filters quickly. However, it can also process video files without further modification thanks to ffmpeg hence "Media Cutter" instead of "Audio Cutter".

Also, I wanted to try some graphical libraries in Rust. In this case, I had a quite good experience using gtk-rs despite the boiler-plate code required to handle ownership and borrowing in the numerous clojures.

Dependencies

  • gtk 3.10
  • ffmpeg (tested with v4.1, but older might works perfectly as well. No new fancy feature is used to my knowledge)
  • Optional: SoX (tested with v14.4, but again, older might works perfectly)

Present software was used and tested only on Linux. It might works on Windows too, but since aformentioned tools are directly used by command line you might get some command not found troubles. Hint: make sure executables are accessibles using the %PATH%. I might add a way to manually specify path to executables later though.

Building

Thanks to the Rust package manager, cargo, building is as simple as executing

$ cargo build --release

inside the project directory.

It will build a self-contained executable media_cutter inside target/release/ folder.

If you need to install the rust compiler and cargo, see rustup for an easy install.

Additional step: you can use the strip command to discard object files from the executable and get its size under 1M.

$ strip target/release/media_cutter

Pre-built binaries

See released binaries here.

Installing

On Linux, simply copy/move the executable in a folder present in the $PATH environment variable. /usr/local/bin is a good choice for manually installed (installed without package manager) softwares.

About

GTK based tool using ffmpeg and optionally SoX to easily process audio and video files.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages