Just I don't want to install FFmpeg on my local machine.
-
clone this repository & put your movie file in
origin
folder -
update env about video file names
CAUTION: Overwrite an exist video file if same AFTER_PROCESSING_FILE
name is exists.
jobs:
build:
runs-on: ubuntu-latest
env:
BEFORE_PROCESSING_FILE: shortcut-to-github1s.mov
AFTER_PROCESSING_FILE: shortcut-to-github1s.gif
- update FFmpeg options if you need
- name: Execute ffmpeg
run: ffmpeg -y -i origin/${{ env.BEFORE_PROCESSING_FILE }} -vf scale=800:-1 -r 10 processed/${{ env.AFTER_PROCESSING_FILE }}
-
commit & push
-
GitHub Actions bot commit a processed video file into
processed
folder