Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions expose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ ffmpeg_threads=${ffmpeg_threads:-0} # the -threads option for ffmpeg encode (0=a

command -v convert >/dev/null 2>&1 || { echo "ImageMagick is a required dependency, aborting..." >&2; exit 1; }
command -v identify >/dev/null 2>&1 || { echo "ImageMagick is a required dependency, aborting..." >&2; exit 1; }
command -v rsync >/dev/null 2>&1 || { echo "rsync is a required dependency, aborting..." >&2; exit 1; }

if [ "$download_button" = true ]
then
command -v zip >/dev/null 2>&1 || { echo "zip is a required dependency, aborting..." >&2; exit 1; }
fi

# file extensions for each video format
video_format_extensions=("h264" "mp4" "h265" "mp4" "vp9" "webm" "vp8" "webm" "ogv" "ogv")
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ tested on Windows/Cygwin, OSX, and should be fine on Linux

### Installation

The only dependency is Imagemagick. For videos FFmpeg is also required.
The dependencies are Imagemagick, zip and rsync. For videos FFmpeg is also required.

Download the repo and alias the script

Expand Down