Share Comments Backlinks

Table of contents

Swiss army knife for video and audio editing from command line

Cheat sheet #

Change format and bitrate of an audio file

ffmpeg -i ~/in.m4a -ab 128k out.mp3

Add a background to a transparent PNG, add an audio file and put all of them in a video.

ffmpeg -i background.png -stream_loop 50 -i animation.png -filter_complex overlay -i voiceover.m4a -c:v libx264 -c:a copy out.mp4

Cheat sheets #

Resources #

edit this page