[FFmpeg-devel] [PATCH] lavfi test for 1-1 filters pixel format output

Stefano Sabatini stefano.sabatini-lala
Sun May 23 22:53:40 CEST 2010


On date Thursday 2010-04-01 01:36:08 +0200, Michael Niedermayer encoded:
> On Mon, Mar 22, 2010 at 11:52:12PM +0100, Stefano Sabatini wrote:
> > Hi,
> > 
> > this test checks for the output of some selected filters with all the
> > input pixel formats supported by each of the filters.
> > 
> > Only filters with exactly one input and one output are tested.
> > 
> > Note that many of the issued files *cannot be reproduced* y ffplay, as
> > for many of them there is no support by nut.
> > 
> > While we'll find some way to extend nut for that, here it is the patch
> > for the first review.
[...]
> anyway most of this patch falls under the shell script posix area
> so review left to mans

Patch updated against latest SVN.

Also I just run a test, and I noticed many garbled output files.

To test add a line in Makefile:

LAVFI_TESTS =           \
    crop                \
...
    lavfi_pix_fmts      \

and run make regtest-lavfi_pix_fmts.

In order to see all the issued files I'm running this script:
for f in (ls tests/data/lavfi/*.nut); do ~/src/ffmpeg.git/ffplay $f; end

and then I'm visually checking the output files.

I noticed garbled output with the formats:
gray16be
nv12
nv21
yuv420p16be
rgb444 / bgr444

and there are possibly others, so help in this area is much
appreciated.

Regards.
-- 
FFmpeg = Fierce & Fierce Miracolous Prodigious Elitarian Geisha



More information about the ffmpeg-devel mailing list