31 Commits

Author SHA1 Message Date
FreezyLemon
0fdfa9ab50
ci: Remove unnecessary pkgconfig patches (#86)
* ci: Remove unnecessary pkgconfig patches

* ci: Install libc++ on Linux

This is necessary for the FFmpeg binaries.
It's currently included in 22.04, but not 24.04, so this is futureproofing.
2024-11-09 01:53:34 -05:00
FreezyLemon
5834596af4
CI: Avoid docker containers in favor of prebuilt binaries (#83)
* CI: Use wang-bin/avbuild binaries for Linux

* Add fix for broken .pc files

* Update some tests to be more flexible re: FFmpeg
2024-11-04 06:45:37 -05:00
FreezyLemon
814f8b9464
FFmpeg 7.1 support (#74)
* Add new build-lib features

* Update CI to use 7.1

jrottenberg/ffmpeg does not have 7.1 yet

* Add libavcodec version for 7.1

* Add FF_API flags for 7.1

* Update crate versions, bump MSRV to 1.65

* Add new audio channel masks

* Add new AVColorSpace variants

* Add new AVFrameSideDataType variants

* Add new AVCodecID variants

* Add new AVPacketSideDataType variants
2024-10-18 00:06:01 -04:00
FreezyLemon
fd44dd339b Drop support for FFmpeg < 4.2
Check https://ffmpeg.org/download.html#releases
and https://trac.ffmpeg.org/wiki/Downstreams

to see the FFmpeg versions that are considered supported or EOL.
2024-10-16 13:25:53 -04:00
FreezyLemon
b65d0de4b0 Don't tell brew to install pkg-config
it's already installed and will cause a warning
2024-05-17 19:11:57 -04:00
FreezyLemon
a4e4aedc13 Add FFmpeg 7 build to macOS CI job 2024-05-02 02:00:36 -04:00
FreezyLemon
4953bc22ed
Add CI matrix for macOS builds (#43)
* Add FFmpeg version matrix to macOS CI job

* Add macOS PKG_CONFIG_PATH

* Change schedule to run CI builds weekly

* Fix package installation dir

Homebrew apparently always symlinks to /opt/homebrew, so this
one is reliable
2024-04-29 21:39:53 -04:00
FreezyLemon
fd2d71c92b
Support FFmpeg 7.0 (#48)
* sys: Run cargo fmt

* sys: Add new channel layout consts

* sys: Update build script for 7.0

- Add new FF_API flags
- Update version_check_info range
- Add ffmpeg_7_0 feature entry

* sys: Update non-exhaustive match statement

* Update enums

* Mark old APIs as removed with 7.0

* Make Audio frame work with 7.0

The .unwrap() in clone() is a bit wonky

* Add API for swr_alloc_set_opts2

* Use AVFrame::duration field in 7.0+

* Include 7.0 in CI runs

* Add fn ChanneLayoutIter::best

* Update examples for new API

* Add/update Context setter for ch layout
2024-04-29 21:38:37 -04:00
FreezyLemon
d519d152b3
Specify MSRV & verify in CI (#23) 2024-04-08 13:44:49 -04:00
FreezyLemon
c25b7b4dcc Run sys (bindgen) tests in CI 2024-04-07 09:23:38 -04:00
FreezyLemon
f601a4bb69
Fix Windows CI (#18)
- Update actions
- Download FFmpeg from github
- Remove explicit newline from cmds
  (added automatically)
2024-04-03 14:51:44 -04:00
FreezyLemon
f269020af8
Add missing enum variants for FFmpeg 6.1 (#16) 2024-04-03 12:27:13 -04:00
FreezyLemon
e294e14fe2
Update and fix CI (#15) 2024-04-03 09:26:55 -04:00
FreezyLemon
30aabf9033
Add FFmpeg 6.1 support (#14)
Co-authored-by: Rafie <simulping@protonmail.com>
2024-04-02 08:47:59 -04:00
Josh Holmer
0d11595259
Fix ffmpeg 6.0 support and have it verified in docker/CI properly (#7) 2023-03-08 15:09:08 -05:00
Josh Holmer
c6dd54003e Support ffmpeg 6.0
Closes #6
2023-03-07 13:21:43 -05:00
Josh Holmer
028bdb490c Update more links 2023-01-23 10:02:54 -05:00
Polochon-street
b6b2311fcf Bump to 5.1.1 2022-08-08 18:37:14 +02:00
Polochon-street
22ad8b9598 Bump version to use ffmpeg 5 2022-02-11 17:58:42 +01:00
Polochon-street
19ab5f67ad Fix linting errors 2021-07-07 16:52:30 +02:00
Zhiming Wang
4d16604581
.github: add issue templates 2020-12-14 00:55:02 +08:00
Zhiming Wang
2e37fbf50d
build.yml: switch FFmpeg Windows build URL...
to a hopefully more stable one that doesn't require constant attention.
2020-11-03 17:19:59 +08:00
Zhiming Wang
6e68d2308d
build.yml: fix download and extraction of Windows FFmpeg build 2020-11-03 16:20:28 +08:00
Zhiming Wang
810fd7b0f9
build.yml: fix deprecated set-env command
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#environment-files
2020-10-11 10:31:05 +08:00
Zhiming Wang
ae06272af1
build.yml: fix Windows build
ffmpeg.zeranoe.com is gone. Replacing it with another option listed at
ffmpeg.org, https://www.gyan.dev/ffmpeg/builds/.
2020-10-03 18:30:40 +08:00
Zhiming Wang
8b5e48cc8f
build.yml: use libclang from Visual Studio to speed up builds
Also fix non-idiomatic parameter expansion in pwsh.
2020-08-12 14:15:13 +08:00
Zhiming Wang
f084386540
build.yml: build on macOS and Windows 2020-08-12 12:01:09 +08:00
Zhiming Wang
18058e9a8f
build.yml: drop ffmpegxy feature flags and build/test/lint examples 2020-08-10 22:26:34 +08:00
Zhiming Wang
6aef48e7e9
Add release.yml to create release on tag push 2020-08-09 14:26:25 +08:00
Zhiming Wang
a5a897f42f
build.yml: clippy: turn warnings into errors
Otherwise we'll never know.
2020-08-01 21:59:27 +08:00
Zhiming Wang
26b29b30b1
Add CI build on GitHub Actions 2020-07-26 12:52:50 +08:00