Skip to content

Monthly Archives: March 2020

(FFmpeg) How to copy codecs from one video to another?

25-Mar-20

Copying a codec from one video to another is easy and convenient as seen below: -c:v also seen as -vcodec sets the video codec, while -c:a or -acodec sets the audio codec. Adding the option copy after each results in FFMPEG using and copying the codec from the input file. It is common to see […]

What are all the formats FFmpeg supports?

25-Mar-20

Unlike codecs, formats are the digital input / output containers FFMPEG understands. While an mp4 file is the extension we are used to seeing, inside contains encoded video and audio with various codecs. For example, an mp4 file might contain one of the following audio codecs: ACC, AC3, ALS, MP3, ACC or plenty more. Depending […]

What are all the codecs FFmpeg supports?

25-Mar-20

Since codecs are the backbone of FFMPEG, it is beneficial to know how to access the full list of supported codecs. The command is as follows: Be aware that the output from this command will show hundreds of codecs for both audio and video. For the full list of supported codecs, refer to the section […]

How to Use FFmpeg in Python?

25-Mar-20

Command line one-liners are great for quick and one off FFMPEG experiences but sooner or later you’re going to want to start building custom applications for efficiency. FFMPEG can be used with almost any programming language with a couple of simple tricks. Some languages might even have libraries of their own to extend FFMPEG natively. […]

(FFmpeg) What is a ‘codec’? Explained

24-Mar-20

FFMPEG has hundreds of different codecs to edit, convert to and play from. In your journey to mastering FFMPEG you’ll face the word ‘codec’ so often that not understanding what one is, is a disservice to yourself.  Wikipedia explains a codec as:  “… a device or computer program which encodes or decodes a digital data […]

How to Configure FFmpeg with Extra Dependencies? –enable

24-Mar-20

Build dependencies are great additions to FFMPEG that makes the program even more powerful. These dependencies link to 3rd party tools that extend functionality or even simplify some processes. In this book there are a couple of audio / video filters that require extra dependencies to be installed. Installation is as follows: MacOS As of […]

How to merge multiple mp3s into one track with FFmpeg?

23-Mar-20

This is question 80 from my up and coming FFMPEG book, come join the mailing list to stay informed on more FFMPEG tutorials and announcements about the book. Here Merging audio with FFMPEG is one of the most searched questions on the internet and couldn’t be any easier. The only difference is a txt file […]

How to extract all frames (jpg) from a video?

15-Mar-20

Above a list of exported frames NOTE: the ‘frames’ folder must exist else an error will prevent the extraction from completeing.

(FFmpeg) How to convert FLV to MP4?

13-Mar-20

Remember when flash was a big thing? Well turns out there are still video players online that use Flash Live Video (flv) to stream video. If you run into these files from a download, you might be hard pressed to find a player that works for it. So converting to mp4 is ideal:  NOTE: You’ll […]

‘A Book of Visual Signalwave’ my first independent success

13-Mar-20

In December of 2019, I had this idea to take japanese commercials from 1980 to 2001 and turn them into a book. The idea was simple, paint a new story with minimal changes in frame order but sparks a new emotion in a comic book format. A 30 second video might have 720 frames to […]