[Ekiga-list] Better quality when decoding H264
- From: Étoile Dièse <jerome trullen etoilediese fr>
- To: Ekiga mailing list <ekiga-list gnome org>
- Subject: [Ekiga-list] Better quality when decoding H264
- Date: Wed, 30 Dec 2009 13:50:30 +0100
Hello,
Here a little modif for better H264 decoding quality with libavcodec in Opal : in file opal-3.6.6/plugins/video/H.264/h264-x264.cxx, in the method H264DecoderContext::H264DecoderContext(), after creating the context I inserted before line 204 the lines :
_context->workaround_bugs = FF_BUG_AUTODETECT;
_context->error_recognition = FF_ER_AGGRESSIVE;
_context->idct_algo = FF_IDCT_H264;
_context->error_concealment = FF_EC_GUESS_MVS | FF_EC_DEBLOCK;
_context->flags = CODEC_FLAG_INPUT_PRESERVED | CODEC_FLAG_EMU_EDGE;
_context->flags2 = CODEC_FLAG2_BRDO | CODEC_FLAG2_MEMC_ONLY | CODEC_FLAG2_DROP_FRAME_TIMECODE | CODEC_FLAG2_SKIP_RD | CODEC_FLAG2_CHUNKS;
and the image is much better, at least when called by a Grandstream GXV3000. I think that the most important one is the flag CODEC_FLAG2_CHUNKS in _context->flags2.
Regards,
--
Etoile Dièse
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]