[FFmpeg-devel] [RFC] Lavfi test system

Stefano Sabatini stefano.sabatini-lala
Sun Mar 7 16:20:16 CET 2010


On date Sunday 2010-03-07 11:18:33 +0100, Stefano Sabatini encoded:
> On date Thursday 2010-01-07 23:36:02 +0100, Stefano Sabatini encoded:
[...]
> Patches implement a first series of ad-hoc per-filters tests,
> slicification is implicitely tested randomizing the size of the input
> slices.
> 
> For the slices size randomization I considered to use LCG, but then I
> saw that a trivial date '+%N' % MOD seemed to work quite fine and is
> less overkill.
> 
> Current limitations:
> 
> * with the new modular system is possible to compute the dependancy of
>   the tested component, and only try a test if the corresponding
>   component has been compiled in.
> 
>   In the case of filters things are trickier, as a single test
>   requires the interaction of different components (e.g.: at least the
>   slicify, scale filter and more).
> 
>   Since I bypassed this mechanism, "make lavfitest" will work only if
>   *all* the components have been compiled in.
> 
>   Also note that the "make lavfitest" only works when libavfilter
>   compilation has been enabled.
> 
> * the used container format (AVI) is not ideal when we have
>   timestamps, I plan to use NUT for this, if required I'll try to do
>   this *before* to commit the first part.
> 
>   Also as noted in the thread both AVI and NUT have problems with many
>   raw pixel formats, so we need somehow to extend/fix how they deal
>   with FourCCs.

Updated to make it use NUT.

Regards.
-- 
FFmpeg = Fierce and Friendly Magical Portable Elected Game
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-adhoc-lavfi-tests.patch
Type: text/x-diff
Size: 6250 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100307/97ac9457/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: randomize-lavfi-test-slice-sizes.patch
Type: text/x-diff
Size: 566 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100307/97ac9457/attachment-0001.patch>



More information about the ffmpeg-devel mailing list