[FFmpeg-user] How to use ffmpeg to detect commercials
patrickcusack at mac.com
Fri Oct 1 02:52:19 EEST 2021
Can I suggest loudness? I know that commercials in the states have a higher sustained volume than program.
Sent from my iPhone
> On Sep 30, 2021, at 3:19 PM, Carl Zwanzig <cpz at tuunq.com> wrote:
> On 9/30/2021 6:45 AM, Venkateswaran.S wrote:
>> You can easily detect the logo in image using opencv lib
> Yes, but that doesn't indicate much (the logo is often called a "bug" in broadcast).
> Detecting a "change of scene" is not too difficult, but here's the problem- how do you (technically) define a commercial? Then, how do you generally tell that apart from other programming?
> Most network programming will have a bug, but not all the time.
> That bug may move around from stream/channel to stream/channel.
> Often commercials have louder audio (where "louder" is a bit vague), and are more likely to be mono or 2.0 stereo instead of 3.1/5.1 stereo.
> Old programs, and lots of locally produced programs, usually have mono audio.
> etc etc
> Once someone details the characteristics to separate "What I want to see" (programs) from "What I don't want to see" (commercials), then we can then discuss methods.
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user