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

Stefano Sabatini stefano.sabatini-lala
Fri Jan 2 01:20:42 CET 2009

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").

FFmpeg = Frenzy and Faboulous Merciless Prodigious Educated Generator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vsrc_test_src.c
Type: text/x-csrc
Size: 7584 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090102/26852c0c/attachment.c>

More information about the ffmpeg-devel mailing list