Re: [FFmpeg-devel] [PATCH] add phqm filter and img_hash

2019-10-26 Thread Chris Kennedy
On Sat, Oct 26, 2019 at 8:50 AM Jan Ekström wrote: > Hi, > > On Sat, Oct 26, 2019 at 4:35 PM Christopher Kennedy > wrote: > > The C OpenCV API is not recommended so this does the OpenCV part > > in C++ which allows it to be fully utilized and supported. So that seems > > better to me than using

Re: [FFmpeg-devel] [PATCH] add phqm filter and img_hash

2019-10-26 Thread Chris Kennedy
On Sat, Oct 26, 2019 at 4:15 AM Carl Eugen Hoyos wrote: > > Am Sa., 26. Okt. 2019 um 06:45 Uhr schrieb : > > > +// convert from avframe to iplimage format > > +static int fill_iplimage_from_frame(IplImage *img, const AVFrame *frame, > > enum AVPixelFormat pixfmt) > > +{ > > +IplImage *tmpimg;

Re: [FFmpeg-devel] [PATCH] libavfilter:vf_thumbnail.c: Fix bug in buffer handling for RGB width

2015-02-26 Thread Chris Kennedy
On Sun, Feb 22, 2015 at 7:26 AM, Clément Bœsch wrote: > On Wed, Feb 18, 2015 at 06:20:54PM -0800, Chris Kennedy wrote: > > More details attached, debug level and gdb backtrace. Hopefully this > > helps, and I will work on getting a file I can share showing the issue.

Re: [FFmpeg-devel] [PATCH] libavfilter/thumbnail filter, copy buffers instead of reference

2015-02-25 Thread Chris Kennedy
if (!thumb->frames[thumb->n].buf) { -av_frame_free(&frame); -return AVERROR(ENOMEM); -} -av_frame_copy_props(thumb->frames[thumb->n].buf, frame); - // Free original frame we have copied av_frame_free(&frame); On Wed, Feb 25, 2015 at 3:40 PM, Chris Ken

[FFmpeg-devel] [PATCH] libavfilter/thumbnail filter, copy buffers instead of reference

2015-02-25 Thread Chris Kennedy
ue for certain media but hit it on others, this should fix it for good now (since it also doesn't alter the chosen thumbnail that results)... Thanks, Chris --- Chris Kennedy Video Engineer CrunchyRoll - http://www.crunchyroll.com -- --- Chris Kennedy diff --git a/libavfilter/vf_thumbnail.c b/

Re: [FFmpeg-devel] [PATCH] libavfilter:vf_thumbnail.c: Fix bug in buffer handling for RGB width

2015-02-18 Thread Chris Kennedy
More details attached, debug level and gdb backtrace. Hopefully this helps, and I will work on getting a file I can share showing the issue. Thanks On Wed, Feb 18, 2015 at 4:09 PM, Chris Kennedy wrote: > On Wed, Feb 18, 2015 at 2:34 PM, Clément Bœsch wrote: > >> On Wed, Feb 18

Re: [FFmpeg-devel] [PATCH] libavfilter:vf_thumbnail.c: Fix bug in buffer handling for RGB width

2015-02-18 Thread Chris Kennedy
On Wed, Feb 18, 2015 at 2:34 PM, Clément Bœsch wrote: > On Wed, Feb 18, 2015 at 02:22:53PM -0800, Chris Kennedy wrote: > > This is a pretty obvious bug we caught in the thumbnail filter that is > very > > subtle and hardly ever shows issues except for certain videos. Yet it

[FFmpeg-devel] [PATCH] libavfilter:vf_thumbnail.c: Fix bug in buffer handling for RGB width

2015-02-18 Thread Chris Kennedy
, Chris -- --- Chris Kennedy Video Engineer CrunchyRoll - http://www.crunchyroll.com diff --git a/libavfilter/vf_thumbnail.c b/libavfilter/vf_thumbnail.c index 1883154..a1272a0 100644 --- a/libavfilter/vf_thumbnail.c +++ b/libavfilter/vf_thumbnail.c @@ -142,7 +142,8 @@ static int filter_frame