Re: [FFmpeg-devel] [PATCH 2/2] lavfi: add testsrc2 test source.
Le sextidi 16 brumaire, an CCXXIV, Paul B Mahol a écrit : > Should be fine. Pushed like that. Thanks for all the remarks. Regards, -- Nicolas George signature.asc Description: Digital signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] [PATCH 2/2] lavfi: add testsrc2 test source.
On 10/25/15, Nicolas Georgewrote: > Similar to testsrc, but using drawutils and therefore > supporting a lot of pixel formats instead of just rgb24. > This allows using it as input for other tests without > requiring a format conversion. > It is also slightly faster than testsrc for some reason. > > Signed-off-by: Nicolas George > --- > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/vsrc_testsrc.c | 271 > + > tests/fate/filter-video.mak| 9 ++ > tests/ref/fate/filter-testsrc2-rgb24 | 71 + > tests/ref/fate/filter-testsrc2-yuv420p | 71 + > tests/ref/fate/filter-testsrc2-yuv444p | 71 + > 7 files changed, 495 insertions(+) > create mode 100644 tests/ref/fate/filter-testsrc2-rgb24 > create mode 100644 tests/ref/fate/filter-testsrc2-yuv420p > create mode 100644 tests/ref/fate/filter-testsrc2-yuv444p Should be fine. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] [PATCH 2/2] lavfi: add testsrc2 test source.
Le sextidi 6 brumaire, an CCXXIV, Clement Boesch a écrit : > 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. None of these seem really better than testsrc2, they introduce a new non-intuitive name. For now, I think I will stick to testsrc2. > 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 > candidate. This would be useful indeed. Unfortunately, all the drawutils code is really 8-bits-centric. If someone updates it to work with higher bit depths, then this source would be able to somewhat make use of it: with a little change, the diagonal gradient and the noise checkers can make use of the low order bits. For high bit depth, I suspect some kind of fractal or other mathematical pattern generator would be more suited. Regards, -- Nicolas George signature.asc Description: Digital signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] [PATCH 2/2] lavfi: add testsrc2 test source.
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 candidate. -- Clément B. signature.asc Description: PGP signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] [PATCH 2/2] lavfi: add testsrc2 test source.
On Mon, Oct 26, 2015, at 02:31 PM, Nicolas George wrote: > Also: I agree that testsrc2 is not the best name ever, but I have no idea > what to make of it. Just throwing out a few ideas: * d(u)testsrc - I realize that sounds like "detest", but it refers to drawutils * testpattern * patternsrc ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] [PATCH 2/2] lavfi: add testsrc2 test source.
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? 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? Regards, -- Nicolas George signature.asc Description: Digital signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] [PATCH 2/2] lavfi: add testsrc2 test source.
On Sun, Oct 25, 2015 at 04:06:15PM +, Paul B Mahol wrote: > On 10/25/15, Nicolas Georgewrote: > > Le quartidi 4 brumaire, an CCXXIV, Nicolas George a ecrit : > >> Similar to testsrc, but using drawutils and therefore > >> supporting a lot of pixel formats instead of just rgb24. > >> This allows using it as input for other tests without > >> requiring a format conversion. > >> It is also slightly faster than testsrc for some reason. > >> > >> Signed-off-by: Nicolas George > > > > Forgot to add: to see what it looks like without applying and compiling: > > > > http://www.normalesup.org/~george/tmp/testsrc2.mp4 > > http://www.normalesup.org/~george/tmp/testsrc2.png > > > > WOW, really looks nice. I slightly dislike name, have no better > alternative though. > Same. I also think the noise could get some improvement with a wider color spectrum. -- Clément B. signature.asc Description: PGP signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] [PATCH 2/2] lavfi: add testsrc2 test source.
Le quartidi 4 brumaire, an CCXXIV, Nicolas George a écrit : > Similar to testsrc, but using drawutils and therefore > supporting a lot of pixel formats instead of just rgb24. > This allows using it as input for other tests without > requiring a format conversion. > It is also slightly faster than testsrc for some reason. > > Signed-off-by: Nicolas GeorgeForgot to add: to see what it looks like without applying and compiling: http://www.normalesup.org/~george/tmp/testsrc2.mp4 http://www.normalesup.org/~george/tmp/testsrc2.png Regards, -- Nicolas George signature.asc Description: Digital signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] [PATCH 2/2] lavfi: add testsrc2 test source.
On 10/25/15, Nicolas Georgewrote: > Le quartidi 4 brumaire, an CCXXIV, Nicolas George a ecrit : >> Similar to testsrc, but using drawutils and therefore >> supporting a lot of pixel formats instead of just rgb24. >> This allows using it as input for other tests without >> requiring a format conversion. >> It is also slightly faster than testsrc for some reason. >> >> Signed-off-by: Nicolas George > > Forgot to add: to see what it looks like without applying and compiling: > > http://www.normalesup.org/~george/tmp/testsrc2.mp4 > http://www.normalesup.org/~george/tmp/testsrc2.png > WOW, really looks nice. I slightly dislike name, have no better alternative though. > Regards, > > -- > Nicolas George > ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel