Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including gatsby-plugin-ffmpeg with all npm packages installed. Try it out:

var gatsbyPluginFfmpeg = require("gatsby-plugin-ffmpeg")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

gatsby-plugin-ffmpeg v0.3.1

Wrapper of the FFMPEG video manipulation library for Gatsby plugins


This is a relatively low level helper plugin for video transcoding with ffmpeg. You generally shouldn't need to use this.

You're most likely looking for gatsby-remark-videos if you want to automatically convert videos in your markdown, or gatsby-transformer-ffmpeg if you're looking to use these videos elsewhere in your website


npm install --save gatsby-plugin-ffmpeg

ffmpeg with the correct codecs is also required.


With Homebrew 2.0.3/ffmpeg 4.1.1 ffmpeg options are no longer available on the default tap.


The following will install ffmpeg.

brew tap varenc/ffmpeg
brew tap-pin varenc/ffmpeg
brew install ffmpeg $(brew options ffmpeg --compact)
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free