Re: [Ekiga-list] Better quality when decoding H264



Étoile Dièse wrote:
> 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.

Hi Étoile,

And thanks for your suggestion.  Opal is developed by another team,
could you please post your message to
<opalvoip-user lists sourceforge net> ?

(I can do it too, but I cannot answer if there are questions.)

Thanks,
-- 
Eugen


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]