Author Archives: jdriselvato

(FFmpeg) How to Convert a Video to Black and White?

Turning a video to black and white is also accomplished by using the hue filter.  Setting the saturation value to 0 results in a black and white video, as seen in figure 58.0: Challenge: In addition to changing the video … Continue reading

Posted in Tutorial, Programming | Tagged | Comments Off on (FFmpeg) How to Convert a Video to Black and White?

(FFmpeg) How to Edit the Hue of a Video?

The hue filter allows for modification of the hue and saturation of a video.  In the example below, the hue is set to 45 degrees with an increased saturation, as seen in figure 57.0: The hue filter also has framing … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to Edit the Hue of a Video?

(FFmpeg) How to Add Color Balance to a Video?

The color balance filter allows the RGB shadows, midtones, highlights and preserving lightness can be adjusted. This filter can be used to apply very custom color grading or used to create trippy color changes.  In this example, the green shadows … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to Add Color Balance to a Video?

(FFmpeg) How to Use Green Screen to Mask a Video Into Another Video?

The use of a green screen is the most common way to add a subject to a scene in video production. By setting the scene at the purest green (not commonly found in nature) objects can interact on the green … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to Use Green Screen to Mask a Video Into Another Video?

“FFmpeg For Beginners” is now on Amazon! (Paperback & Ebook)

Today I am extremely excited to announce that “FFmpeg For Beginners” is now on Amazon. Cover over 112 different concepts, this is the ultimate FFmpeg programmers guide for users at any level. Readers at the novice level can gracefully learn … Continue reading

Posted in Programming, Blogging, Tutorial | Tagged | Comments Off on “FFmpeg For Beginners” is now on Amazon! (Paperback & Ebook)

(FFmpeg) How to Add Color Normalization to a Video?

Normalization is a color correction filter that standardizes the RGB values in each frame of a video. With the use of histogram and contrast stretching, FFmpeg can quickly fix issues like rapid brightness changes and flickering. Below is an example … Continue reading

Posted in Programming, Tutorial | Comments Off on (FFmpeg) How to Add Color Normalization to a Video?

(FFmpeg) How to Blend Two Videos Together?

Blending has an interesting effect when two inputs are used. The blend filter has the potential to create outstanding artistic results, so let’s try it out.  Tip: In order to blend two files, they must contain the same resolution. blending … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to Blend Two Videos Together?

(FFmpeg) How to Concatenate Multiple Videos?

Using concat with a txt file has one catch, all the MP4s must have the exact codec, framerate, resolution, etc. An example text file is shown below (file.txt):  Then run the following command to load the txt file to create … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to Concatenate Multiple Videos?

(FFmpeg) How to Loop a Section of Video Multiple Times?

Looping a section of a video can be useful for presentations or advanced video editing. In this example the input.mp4 is a 5 minute long video with the requirement that after the 1 minute mark, the video will loop 10 … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to Loop a Section of Video Multiple Times?

(FFmpeg) How to add a motion blur to a video?

I saw this question on Reddit and started messing with the effects recommended and totally liked the effect seen in the video below: Here’s the full script using the tmix filter: What you’ll notice here is the more frames you … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to add a motion blur to a video?