Re: [FFmpeg-devel] [PATCH] lavf/vf_freezedetect: improve for the freeze frame detection

2019-07-15 Thread Limin Wang
On Mon, Jul 15, 2019 at 11:07:32PM +0200, Marton Balint wrote: > > > On Mon, 15 Jul 2019, Limin Wang wrote: > > [...] > > >if (s->width[plane]) { > >uint64_t plane_sad; > >s->sad(frame->data[plane], frame->linesize[plane], > >@@ -140,8 +146,12 @@

Re: [FFmpeg-devel] [PATCH] lavf/vf_freezedetect: improve for the freeze frame detection

2019-07-15 Thread Marton Balint
On Mon, 15 Jul 2019, Limin Wang wrote: [...] >>>if (s->width[plane]) { >>>uint64_t plane_sad; >>>s->sad(frame->data[plane], frame->linesize[plane], >>>@@ -140,8 +146,12 @@ static int is_frozen(FreezeDetectContext *s, AVFrame *reference, AVFrame *frame) >>>

Re: [FFmpeg-devel] [PATCH] lavf/vf_freezedetect: improve for the freeze frame detection

2019-07-14 Thread Limin Wang
On Sun, Jul 14, 2019 at 11:51:27AM +0200, Marton Balint wrote: > > > On Sun, 14 Jul 2019, Limin Wang wrote: > > >On Sat, Jul 13, 2019 at 07:24:59PM +0200, Marton Balint wrote: > >> > >> > >>On Sat, 13 Jul 2019, lance.lmw...@gmail.com wrote: > >> > >>>From: Limin Wang > >>> > >>>I have samples

Re: [FFmpeg-devel] [PATCH] lavf/vf_freezedetect: improve for the freeze frame detection

2019-07-14 Thread Marton Balint
On Sun, 14 Jul 2019, Limin Wang wrote: On Sat, Jul 13, 2019 at 07:24:59PM +0200, Marton Balint wrote: On Sat, 13 Jul 2019, lance.lmw...@gmail.com wrote: >From: Limin Wang > >I have samples failed to detect the freeze frame with the default -60dB >noise(-40dB is OK to detect), >after

Re: [FFmpeg-devel] [PATCH] lavf/vf_freezedetect: improve for the freeze frame detection

2019-07-13 Thread Limin Wang
On Sat, Jul 13, 2019 at 07:24:59PM +0200, Marton Balint wrote: > > > On Sat, 13 Jul 2019, lance.lmw...@gmail.com wrote: > > >From: Limin Wang > > > >I have samples failed to detect the freeze frame with the default -60dB > >noise(-40dB is OK to detect), > >after apply the patch, it's ok to

Re: [FFmpeg-devel] [PATCH] lavf/vf_freezedetect: improve for the freeze frame detection

2019-07-13 Thread Marton Balint
On Sat, 13 Jul 2019, lance.lmw...@gmail.com wrote: From: Limin Wang I have samples failed to detect the freeze frame with the default -60dB noise(-40dB is OK to detect), after apply the patch, it's ok to detect. I run the testing with fate-suite sample for your testing: old: no freeze

[FFmpeg-devel] [PATCH] lavf/vf_freezedetect: improve for the freeze frame detection

2019-07-13 Thread lance . lmwang
From: Limin Wang I have samples failed to detect the freeze frame with the default -60dB noise(-40dB is OK to detect), after apply the patch, it's ok to detect. I run the testing with fate-suite sample for your testing: old: no freeze frame detect. with the patch: ./ffmpeg -i