Two-Pass encoding with FFmpeg

First: Why and when to use a two-pass encoding? Let’s make a simple example: We target a video bitrate of 6 Mbit/s. This means that in average a 8 second video needs 6 MB storage (6 Mbit * 8 seconds / 8; 8 Mbit = 1 MByte). So the encoder has 6 Mbit (or 0,75...

Nightly Builds of FFmpeg for macOS and Linux

My new build server is now online for a few weeks. It compiles once per day the latest version of FFmpeg, FFprobe and FFplay. In addition to this, it uses commonly used codecs (like x264 and x265). The source code is also published here. You can download the static...

Compile FFmpeg on your own

Since 2017 I provide a build script to compile FFmpeg on your own. If you just want to run FFmpeg, go to https://ffmpeg.org/download.html and download  the executable. Compiling FFmpeg is not that hard. So simply download the latest source code and compile it, right?...

Extract subtitles from Teletext via FFmpeg

It is as simple as it sounds: Just provide the teletext page and here we go: ./ffmpeg -txt_format text -txt_page 150 -i inputFile.ts outputSubtitles.ger.srt txt_page 150 is the page number of the subtitle. Typically is the page shown at the beginning of a show....

ControlIt Update 2.0

The last update has been released 2018! So it’s time for a new version of the app. It contains the following changes: NEW: ControlIt Premium NEW: Support for authentication NEW: Delete recordings NEW: Swipe left/right to start playback or delete a recording in...

Using Hardware Acceleration on MacOS with FFmpeg

Video encoding with x264 and x265 takes a lot of CPU usage. This is because you’re using a software encoder. The whole encoding is done in software and this is executed on your CPU. Modern Macs have a hardware encoder on board. But how to use it with FFmpeg? We...