Re: [FFmpeg-user] How to use ffmpeg to detect commercials

2021-09-30 Thread Patrick Cusack via ffmpeg-user
Can I suggest loudness? I know that commercials in the states have a higher sustained volume than program. Patrick Sent from my iPhone > On Sep 30, 2021, at 3:19 PM, Carl Zwanzig wrote: > > On 9/30/2021 6:45 AM, Venkateswaran.S wrote: >> You can easily detect the logo in image using opencv

Re: [FFmpeg-user] How to use ffmpeg to detect commercials

2021-09-30 Thread Carl Zwanzig
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) de

Re: [FFmpeg-user] blend filter

2021-09-30 Thread Michael Koch
Am 30.09.2021 um 19:19 schrieb Paul B Mahol: On Thu, Sep 30, 2021 at 7:06 PM Michael Koch wrote: I like the sample images for the blend filter that Paul has added here: https://trac.ffmpeg.org/wiki/Blend Can you please also share the command line for making these images? mpv av://lavfi:col

Re: [FFmpeg-user] How to use ffmpeg to detect commercials

2021-09-30 Thread Bo Berglund
On Thu, 30 Sep 2021 15:45:44 +0200, "Venkateswaran.S" wrote: >> I thinks it's not possible with ffmpeg command line tool. There is a >> *delogo* filter which removes the logo from the clip but doesn't tell you >> the timings where this logo appears. > >You can easily detect the logo in image usin

Re: [FFmpeg-user] blend filter

2021-09-30 Thread Paul B Mahol
On Thu, Sep 30, 2021 at 7:06 PM Michael Koch wrote: > I like the sample images for the blend filter that Paul has added here: > https://trac.ffmpeg.org/wiki/Blend > > Can you please also share the command line for making these images? > mpv av://lavfi:color=s=256x256,format=gbrp,geq=r=H-1-Y:g=H

[FFmpeg-user] blend filter

2021-09-30 Thread Michael Koch
I like the sample images for the blend filter that Paul has added here: https://trac.ffmpeg.org/wiki/Blend Can you please also share the command line for making these images? Thanks, Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https:/

Re: [FFmpeg-user] How to use ffmpeg to detect commercials

2021-09-30 Thread Venkateswaran.S
> > I thinks it's not possible with ffmpeg command line tool. There is a > *delogo* filter which removes the logo from the clip but doesn't tell you > the timings where this logo appears. You can easily detect the logo in image using opencv lib >

Re: [FFmpeg-user] How to use ffmpeg to detect commercials

2021-09-30 Thread Bo Berglund
On Wed, 29 Sep 2021 09:45:43 +0200, Bo Berglund wrote: >I am recording news streams off of the Internet using an automated system >during >my nights so I can view them at daytime in my time zone. This works OK but... > >Is there a way to have ffmpeg detect where in the video commercials start an

Re: [FFmpeg-user] xfade timing ambiguity

2021-09-30 Thread Rob Hallam
On Thu, 30 Sept 2021 at 10:57, Arif Driessen wrote: > Should we update the documentation to be clearer on this? (I am happy to do > the work). It was the source of a frustating timing issue that took me all > day to resolve. (back when I was emailing here about concating and fading > sources). Y

Re: [FFmpeg-user] xfade timing ambiguity

2021-09-30 Thread Paul B Mahol
On Thu, Sep 30, 2021 at 11:58 AM Arif Driessen wrote: > Consider this script: > > --- > #!/bin/bash > > ffmpeg \ > -v error \ > -filter_complex \ > " > color=blue, > trim=0:3 > [blue]; > > color=red, > trim=0:5 > [red]; > > [blue

Re: [FFmpeg-user] xfade timing ambiguity

2021-09-30 Thread Arif Driessen
Yikes In the example script please change: color=blue, trim=0:3 [blue]; to be 5 seconds long (trim=0:5), then follow along with the text below. SORRY! On Thu, Sep 30, 2021 at 11:57 AM Arif Driessen wrote: > Consider this script: > > --- > #!/bin/bash > > ffmpeg \ > -v error \ > -fi

[FFmpeg-user] xfade timing ambiguity

2021-09-30 Thread Arif Driessen
Consider this script: --- #!/bin/bash ffmpeg \ -v error \ -filter_complex \ " color=blue, trim=0:3 [blue]; color=red, trim=0:5 [red]; [blue][red] xfade " \ -vcodec libx264 \ -f matroska out.mkv && \ ffpr