Browsed by
Category: Raspberry Pi

DeFish Effect with FFMpeg

DeFish Effect with FFMpeg

In this post, we’ll cover how to use FFMpeg to removed the radial effects of a fish eye lens. This distortion is a trade off of wide angle lenses. The wider view also included bends and bows to objects that are in nature straight. FFMpeg has a filter known as “lenscorrection” that will remove most of this distortion, lets begin. As always, split out a segment so you don’t waste time processing excessive amounts of data. ffmpeg -ss 00:00:39 -i…

Read More Read More

Color Thresholds and Masking with FFMpeg and ImageMagick

Color Thresholds and Masking with FFMpeg and ImageMagick

I’ve demonstrated how to take videos and convert them into images using FFMpeg in previous posts. In this post, I’ll be using that same process and ImageMagick to create a color threshold effect. The interesting aspect is that all of the processing can be done through the command line. When faces with editing numerous files, scripting is the way to go. The few hours of up front work getting the script right is worth it. You can get on with…

Read More Read More

Image to Video to Image using FFMpeg

Image to Video to Image using FFMpeg

In this post, I’ll demonstrate how to take a series of images and convert them into a video. I’ll also demonstrate how to convert a video into a series of images, were we can do some interesting things. Lets start with image to video conversion. For this example I’ll be using images that have been scrapped from the web for the past year. I run a script that downloads a new image every 5 minutes. As it downloads them, the…

Read More Read More