0.6.4 • Published 2 years ago

gatsby-plugin-ffmpeg v0.6.4

Weekly downloads
158
License
MIT
Repository
-
Last release
2 years ago

gatsby-plugin-ffmpeg

This is a 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

Works with Gatsby v3.

Install

npm install --save gatsby-plugin-ffmpeg

ffmpeg with the correct codecs is also required.

MacOS

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

From https://trac.ffmpeg.org/wiki/CompilationGuide/macOS

The following will install ffmpeg.

brew tap varenc/ffmpeg
brew install ffmpeg $(brew options ffmpeg --compact)

Debugging

Running with the environment variable DEBUG_FFMPEG=true will print the ffmpeg arguments used.

info ffmpeg is being executed with args: -i ~/markdown-pages/video.mp4 -y -an -vcodec libx264 -b:v 100k -filter:v
scale=w=1206:h=480 -profile:v main -pix_fmt yuv420p -movflags faststart
0.6.4

2 years ago

0.6.3

2 years ago

0.6.2

2 years ago

0.6.0

3 years ago

0.5.0

3 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.5

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago