[FFmpeg-devel] [PATCH] VP8 de/encode via libvpx
Reimar Döffinger
Reimar.Doeffinger
Wed May 19 22:50:36 CEST 2010
On Wed, May 19, 2010 at 01:27:41PM -0700, Baptiste Coudurier wrote:
> Hi,
>
> On 05/19/2010 01:22 PM, Reimar D?ffinger wrote:
> >On Wed, May 19, 2010 at 02:56:15PM -0400, David Conrad wrote:
> >>>+ /*FIXME set based on user parameters. for now we'll disable based on
> >>>+ libpostproc presence in mplayer/ffmpeg based builds*/
> >>>+ if(flags&VPX_CODEC_USE_POSTPROC) {
> >>>+ ppcfg.post_proc_flag = VP8_DEMACROBLOCK|VP8_DEBLOCK|VP8_ADDNOISE;
> >>>+ ppcfg.deblocking_level = 5;
> >>>+ ppcfg.noise_level = 1;
> >>>+ vpx_codec_control(&ctx->decoder,VP8_SET_POSTPROC,&ppcfg);
> >>>+ }
> >>
> >>IMO, a decoder shouldn't do postprocessing not required by the standard (e.g. in-loop filtering only)
> >
> >At the very least the post-processing must be significantly better than any of the generic
> >ones and it must be hard to improve the generic ones to perform similarly well.
> >Otherwise it's just a duplicate implementation that at best will confuse users as to which to use.
>
> While I agree with this, I think it is necessary to at least output
> the same picture as the other decoders in the wild by default.
> If other decoders use the postprocessing we should do it as well,
> otherwise this will confuse users. Being able to disable it is
> needed as well.
I don't have the impression users of our WMV, MPEG-4 and other decoders
are very confused (I'm not 100% sure on WMV, but the DivX MPEG-4 encoder
included post-processing).
More information about the ffmpeg-devel
mailing list