[FFmpeg-user] backgroundkey filter

Paul B Mahol onemda at gmail.com
Wed Jun 19 19:07:09 EEST 2024


On Wed, Jun 19, 2024 at 6:00 PM 桃源老師 <xanadu6291 at dream.jp> wrote:

> Hello,
>
>
> > 2024/06/19 午後7:03、Paul B Mahol <onemda at gmail.com>のメール:
> >
> > Demo:
> >
> > ffmpeg -i https://media.xiph.org/video/derf/y4m/bowing_cif.y4m -vf
> "backgroundkey=threshold=0.2:similarity:0.02[v];color=s=cif:c=lime[c];[c][v]overlay=format=yuv422,format=yuv422p"
> > out.y4m
>
> Just tried to play with demo...my ffmpeg returns with error...Might be
> below portion of filter graph is wrong...
>
> Wrong:
>
> similarity:0.02
>
> Correct:
>
> similarity=0.02
>
>
Yes, it is mistake, initially I used just backgroundkey=0.2:0.02 and later
tried to add explicit options names to fix any possibility of confusion for
novice users that lacks knowledge of filtergraph CLI syntax...



> Best Regards,
>
> K.Miyamura_______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list