Hacker News new | ask | show | jobs
by tmaly 1637 days ago
I am curious to know how you use ffmpeg for editing?

I have used it to slice up videos I recorded in batch.

1 comments

I use it extensively in a program I wrote out. I have it automatically trim out silence in front and end of clips and combine it with an algorithm to detect mistakes and take them out. Then it zooms in and out of clips and attaches pictures to create slideshows and adds transitions and cover pages etc based on a text file that gives instructions. Here’s the channel if you’re curious: https://m.youtube.com/c/rareliquid. All the transitions, photos, backgrounds, zooms, etc are automated.
Cool. Do you have something specific you do to flag a mistake for the algorithm, like clapping?
Any silence longer than two seconds/48 frames (or any length I program it for). Programming for claps would be easy as well and I’ve considered it, but I thought just staying silent would be easier for Ben (guy in the vid) than clapping all the time. Mistakes actually happen incredibly often.
do you use something like ffmpeg-python or just shell out?