[FFmpeg-devel] [PATCH 1/4] lavfi: add filter messages infrastructure.

Michael Niedermayer michaelni at gmx.at
Wed Jul 30 17:16:55 CEST 2014


On Wed, Jul 30, 2014 at 05:14:07PM +0200, Michael Niedermayer wrote:
> On Wed, Jul 30, 2014 at 03:52:34PM +0200, Nicolas George wrote:
> > Le sextidi 6 thermidor, an CCXXII, Nicolas George a écrit :
> > > Le sextidi 6 thermidor, an CCXXII, Michael Niedermayer a écrit :
> > > > the 4 patch set seems to break fate
> > > > TEST    swr-resample-s16p-48000-2626
> > > > stddev:    3.88 PSNR: 84.54 MAXDIFF:   15 bytes:    96000/    20416
> > > > Test swr-resample-s16p-8000-44100 failed. Look at tests/data/fate/swr-resample-s16p-8000-44100.err for details.
> > > > make: *** [fate-swr-resample-s16p-8000-44100] Error 1
> > > > make: *** Waiting for unfinished jobs....
> > > > stddev:    2.27 PSNR: 89.19 MAXDIFF:    7 bytes:    96000/    20416
> > > > Test swr-resample-s16p-8000-48000 failed. Look at tests/data/fate/swr-resample-s16p-8000-48000.err for details.
> > > > make: *** [fate-swr-resample-s16p-8000-48000] Error 1
> > > > stddev:    1.19 PSNR: 94.80 MAXDIFF:    4 bytes:   529200/    20418
> > > > Test swr-resample-s16p-44100-48000 failed. Look at tests/data/fate/swr-resample-s16p-44100-48000.err for details.
> > > > make: *** [fate-swr-resample-s16p-44100-48000] Error 1
> > > > stddev: 1395.14 PSNR: 33.44 MAXDIFF: 8594 bytes:    31512/    20416
> > > > Test swr-resample-s16p-2626-44100 failed. Look at tests/data/fate/swr-resample-s16p-2626-44100.err for details.
> > > > make: *** [fate-swr-resample-s16p-2626-44100] Error 1
> > > > stddev:   10.18 PSNR: 76.17 MAXDIFF:   27 bytes:   576000/    19304
> > > > Test swr-resample-s16p-48000-2626 failed. Look at tests/data/fate/swr-resample-s16p-48000-2626.err for details.
> > > > make: *** [fate-swr-resample-s16p-48000-2626] Error 1
> > > > stddev: 1395.21 PSNR: 33.44 MAXDIFF: 8606 bytes:    31512/    20416
> > > > Test swr-resample-s16p-2626-96000 failed. Look at tests/data/fate/swr-resample-s16p-2626-96000.err for details.
> > > > make: *** [fate-swr-resample-s16p-2626-96000] Error 1
> > 
> > These tests do not fail for me. Can you dig up the *.err files and/or give
> > some more details about the configuration? I use this on Debian/x86_64:
> > 
> > --enable-shared --disable-static --enable-gpl --enable-libx264
> > --enable-libopus --enable-libass --enable-libfreetype --enable-avresample
> > --assert-level=2
> 
> hmm
> 
> first try:
> make distclean ; ./configure --enable-gpl --samples=... --cc='ccache gcc' && make -j12 fate -k
> 
> 
> TEST    filter-pixfmts-il
> --- ./tests/ref/fate/filter-pixfmts-fieldmatch  2014-07-28 20:15:41.549377334 +0200
> +++ tests/data/fate/filter-pixfmts-fieldmatch   2014-07-30 16:38:36.516743355 +0200
> @@ -1,5 +1,5 @@
>  yuv410p             08518d1ceaf740696b26eb89325987c1
>  yuv411p             ca4b3b96c4f487fc293ad8d631f37660
> -yuv420p             2069df6ae54ce80f82d591ac753e66cc
> +yuv420p             e04d8e9607cc5f58feba0735536f1bfe
>  yuv422p             7b4fe261becce67a0eeeea0b6886d9f6
>  yuv444p             5a0ca602480a00e662017c2ecdfc4e1c
> Test yuv444p failed. Look at tests/data/fate/filter-pixfmts-fieldmatch.err for details.
> make: *** [fate-filter-pixfmts-fieldmatch] Error 1
> TEST    filter-pixfmts-kerndeint
> TEST    filter-pixfmts-lut
> TEST    filter-pixfmts-pad
> 
> i get the same failure on a second try but none of thw swr ones anymore
> 
> with the 2nd patch i get swr failures too:
> [...]
> Input #0, wav, from '/home/michael/ffmpeg-git/ffmpeg/tests/data/asynth-2626-1.wav':
>   Duration: 00:00:06.00, bitrate: 42 kb/s
>     Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 2626 Hz, 1 channels, s16, 42 kb/s
> Output #0, wav, to 'pipe:':
>   Metadata:
>     ISFT            : Lavf55.50.100
>     Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 2626 Hz, mono, s16, 42 kb/s
>     Metadata:
>       encoder         : Lavc55.71.100 pcm_s16le
> Stream mapping:
>   Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native))
> Press [q] to stop, [?] for help
> Error while filtering.
> [graph 0 input from stream 0:0 @ 0x1bba8c0] No EOF timestamp
> size=      20kB time=00:00:03.88 bitrate=  42.2kbits/s
> video:0kB audio:20kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.382053%
> 
> make fate-swr-resample-s32p-8000-2626
> TEST    swr-resample-s32p-8000-2626
> stddev: 2417.48 PSNR: 28.66 MAXDIFF:10437 bytes:    96000/    20284
> Test swr-resample-s32p-8000-2626 failed. Look at tests/data/fate/swr-resample-s32p-8000-2626.err for details.
> make: *** [fate-swr-resample-s32p-8000-2626] Error 1
> 
> The failure is not always occuring, sometimes it passes

heres some valgrind output:
==20004== Conditional jump or move depends on uninitialised value(s)
==20004==    at 0x500BF7: request_frame (af_aresample.c:231)
==20004==    by 0x4971D1: ff_request_frame (avfilter.c:346)
==20004==    by 0x497253: ff_request_frame (avfilter.c:348)
==20004==    by 0x500BF4: request_frame (af_aresample.c:230)
==20004==    by 0x4971D1: ff_request_frame (avfilter.c:346)
==20004==    by 0x497253: ff_request_frame (avfilter.c:348)
==20004==    by 0x499E10: avfilter_graph_request_oldest (avfiltergraph.c:1326)
==20004==    by 0x46BB73: main (ffmpeg.c:3544)
==20004==
==20004== Conditional jump or move depends on uninitialised value(s)
==20004==    at 0x500BFE: request_frame (af_aresample.c:233)
==20004==    by 0x4971D1: ff_request_frame (avfilter.c:346)
==20004==    by 0x497253: ff_request_frame (avfilter.c:348)
==20004==    by 0x500BF4: request_frame (af_aresample.c:230)
==20004==    by 0x4971D1: ff_request_frame (avfilter.c:346)
==20004==    by 0x497253: ff_request_frame (avfilter.c:348)
==20004==    by 0x499E10: avfilter_graph_request_oldest (avfiltergraph.c:1326)
==20004==    by 0x46BB73: main (ffmpeg.c:3544)
==20004==
==20004== Conditional jump or move depends on uninitialised value(s)
==20004==    at 0x4971DC: ff_request_frame (avfilter.c:349)
==20004==    by 0x497253: ff_request_frame (avfilter.c:348)
==20004==    by 0x500BF4: request_frame (af_aresample.c:230)
==20004==    by 0x4971D1: ff_request_frame (avfilter.c:346)
==20004==    by 0x497253: ff_request_frame (avfilter.c:348)
==20004==    by 0x499E10: avfilter_graph_request_oldest (avfiltergraph.c:1326)
==20004==    by 0x46BB73: main (ffmpeg.c:3544)
==20004==
==20004== Conditional jump or move depends on uninitialised value(s)
==20004==    at 0x497290: ff_request_frame (avfilter.c:355)
==20004==    by 0x497253: ff_request_frame (avfilter.c:348)
==20004==    by 0x500BF4: request_frame (af_aresample.c:230)
==20004==    by 0x4971D1: ff_request_frame (avfilter.c:346)
==20004==    by 0x497253: ff_request_frame (avfilter.c:348)
==20004==    by 0x499E10: avfilter_graph_request_oldest (avfiltergraph.c:1326)
==20004==    by 0x46BB73: main (ffmpeg.c:3544)
==20004==
==20004== Conditional jump or move depends on uninitialised value(s)
==20004==    at 0x49725E: ff_request_frame (avfilter.c:349)
==20004==    by 0x500BF4: request_frame (af_aresample.c:230)
==20004==    by 0x4971D1: ff_request_frame (avfilter.c:346)
==20004==    by 0x497253: ff_request_frame (avfilter.c:348)
==20004==    by 0x499E10: avfilter_graph_request_oldest (avfiltergraph.c:1326)
==20004==    by 0x46BB73: main (ffmpeg.c:3544)
==20004==
==20004== Conditional jump or move depends on uninitialised value(s)
==20004==    at 0x497290: ff_request_frame (avfilter.c:355)
==20004==    by 0x500BF4: request_frame (af_aresample.c:230)
==20004==    by 0x4971D1: ff_request_frame (avfilter.c:346)
==20004==    by 0x497253: ff_request_frame (avfilter.c:348)
==20004==    by 0x499E10: avfilter_graph_request_oldest (avfiltergraph.c:1326)
==20004==    by 0x46BB73: main (ffmpeg.c:3544)
==20004==
==20004== Conditional jump or move depends on uninitialised value(s)
==20004==    at 0x500BF7: request_frame (af_aresample.c:231)
==20004==    by 0x4971D1: ff_request_frame (avfilter.c:346)
==20004==    by 0x497253: ff_request_frame (avfilter.c:348)
==20004==    by 0x499E10: avfilter_graph_request_oldest (avfiltergraph.c:1326)
==20004==    by 0x46BB73: main (ffmpeg.c:3544)
==20004==
==20004== Conditional jump or move depends on uninitialised value(s)
==20004==    at 0x500BFE: request_frame (af_aresample.c:233)
==20004==    by 0x4971D1: ff_request_frame (avfilter.c:346)
==20004==    by 0x497253: ff_request_frame (avfilter.c:348)
==20004==    by 0x499E10: avfilter_graph_request_oldest (avfiltergraph.c:1326)
==20004==    by 0x46BB73: main (ffmpeg.c:3544)
==20004==
==20004== Conditional jump or move depends on uninitialised value(s)
==20004==    at 0x4971DC: ff_request_frame (avfilter.c:349)
==20004==    by 0x497253: ff_request_frame (avfilter.c:348)
==20004==    by 0x499E10: avfilter_graph_request_oldest (avfiltergraph.c:1326)
==20004==    by 0x46BB73: main (ffmpeg.c:3544)
==20004==
==20004== Conditional jump or move depends on uninitialised value(s)
==20004==    at 0x497290: ff_request_frame (avfilter.c:355)
==20004==    by 0x497253: ff_request_frame (avfilter.c:348)
==20004==    by 0x499E10: avfilter_graph_request_oldest (avfiltergraph.c:1326)
==20004==    by 0x46BB73: main (ffmpeg.c:3544)
==20004==
==20004== Conditional jump or move depends on uninitialised value(s)
==20004==    at 0x49725E: ff_request_frame (avfilter.c:349)
==20004==    by 0x499E10: avfilter_graph_request_oldest (avfiltergraph.c:1326)
==20004==    by 0x46BB73: main (ffmpeg.c:3544)
==20004==
==20004== Conditional jump or move depends on uninitialised value(s)
==20004==    at 0x497290: ff_request_frame (avfilter.c:355)
==20004==    by 0x499E10: avfilter_graph_request_oldest (avfiltergraph.c:1326)
==20004==    by 0x46BB73: main (ffmpeg.c:3544)
==20004==
==20004== Conditional jump or move depends on uninitialised value(s)
==20004==    at 0x499E19: avfilter_graph_request_oldest (avfiltergraph.c:1327)
==20004==    by 0x46BB73: main (ffmpeg.c:3544)
==20004==
==20004== Conditional jump or move depends on uninitialised value(s)
==20004==    at 0x46BB7D: main (ffmpeg.c:3545)
==20004==
==20004== Conditional jump or move depends on uninitialised value(s)
==20004==    at 0x46BB84: main (ffmpeg.c:3548)
==20004==
==20004== Conditional jump or move depends on uninitialised value(s)
==20004==    at 0x46BB8D: main (ffmpeg.c:3554)
==20004==
==20004== Conditional jump or move depends on uninitialised value(s)
==20004==    at 0x46BB96: main (ffmpeg.c:3663)
==20004==
==20004== Conditional jump or move depends on uninitialised value(s)
==20004==    at 0x46BBA2: main (ffmpeg.c:3663)
==20004==
Error while filtering.
[graph 0 input from stream 0:0 @ 0xac1bae0] No EOF timestamp
size=      20kB time=00:00:01.26 bitrate= 128.5kbits/s
video:0kB audio:20kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.384540%

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140730/e999028d/attachment.asc>


More information about the ffmpeg-devel mailing list