Skip to content

Commit 8a0d5d4

Browse files
Install ffmpeg before converting tutorial videos
ffmpeg is not preinstalled on current ubuntu-latest runner images. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 0b81c48 commit 8a0d5d4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎.github/workflows/test-in-app-tutorials.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
- name: Convert videos to mp4
6363
if: always()
6464
run: |
65+
sudo apt-get update -qq && sudo apt-get install -y -qq ffmpeg
6566
find test-results -name "*.webm" -print0 | while IFS= read -r -d '' file; do
6667
ffmpeg -y -loglevel error -i "$file" -c:v libx264 -preset veryfast -crf 28 -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" -movflags +faststart "${file%.webm}.mp4" && rm "$file"
6768
done

0 commit comments

Comments
 (0)