[FFmpeg-devel] flashsvenc.c - sampling block size too low

Benjamin Larsson banan
Sat May 12 17:57:13 CEST 2007


Jason Askew wrote:
> Sampling block size in flashsvenc.c is currently set a 1x1 (or 16 x 16 pixels).
> 
> In the course of patching the file to handle negative linesizes, I ran
> some testing and found that 1x1 is no where near the sweet spot.
> Running a series of tests I've found that 3x3 generally gives a files
> size 1/4 to 1/3 of the current settings.
> 
> Any objections on a patch to bump these values up?  Performance will
> be enhanced.

This depends on the source so that would be rejected. A patch that adds
a block size parameter would probably be accepted.

> 
> Additionally, any objections to a patch to be able to pass in these params?
> 
> And, finally, two pass approach would be best to let flashsv figure
> out the optimum size by itself, so I may start working on that, also,
> if no objections are raised.

MvH
Benjamin Larsson




More information about the ffmpeg-devel mailing list