Skip to content

Commit a3a5a4a

Browse files
authored
ffmpeg impl (#2)
* testing Signed-off-by: Jess Frazelle <github@jessfraz.com> * ffmeg impl Signed-off-by: Jess Frazelle <github@jessfraz.com> * install ffmpeg Signed-off-by: Jess Frazelle <github@jessfraz.com> * better docs Signed-off-by: Jess Frazelle <github@jessfraz.com> * bump the version Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix tests Signed-off-by: Jess Frazelle <github@jessfraz.com> * better samples Signed-off-by: Jess Frazelle <github@jessfraz.com> * better install Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * less deps Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com>
1 parent eb874e1 commit a3a5a4a

File tree

12 files changed

+359
-25
lines changed

12 files changed

+359
-25
lines changed

.github/workflows/build-macos.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ jobs:
3232
- name: Rust Cache
3333
uses: Swatinem/rust-cache@v2.5.1
3434

35+
- name: Install ffmpeg
36+
run: |
37+
brew install ffmpeg
38+
3539
- name: cargo build
3640
shell: bash
3741
run: |

.github/workflows/cargo-build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,17 @@ jobs:
3535
- name: Rust Cache
3636
uses: Swatinem/rust-cache@v2.5.1
3737

38+
- name: Install ffmpeg
39+
run: |
40+
sudo apt update
41+
sudo apt install \
42+
ffmpeg \
43+
libavformat-dev \
44+
libavutil-dev \
45+
libclang-dev \
46+
libswscale-dev \
47+
--no-install-recommends
48+
3849
- name: Run cargo build
3950
run: |
4051
cargo build --all

.github/workflows/cargo-clippy.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,17 @@ jobs:
3535
- name: Rust Cache
3636
uses: Swatinem/rust-cache@v2.5.1
3737

38+
- name: Install ffmpeg
39+
run: |
40+
sudo apt update
41+
sudo apt install \
42+
ffmpeg \
43+
libavformat-dev \
44+
libavutil-dev \
45+
libclang-dev \
46+
libswscale-dev \
47+
--no-install-recommends
48+
3849
- name: Check workflow permissions
3950
id: check_permissions
4051
uses: scherermichael-oss/action-has-permission@1.0.6

.github/workflows/cargo-test.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,17 @@ jobs:
3535
- name: Rust Cache
3636
uses: Swatinem/rust-cache@v2.5.1
3737

38+
- name: Install ffmpeg
39+
run: |
40+
sudo apt update
41+
sudo apt install \
42+
ffmpeg \
43+
libavformat-dev \
44+
libavutil-dev \
45+
libclang-dev \
46+
libswscale-dev \
47+
--no-install-recommends
48+
3849
3950
- name: cargo test
4051
shell: bash

.github/workflows/make-release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ jobs:
2020
- name: Rust Cache
2121
uses: Swatinem/rust-cache@v2.5.1
2222

23+
- name: Install ffmpeg
24+
run: |
25+
sudo apt update
26+
sudo apt install \
27+
ffmpeg \
28+
libavformat-dev \
29+
libavutil-dev \
30+
libclang-dev \
31+
libswscale-dev \
32+
--no-install-recommends
33+
2334
- name: cargo test
2435
shell: bash
2536
run: |

0 commit comments

Comments
 (0)