https://github.com/alfg/libav-examples
Collection of FFmpeg libav examples.
https://github.com/alfg/libav-examples
audio ffmpeg libav mp4 multimedia video
Last synced: 9 months ago
JSON representation
Collection of FFmpeg libav examples.
- Host: GitHub
- URL: https://github.com/alfg/libav-examples
- Owner: alfg
- Created: 2021-02-24T08:01:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-07-23T07:05:49.000Z (almost 4 years ago)
- Last Synced: 2025-06-10T13:49:22.373Z (about 1 year ago)
- Topics: audio, ffmpeg, libav, mp4, multimedia, video
- Language: C
- Homepage: https://github.com/alfg/libav-examples
- Size: 18.6 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `libav-examples`
A collection of FFmpeg libav examples.
## Usage
#### Requires
* gcc
* cmake
* ffmpeg
* ffmpeg-dev
#### cmake
```
cmake .
./bin/mp4info input.mp4
```
#### gcc
```
gcc -L/opt/ffmpeg/lib -I/opt/ffmpeg/include/ src/mp4info.c -lavcodec -lavformat -lavfilter -lavdevice -lswresample -lswscale -lavutil -o mp4info
./bin/mp4info input.mp4
```
## Docker
```
docker-compose run libav-examples
cmake .
./bin/mp4info input.mp4
```
## Related
* https://www.ffmpeg.org/doxygen/4.1/examples.html
* https://github.com/leandromoreira/ffmpeg-libav-tutorial