Browsed by
Category: Raspberry Pi

FFMpeg Time Lapse and Slow Motion

FFMpeg Time Lapse and Slow Motion

Interpolation doesn’t just slow down, speed up, or increases FPS for better overall appearance. It fills in the gaps between frames by mathematically guessing were pixels belong between each frame. Here is a source clip that I’ll be processing. This command increases a 18 second segment from 30 FPS to 120 FPS ffmpeg -ss 00:47:08 -i 201207140948.MOV -t 00:00:18 -c copy 201207140948_Seg.MOV ffmpeg -i 201207140948_Seg.MOV -vf minterpolate=fps=120 201207140948_Seg_120fps.MOV The results look the same at first glance, but when viewed intently,…

Read More Read More

Picture in Picture Video with FFMPeg

Picture in Picture Video with FFMPeg

Creating a video with a smaller thumbnail video inside is known as a picture in picture effect.  I’ve used other video editors in the past to merge various camera views together to give a more complete experience.  In this post I’ll cover how to use FFMpeg to do the same thing.  It expands the idea of tiled video, were multiple cameras share equal amounts of screen space.  Thumbnails offer flavoring for the main camera view.  I’m going to step by…

Read More Read More

Pan, Tilt, and Zoom with FFMpeg

Pan, Tilt, and Zoom with FFMpeg

There are times when the content in an image or video is lost in the surrounding details. Live security camera systems have a feature known as PTZ, short for Pan, Tilt, and Zoom. This allows the live cameras a hardware and software way to focus more on an object of interest. With FFMpeg, we can do something similar. In this post I’ll cover the basics of PTZ. Unlike live security cameras were you might notice a transition from the wide…

Read More Read More