mirror of
https://github.com/zergon321/reisen.git
synced 2025-12-24 11:51:50 +08:00
README added.
This commit is contained in:
39
README.md
Normal file
39
README.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# Reisen [](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
|
||||
```
|
||||
Reference in New Issue
Block a user