DEV Community

loading...
Cover image for Save yourself hours of editing when working with recordings of work (art, coding, etc)

Save yourself hours of editing when working with recordings of work (art, coding, etc)

Donald Feury
Appalachian Boi
Originally published at blog.feurious.com Updated on ・1 min read

The Magic

This is probably one of the more helpful tricks I've shown off so far.

Here is command using ffmpeg that will, get this, remove all frozen frames from a video, leaving only the frames showing work being done.

ffmpeg -i video.mp4 -vf mpdecimate,setpts=N/FRAME_RATE/TB -an out.mp4
Enter fullscreen mode Exit fullscreen mode

Let this run for awhile and BOOM, you get a clean recording devoid of down time.

This has one catch, mpdecimate, the filter removing the frozen frames, only operates on the frames of a video, not the audio.

I use the -an option to remove the audio, if not, it would be desynced and make no sense.

This has saved me HOURS of editing when working on my wife's recording of her doing graphic design work.

I hope it helps ya'll too.

The Plug

If this trick helped ya'll, I would appreciate it if you would share the YouTube video and go sub to my channel, I'm working on growing my channel and any help would be amazing.

Discussion (2)

Collapse
davidjames profile image
DavidJames

I love simple. I'm not gonna do the upvote/subscribe/whatever you (or anyone else) requests (because it demeans and commodifies simple human interactions) but I do appreciate the information. Thank you.

Collapse
dak425 profile image
Donald Feury Author • Edited

ok