ydl_binaries
Downloads system-correct ffmpeg
, ffprobe
, and youtube-dl
binaries.
Installation
-
Add the dependency to your
shard.yml
:dependencies: ydl_binaries: github: cooperhammond/ydl-binaries
-
Run
shards install
Usage
require "ydl_binaries"
YdlBinaries.get_ffmpeg("/usr/local/bin")
YdlBinaries.get_youtube_dl("/usr/local/bin")