🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

gatsby-plugin-ffmpeg

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-plugin-ffmpeg

Wrapper of the FFMPEG video manipulation library for Gatsby plugins

0.6.4
latest
Source
npm
Version published
Weekly downloads
31
-57.53%
Maintainers
1
Weekly downloads
 
Created
Source

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 v4.

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

Funding

Electric UI

Work on gatsby-plugin-ffmpeg is funded by Electric UI. If you need to design an Arduino GUI, want visualisations for a complex robotics system or generally need a user interface for your hardware project, please take a look at the website.

Keywords

gatsby

FAQs

Package last updated on 15 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts