NapoleonWils0n / ffmpeg-scripts

ffmpeg shell scripts
BSD 3-Clause "New" or "Revised" License
183 stars 42 forks source link

Cutting commercials #4

Open steve55792 opened 9 months ago

steve55792 commented 9 months ago

Good morning Sir, I was wondering what steps should i do with your ffmpeg scripts to cut commercials on my tv shows i recorded awhile back? I'm playing on Ubuntu.

                                                                                                                                    Thank you
                                                                                                                                          Steve
NapoleonWils0n commented 9 months ago

Hi Steve, there is actually an ffmpeg filter called black detect which is what most people use to detect ads

that would probably be the best tool for the job

ffmpeg black detect filter

using-ffmpegs-blackdetect-filter-to-identify-commercial-blocks

there is also something called comskip which i think can be used with kodi

comskip

edit decision lists

kodi edl

hop that helps