2022-11-11 18:54:33 +03:00
|
|
|
distributable:
|
2023-05-01 20:14:59 +03:00
|
|
|
url: https://ffmpeg.org/releases/ffmpeg-{{version.raw}}.tar.gz
|
2022-11-11 18:54:33 +03:00
|
|
|
sig: ${{url}}.asc
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
# docs: https://trac.ffmpeg.org/wiki/CompilationGuide
|
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
url: https://ffmpeg.org/releases/
|
|
|
|
match: /ffmpeg-\d+\.\d+(\.\d+)?\.tar\.gz/
|
|
|
|
strip:
|
|
|
|
- /ffmpeg-/
|
|
|
|
- /.tar.gz/
|
2022-11-11 18:54:33 +03:00
|
|
|
|
2022-11-30 21:55:18 +03:00
|
|
|
provides:
|
|
|
|
- bin/ffmpeg
|
2023-11-20 18:22:33 +03:00
|
|
|
- bin/ffplay
|
2022-11-30 21:55:18 +03:00
|
|
|
- bin/ffprobe
|
|
|
|
|
2023-11-06 18:21:51 +03:00
|
|
|
dependencies:
|
|
|
|
lame.sourceforge.io: '>=3.98.3'
|
2023-11-20 18:22:33 +03:00
|
|
|
libsdl.org: ^2
|
2023-11-06 18:21:51 +03:00
|
|
|
|
2022-11-11 18:54:33 +03:00
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
x86-64:
|
|
|
|
nasm.us: 2
|
2023-11-06 18:21:51 +03:00
|
|
|
script:
|
|
|
|
- ./configure $ARGS
|
|
|
|
- make --jobs {{hw.concurrency}}
|
|
|
|
- make install
|
|
|
|
env:
|
|
|
|
ARGS:
|
|
|
|
- --prefix="{{prefix}}"
|
|
|
|
- --enable-libmp3lame
|
2022-11-11 18:54:33 +03:00
|
|
|
|
2023-11-06 18:21:51 +03:00
|
|
|
test:
|
|
|
|
- ffmpeg -filter_complex testsrc=rate=1:duration=1 out.mp4
|
|
|
|
- test -f out.mp4
|