[FFmpeg-devel] [PATCH] lavfi test pattern generator

Stefano Sabatini stefano.sabatini-lala at poste.it
Sat Jun 18 13:13:11 CEST 2011

On date Friday 2009-01-02 01:20:42 +0100, Stefano Sabatini wrote:
> On date Sunday 2008-12-28 19:51:36 +0100, Stefano Sabatini encoded:
> > Hi all,
> > 
> > useful for testing, it is based on the test pattern generator by
> > Nicolas George:
> > http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-October/036838.html
> > 
> > basically I just stripped the audio signal generator and adapted few
> > things to the lavfi framework, so most credit goes to Nicolas.
> > 
> > And it would plenty cool to find some way to get ffmpeg/ffplay take as
> > input such a generator, but I still can't see how to do that.
> > 
> > What I can do now is to take as input /dev/null, then overlay the
> > test_pattern over it, but this is rather ugly.
> New improved version which avoids an unnecessary memcpy and with misc
> cleanups, also rename it to test_src (better name suggestions are
> welcome, I think the suffix "_src" is needed to avoid clashes with the
> filters namespace, for example "noise" versus "noise_src").

Updated version with API updates and some de-obfuscation.

This source is useful for testing purposes (e.g. for the lavfi indev),
and also provide a nice example of how to implement a non trivial

I'll add the missing docs if I see there is the will to include it in
the actual form.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-lavfi-add-test-source.patch
Type: text/x-diff
Size: 13804 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110618/325e7296/attachment.bin>

More information about the ffmpeg-devel mailing list