Re: [Ekiga-devel-list] howto fix deprecated CODECs to compile in wheezy with deb-multimedia ffmpeg : a proposal



On 29/10/12 12:00, Gérard Vidal wrote:
Hi all

I have tried to compile various versions of ekiga on a Wheezy using
deb-multimedia repository  (I use it because version and compilation
options of ffmpeg fit better my needs...)

I got deprecated CODEC use problems when compiling  OPAL 3.A0 versions.
I was not able to find a direct answer and after googleing a little bit
I found some equivalents there :
http://ffmpeg.mplayerhq.hu/doxygen/trunk/group__deprecated__flags.html#g0ff21e19ec4e6945fd7d4b561602bad7
plus definitions in old files
and made the following changes that enable to compile. If that may help
some of you or future versions....

/deprecated codecs h263
===============

CODEC_FLAG_H263P_UMV            CODEC_FLAG_CBP_RD
CODEC_FLAG_H263P_SLICE_STRUCT        CODEC_FLAG_QP_RD
CODEC_FLAG_H263P_AIV               CODEC_FLAG2_LOCAL_HEADER
CODEC_FLAG_OBMC                CODEC_FLAG2_NO_OUTPUT
FF_I_TYPE                AV_PICTURE_TYPE_I

deprecated codecs mpeg4
================

CODEC_FLAG_H263P_UMV            CODEC_FLAG_CBP_RD
CODEC_FLAG_H263P_SLICE_STRUCT        CODEC_FLAG_QP_RD
FF_I_TYPE                AV_PICTURE_TYPE_I
CODEC_FLAG_PART                CODEC_FLAG2_DROP_FRAME_TIMECODE

deprecated codecs x264
===============

FF_ER_AGGRESSIVE
CODEC_FLAG2_BRDO
CODEC_FLAG2_MEMC_ONLY

/* Added  or commented for deprecation purposes */

#define CODEC_FLAG2_BRDO          0x00000400 ///<  B-frame
rate-distortion optimization
#define CODEC_FLAG2_MEMC_ONLY     0x00001000

/*     m_context->error_recognition = FF_ER_AGGRESSIVE; *//


Ok, thank you, I send this to opalvoip mailing list too. Hopefully we can clean up ffmpeg/libav issues sometime.

Eugen


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