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



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; */




--
Gérard Vidal
tél : (0)4 78 61 29 35
e-mail Gerard F Vidal free fr
"Il est dans la nature humaine de penser sagement et d'agir de façon absurde."
Anatole France


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