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

Michael Niedermayer michaelni at gmx.at
Sat Jun 18 14:55:20 CEST 2011


On Sat, Jun 18, 2011 at 01:13:11PM +0200, Stefano Sabatini wrote:
> 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
> source.
> 
> I'll add the missing docs if I see there is the will to include it in
> the actual form.

Fine with me

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110618/50bbfac2/attachment.asc>


More information about the ffmpeg-devel mailing list