> On 11 Apr 2019, at 04:44, John Hawkinson <jh...@alum.mit.edu> wrote: > > Michael Shaffer <mikeshaf...@gmail.com> wrote on Wed, 10 Apr 2019 > at 19:40:36 -0400 in > <CAMrzi1s55GuHbXoWW+r6XibbDKdtsHa=x04vf5do4fhuquh...@mail.gmail.com>: > >> I'm pretty sure you could use Python and OpenCV to create a solution.. > > "Just because you can, doesn't mean you should." > > My original post explained how to determine where the runs of black are, > using ffmpeg (libavfilter)'s "blackdetect." The only piece left is applying > the edits in a practical fashion. > > Rolling your own with opencv would be a whole lot more work. I'm not entirely > sure that I agree with Carl Eugen that ffmpeg isn't a video editing tool, but > if it's not, Python certainly isn't. Yes, you can make it work. But you're > going to spend a lot more time doing it than if higher level tools were used. > > The goal here is for higher-level tools, not lower-level ones. > > Or I might just end up using ffmpeg to split it into 7,000 files and then > concatenating them. That's hardly the worst thing in the world.
Why split and cat? You are not doing editing, you want to mask (little) pieces, not shorten / extend / reshuffle, right? If you have all the in/out point, why not do a (png or alike) overlay on those points? Or, a subtitle overlay with a strange custom font (one big black rectangle char). Bouke > -- > jh...@alum.mit.edu > John Hawkinson > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".