/just-ffmpeg-actions

Just run FFmpeg on GitHub Actions.

MIT LicenseMIT

Just I don't want to install FFmpeg on my local machine.

How to use

  1. clone this repository & put your movie file in origin folder

  2. 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
  1. 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 }}
  1. commit & push

  2. GitHub Actions bot commit a processed video file into processed folder

Author

Katsuhisa Kitano