[FFmpeg-user] Strange results with delogo filter, maybe a bug

Moritz Barsnick barsnick at gmx.net
Tue Aug 26 11:34:54 CEST 2014


Hi Andy,

On Tue, Aug 26, 2014 at 11:18:38 +0200, sxe wrote:
> I hope so cause i have no idea what do do :) , i can test if you like
> me to. I could build ffmpeg from git and apply the patch.

What I also meant is that there may be side-effects to this. There is
probably a good reason for this filter not supporting other
colorspaces. My change may horribly break something, it's just a pure
hack.

That said, feel free to use if it serves your particular purpose. :-)

And _do_ wait for proper feedback! There may be proper ways of
converting yuvj420p to yuv420p with less visible "loss".

Moritz
-------------- next part --------------
--- ffmpeg-build/libavfilter/vf_delogo.c~	2014-04-19 19:20:06.000000000 +0200
+++ ffmpeg-build/libavfilter/vf_delogo.c	2014-08-26 10:37:39.000000000 +0200
@@ -175,6 +175,9 @@
         AV_PIX_FMT_YUV444P,  AV_PIX_FMT_YUV422P,  AV_PIX_FMT_YUV420P,
         AV_PIX_FMT_YUV411P,  AV_PIX_FMT_YUV410P,  AV_PIX_FMT_YUV440P,
         AV_PIX_FMT_YUVA420P, AV_PIX_FMT_GRAY8,
+        AV_PIX_FMT_RGB24,    AV_PIX_FMT_BGR24,
+        AV_PIX_FMT_ARGB,     AV_PIX_FMT_ABGR,
+        AV_PIX_FMT_RGBA,     AV_PIX_FMT_BGRA,
         AV_PIX_FMT_NONE
     };
 


More information about the ffmpeg-user mailing list