Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cooperhammond/ydl-binaries

:sparkles: A crystal shard that downloads binaries for ffmpeg and youtube-dl
https://github.com/cooperhammond/ydl-binaries

binaries cross-platform crystal ffmpeg ydl-binaries youtube-dl

Last synced: about 1 month ago
JSON representation

:sparkles: A crystal shard that downloads binaries for ffmpeg and youtube-dl

Awesome Lists containing this project

README

        

# ydl_binaries

Downloads system-correct `ffmpeg`, `ffprobe`, and `youtube-dl` binaries.

## Installation

1. Add the dependency to your `shard.yml`:

```yaml
dependencies:
ydl_binaries:
github: cooperhammond/ydl-binaries
```

2. Run `shards install`

## Usage

```crystal
require "ydl_binaries"

YdlBinaries.get_ffmpeg("/usr/local/bin")
YdlBinaries.get_youtube_dl("/usr/local/bin")
```