diff mbox

[FFmpeg-devel,v3,3/3] FATE: add a test for freeezedetect

Message ID 20190823182722.GZ3219@michaelspb
State New
Headers show

Commit Message

Michael Niedermayer Aug. 23, 2019, 6:27 p.m. UTC
On Fri, Aug 23, 2019 at 08:17:09PM +0800, lance.lmwang@gmail.com wrote:
> From: Limin Wang <lance.lmwang@gmail.com>
> 
> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
> ---
>  tests/fate/filter-video.mak                 |   4 +
>  tests/ref/fate/filter-metadata-freezedetect | 251 ++++++++++++++++++++++++++++
>  2 files changed, 255 insertions(+)
>  create mode 100644 tests/ref/fate/filter-metadata-freezedetect

fails on mips apparently

TEST    filter-metadata-freezedetect
Test filter-metadata-freezedetect failed. Look at tests/data/fate/filter-metadata-freezedetect.err for details.


[...]

Comments

Limin Wang Aug. 24, 2019, 1:09 p.m. UTC | #1
On Fri, Aug 23, 2019 at 08:27:22PM +0200, Michael Niedermayer wrote:
> On Fri, Aug 23, 2019 at 08:17:09PM +0800, lance.lmwang@gmail.com wrote:
> > From: Limin Wang <lance.lmwang@gmail.com>
> > 
> > Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
> > ---
> >  tests/fate/filter-video.mak                 |   4 +
> >  tests/ref/fate/filter-metadata-freezedetect | 251 ++++++++++++++++++++++++++++
> >  2 files changed, 255 insertions(+)
> >  create mode 100644 tests/ref/fate/filter-metadata-freezedetect
> 
> fails on mips apparently

It seems that it's freezedetect failed to detect on mips system,
where to get remote mips system to check it further?

> 
> TEST    filter-metadata-freezedetect
> --- src/tests/ref/fate/filter-metadata-freezedetect	2019-08-23 18:22:57.427604188 +0200
> +++ tests/data/fate/filter-metadata-freezedetect	2019-08-23 19:58:54.035579539 +0200
> @@ -151,7 +151,7 @@
>  pkt_pts=150
>  pkt_pts=151
>  pkt_pts=152
> -pkt_pts=153|tag:lavfi.freezedetect.freeze_start=4.12|tag:lavfi.freezedetect.freeze_duration=2|tag:lavfi.freezedetect.freeze_end=6.12
> +pkt_pts=153
>  pkt_pts=154
>  pkt_pts=155
>  pkt_pts=156
> @@ -202,7 +202,7 @@
>  pkt_pts=201
>  pkt_pts=202
>  pkt_pts=203
> -pkt_pts=204|tag:lavfi.freezedetect.freeze_start=6.16|tag:lavfi.freezedetect.freeze_duration=2|tag:lavfi.freezedetect.freeze_end=8.16
> +pkt_pts=204
>  pkt_pts=205
>  pkt_pts=206
>  pkt_pts=207
> Test filter-metadata-freezedetect failed. Look at tests/data/fate/filter-metadata-freezedetect.err for details.
> 
> 
> [...]
> -- 
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> 
> The misfortune of the wise is better than the prosperity of the fool.
> -- Epicurus



> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
Marton Balint Aug. 24, 2019, 5:38 p.m. UTC | #2
On Sat, 24 Aug 2019, Limin Wang wrote:

> On Fri, Aug 23, 2019 at 08:27:22PM +0200, Michael Niedermayer wrote:
>> On Fri, Aug 23, 2019 at 08:17:09PM +0800, lance.lmwang@gmail.com wrote:
>> > From: Limin Wang <lance.lmwang@gmail.com>
>> > 
>> > Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
>> > ---
>> >  tests/fate/filter-video.mak                 |   4 +
>> >  tests/ref/fate/filter-metadata-freezedetect | 251 ++++++++++++++++++++++++++++
>> >  2 files changed, 255 insertions(+)
>> >  create mode 100644 tests/ref/fate/filter-metadata-freezedetect
>> 
>> fails on mips apparently
>
> It seems that it's freezedetect failed to detect on mips system,
> where to get remote mips system to check it further?

You can probably get an image for qemu.

Regards,
Marton
Limin Wang Aug. 25, 2019, 3:35 p.m. UTC | #3
On Sat, Aug 24, 2019 at 07:38:59PM +0200, Marton Balint wrote:
> 
> 
> On Sat, 24 Aug 2019, Limin Wang wrote:
> 
> >On Fri, Aug 23, 2019 at 08:27:22PM +0200, Michael Niedermayer wrote:
> >>On Fri, Aug 23, 2019 at 08:17:09PM +0800, lance.lmwang@gmail.com wrote:
> >>> From: Limin Wang <lance.lmwang@gmail.com>
> >>> > Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
> >>> ---
> >>>  tests/fate/filter-video.mak                 |   4 +
> >>>  tests/ref/fate/filter-metadata-freezedetect | 251 ++++++++++++++++++++++++++++
> >>>  2 files changed, 255 insertions(+)
> >>>  create mode 100644 tests/ref/fate/filter-metadata-freezedetect
> >>
> >>fails on mips apparently
> >
> >It seems that it's freezedetect failed to detect on mips system,
> >where to get remote mips system to check it further?
> 
> You can probably get an image for qemu.

Thanks, I'll try to get a working simulate mips system with qemu in future.
I feel it's not fate testing issue if x86 system is working.

> 
> Regards,
> Marton
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
Limin Wang Sept. 7, 2019, 3:05 p.m. UTC | #4
On Sat, Aug 24, 2019 at 07:38:59PM +0200, Marton Balint wrote:
> 
> 
> On Sat, 24 Aug 2019, Limin Wang wrote:
> 
> >On Fri, Aug 23, 2019 at 08:27:22PM +0200, Michael Niedermayer wrote:
> >>On Fri, Aug 23, 2019 at 08:17:09PM +0800, lance.lmwang@gmail.com wrote:
> >>> From: Limin Wang <lance.lmwang@gmail.com>
> >>> > Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
> >>> ---
> >>>  tests/fate/filter-video.mak                 |   4 +
> >>>  tests/ref/fate/filter-metadata-freezedetect | 251 ++++++++++++++++++++++++++++
> >>>  2 files changed, 255 insertions(+)
> >>>  create mode 100644 tests/ref/fate/filter-metadata-freezedetect
> >>
> >>fails on mips apparently
> >
> >It seems that it's freezedetect failed to detect on mips system,
> >where to get remote mips system to check it further?
> 
> You can probably get an image for qemu.
Sorry, I have tried to install one mips system with qemu successfully, 
however it failed to build FFmpeg, so I can't see the issue until now.

> 
> Regards,
> Marton
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
Limin Wang Oct. 21, 2019, 10:14 a.m. UTC | #5
On Fri, Aug 23, 2019 at 08:27:22PM +0200, Michael Niedermayer wrote:
> On Fri, Aug 23, 2019 at 08:17:09PM +0800, lance.lmwang@gmail.com wrote:
> > From: Limin Wang <lance.lmwang@gmail.com>
> > 
> > Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
> > ---
> >  tests/fate/filter-video.mak                 |   4 +
> >  tests/ref/fate/filter-metadata-freezedetect | 251 ++++++++++++++++++++++++++++
> >  2 files changed, 255 insertions(+)
> >  create mode 100644 tests/ref/fate/filter-metadata-freezedetect
> 
> fails on mips apparently

Have tested with mips and update to v4, please help to check it.

lmwang@ubuntu:~/ffmpeg.vlc.git$ ./ffmpeg
ffmpeg version N-95448-g346c33e Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
  configuration: --enable-gpl --enable-cross-compile --target-os=linux --cross-prefix=mips-linux-gnu- --cc=mips-linux-gnu-gcc --arch=mips --target-exec='qemu-mips -L /usr/mips-linux-gnu/ -cpu 74Kf' --extra-ldflags=-static --disable-pthreads --disable-mipsdspr2 --disable-mipsfpu --disable-mips32r6 --disable-mips64r6 --disable-asm --disable-optimizations --disable-network --disable-hwaccels
  libavutil      56. 35.101 / 56. 35.101
  libavcodec     58. 59.102 / 58. 59.102
  libavformat    58. 33.100 / 58. 33.100
  libavdevice    58.  9.100 / 58.  9.100
  libavfilter     7. 63.100 /  7. 63.100
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'
lmwang@ubuntu:~/ffmpeg.vlc.git$ make fate-filter-metadata-freezedetect SAMPLES=../fate-suite
TEST    filter-metadata-freezedetect

> 
> TEST    filter-metadata-freezedetect
> --- src/tests/ref/fate/filter-metadata-freezedetect	2019-08-23 18:22:57.427604188 +0200
> +++ tests/data/fate/filter-metadata-freezedetect	2019-08-23 19:58:54.035579539 +0200
> @@ -151,7 +151,7 @@
>  pkt_pts=150
>  pkt_pts=151
>  pkt_pts=152
> -pkt_pts=153|tag:lavfi.freezedetect.freeze_start=4.12|tag:lavfi.freezedetect.freeze_duration=2|tag:lavfi.freezedetect.freeze_end=6.12
> +pkt_pts=153
>  pkt_pts=154
>  pkt_pts=155
>  pkt_pts=156
> @@ -202,7 +202,7 @@
>  pkt_pts=201
>  pkt_pts=202
>  pkt_pts=203
> -pkt_pts=204|tag:lavfi.freezedetect.freeze_start=6.16|tag:lavfi.freezedetect.freeze_duration=2|tag:lavfi.freezedetect.freeze_end=8.16
> +pkt_pts=204
>  pkt_pts=205
>  pkt_pts=206
>  pkt_pts=207
> Test filter-metadata-freezedetect failed. Look at tests/data/fate/filter-metadata-freezedetect.err for details.
> 
> 
> [...]
> -- 
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> 
> The misfortune of the wise is better than the prosperity of the fool.
> -- Epicurus



> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
Michael Niedermayer Oct. 21, 2019, 6:07 p.m. UTC | #6
On Mon, Oct 21, 2019 at 06:14:21PM +0800, Limin Wang wrote:
> On Fri, Aug 23, 2019 at 08:27:22PM +0200, Michael Niedermayer wrote:
> > On Fri, Aug 23, 2019 at 08:17:09PM +0800, lance.lmwang@gmail.com wrote:
> > > From: Limin Wang <lance.lmwang@gmail.com>
> > > 
> > > Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
> > > ---
> > >  tests/fate/filter-video.mak                 |   4 +
> > >  tests/ref/fate/filter-metadata-freezedetect | 251 ++++++++++++++++++++++++++++
> > >  2 files changed, 255 insertions(+)
> > >  create mode 100644 tests/ref/fate/filter-metadata-freezedetect
> > 
> > fails on mips apparently
> 
> Have tested with mips and update to v4, please help to check it.

confirm, works on mips (and others i tested)

thx

[...]
diff mbox

Patch

--- src/tests/ref/fate/filter-metadata-freezedetect	2019-08-23 18:22:57.427604188 +0200
+++ tests/data/fate/filter-metadata-freezedetect	2019-08-23 19:58:54.035579539 +0200
@@ -151,7 +151,7 @@ 
 pkt_pts=150
 pkt_pts=151
 pkt_pts=152
-pkt_pts=153|tag:lavfi.freezedetect.freeze_start=4.12|tag:lavfi.freezedetect.freeze_duration=2|tag:lavfi.freezedetect.freeze_end=6.12
+pkt_pts=153
 pkt_pts=154
 pkt_pts=155
 pkt_pts=156
@@ -202,7 +202,7 @@ 
 pkt_pts=201
 pkt_pts=202
 pkt_pts=203
-pkt_pts=204|tag:lavfi.freezedetect.freeze_start=6.16|tag:lavfi.freezedetect.freeze_duration=2|tag:lavfi.freezedetect.freeze_end=8.16
+pkt_pts=204
 pkt_pts=205
 pkt_pts=206
 pkt_pts=207