[FFmpeg-devel] [PATCH 2/2] lavfi: add testsrc2 test source.

Clément Bœsch u at pkh.me
Tue Oct 27 09:57:58 CET 2015

On Mon, Oct 26, 2015 at 11:31:58PM +0100, Nicolas George wrote:
> Le quintidi 5 brumaire, an CCXXIV, Clement Boesch a écrit :
> > Same. I also think the noise could get some improvement with a wider
> > color spectrum.
> I agree, but unfortunately, there is no drawutils API to blend a colored
> mask. It would be necessary to write one, and I do not want to spend too
> much effort on this.
> I could change the color pseudo-randomly between the squares instead of
> making just a checkered pattern. Or I could blend random noise in red, then
> green then blue in a random order (alpha blending does not commute). Any
> suggestion?

No idea, sorry.

> Also: I agree that testsrc2 is not the best name ever, but I have no idea
> what to make of it. It could be testsrc with an option to select the mode,
> the default being the old mode (then printing a warning that the default
> will change, then changing the default). Again, what do people prefer?

We have testsrc and mptestsrc so... fftestsrc? or ffmire, miresrc,
colorfuzz, rainbowlicornsrc, ... or it could also just be a "ffmpeg" mode
option for testsrc so we could have all sort of mire templates (but that's
going to be inconsistent with the other smptebars & friends).

I don't know.


BTW, while I'm at it, I think a test source generating 10-12 bits video
stream would be great for testing purpose. This mire looks like a good

Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151027/73604eba/attachment.sig>

More information about the ffmpeg-devel mailing list