README added.

This commit is contained in:
zergon321
2021-08-27 01:17:32 +00:00
parent d6f08ac53e
commit 4e1d13cdf2

39
README.md Normal file
View File

@@ -0,0 +1,39 @@
# Reisen [![GoDoc](https://godoc.org/github.com/zergon321/reisen?status.svg)](https://pkg.go.dev/github.com/zergon321/reisen)
A simple library to extract video and audio frames from media containers (based on **libav**, i.e. **ffmpeg**).
## Dependencies
The library requires **libav** components to work:
- **libavformat**
- **libavcodec**
- **libavutil**
- **libswresample**
- **libswscale**
For **Arch**-based **Linux** distributions:
```bash
sudo pacman -S ffmpeg
```
For **Debian**-based **Linux** distributions:
```bash
sudo apt install libswscale-dev libavcodec-dev libavformat-dev libswresample-dev libavutil-dev
```
For **macOS**:
```bash
brew install libav
```
## Installation
Just casually run this command:
```bash
go get github.com/zergon321/reisen
```