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

Jason Askew jason.askew
Sun May 13 04:31:27 CEST 2007


Ok.

I have yet to encounter a case with 1x1 as the best.

Two pass encoding will solve this, but I still will advocate that the
'default' is higher than 1x1.

If I need a mass of data to prove that over my word, I will provide
it.  What will it take?  Let me know I'll do it.



On 5/12/07, Benjamin Larsson <banan at ludd.ltu.se> wrote:
> 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
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>




More information about the ffmpeg-devel mailing list