Generates derivatives for every video in a folder.
./bin/init.sh(only needs to be run once. sets up folder structure and installs brew and ffmpeg)
- Add source videos to
- Optionally add .srt subtitle files to the
subtitlesdirectory. The filenames must match, as in:
Encoded videos will save to
encoded/. Source videos will be moved to
source-post-encode/ once their derivatives have been generated. Subtitle files will remain in the subtitles directory.
If you've already installed ffmpeg via brew and get codec errors,
brew uninstall ffmpeg and
VidSmanger outputs videos in the following format:
To enable subtitling, run
encode.sh with the
-s flag as so:
If you provide a .srt file for a video, VidSmanger makes a _s.mp4 for every size where the subtitles will be burned-in. If you don't provide an .srt, VidSmanger copies the un-subtitled video to _s.mp4 for consistency. (this might not be the best thing long-term?).
bin/add-subtitle-options.py for customization of subtitle options (font, position, etc).