Scripts for common media file conversion tasks
Bash scripts for common conversion tasks on multimedia (video, image, audio) files. I've put these scripts together so I don't have to look up common conversion parameters all the time. Built to work on OS X.
These scripts depend on the following libraries, which can be easily installed with apt
or Homebrew:
Make sure these scripts have appropriate permissions:
chmod 755 *
In your shell, just put a ./
in front of the script name then provide parameters described in the script file. For example, using movie2gif.sh
looks like this:
./videoToGif.sh /Path/to/movie/file.mov 600
CMD + R
and type wsl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
brew install imagemagick
brew install ffmpeg
brew install gifsicle
brew install LAME
brew install SoX
brew install dos2unix
cd /mnt/c/files/media-utility-scripts