diff --git a/.github/workflows/update-ffmpeg.yml b/.github/workflows/update-ffmpeg.yml index 5fd8e9b..11101a0 100644 --- a/.github/workflows/update-ffmpeg.yml +++ b/.github/workflows/update-ffmpeg.yml @@ -76,7 +76,7 @@ jobs: - name: Clone FFmpeg run: | - git clone --depth 1 --branch n8.1.2 https://github.com/FFmpeg/FFmpeg.git ffmpeg + git clone --depth 1 --branch n9.0.2 https://github.com/FFmpeg/FFmpeg.git ffmpeg cp scripts/generate_config.ts ffmpeg/ - name: Run Configuration Script @@ -124,7 +124,7 @@ jobs: - name: Clone FFmpeg run: | - git clone --depth 1 --branch n8.1.2 https://github.com/FFmpeg/FFmpeg.git ffmpeg + git clone --depth 1 --branch n9.0.2 https://github.com/FFmpeg/FFmpeg.git ffmpeg cp scripts/generate_config.ts ffmpeg/ - name: Run Configuration Script @@ -190,7 +190,7 @@ jobs: - name: Clone FFmpeg and Run Script shell: msys2 {0} run: | - git clone --depth 1 --branch n8.1.2 https://github.com/FFmpeg/FFmpeg.git ffmpeg + git clone --depth 1 --branch n9.0.2 https://github.com/FFmpeg/FFmpeg.git ffmpeg cp scripts/generate_config.ts ffmpeg/ cd ffmpeg node generate_config.ts ${{ matrix.os }} ${{ matrix.arch }} @@ -239,7 +239,7 @@ jobs: done - name: Clone FFmpeg - run: git clone --depth 1 --branch n8.1.2 https://github.com/FFmpeg/FFmpeg.git ffmpeg + run: git clone --depth 1 --branch n9.0.2 https://github.com/FFmpeg/FFmpeg.git ffmpeg - name: Generate ffmpeg_slim and pack zips run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a54e50..9ada632 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ All notable changes to `ffmpeg_audio` and `ffmpeg_audio_sys` will be documented +### ffmpeg_audio_sys + +#### Breaking Changes + +- **Updated** bundled FFmpeg from 8.1.2 to 9.0.2 (libavcodec 63, libavformat 63, libavutil 61, libswresample 7). APIs removed upstream in this major release (e.g. `AVCodecContext.properties`, the private fields of `AVCodecParser`, `AVTimebaseSource`) are no longer available in the generated bindings. + +--- + ## [0.3.1] - 2026-08-05 ### ffmpeg_audio diff --git a/README.md b/README.md index ede373b..e847c2f 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ A lightweight FFmpeg audio decoding wrapper designed for music player applicatio * Simple and intuitive API * Pure Rust compilation via [cc](https://github.com/rust-lang/cc-rs) — no C build system required * Fully statically linked with zero external FFmpeg dependencies -* Bundled with a specific, up-to-date FFmpeg version (currently 8.1.2) +* Bundled with a specific, up-to-date FFmpeg version (currently 9.0.2) * Optional `tracing` feature for FFmpeg log integration ## Supported Audio Formats diff --git a/crates/ffmpeg_audio_sys/vendor/configs.zip b/crates/ffmpeg_audio_sys/vendor/configs.zip index 70a4c30..a5fe8cb 100644 Binary files a/crates/ffmpeg_audio_sys/vendor/configs.zip and b/crates/ffmpeg_audio_sys/vendor/configs.zip differ diff --git a/crates/ffmpeg_audio_sys/vendor/ffmpeg_slim.zip b/crates/ffmpeg_audio_sys/vendor/ffmpeg_slim.zip index 370d3dc..1064aa2 100644 Binary files a/crates/ffmpeg_audio_sys/vendor/ffmpeg_slim.zip and b/crates/ffmpeg_audio_sys/vendor/ffmpeg_slim.zip differ