[FFmpeg-user] make error with openh264 enabling
Kimio Miyamura
xanadu at apost.plala.or.jp
Sun Feb 8 12:48:54 CET 2015
Hello list members,
I'm trying to update my ffmpeg compile guide for Mac OS X and I'm trying to enable OpenH264 on that guide.
Configuring passes without any problem but while making, I get an error like the following:
libavcodec/libopenh264enc.c:106:11: error: no member named
'bEnableSpsPpsIdAddition' in 'struct TagEncParamExt'
param.bEnableSpsPpsIdAddition = 0;
~~~~~ ^
1 error generated.
make: *** [libavcodec/libopenh264enc.o] Error 1
My friend fix this error with the following change with libavcodec/libopenh264enc.c.
$ diff -u a/libavcodec/libopenh264enc.c b/libavcodec/libopenh264enc.c
--- a/libavcodec/libopenh264enc.c 2015-02-08 15:09:21.000000000 +0900
+++ b/libavcodec/libopenh264enc.c 2015-02-08 18:54:24.000000000 +0900
@@ -103,7 +103,7 @@
param.bEnableLongTermReference = 0;
param.iLtrMarkPeriod = 30;
param.uiIntraPeriod = avctx->gop_size;
- param.bEnableSpsPpsIdAddition = 0;
+ param.eSpsPpsIdStrategy = 0;
param.bPrefixNalAddingCtrl = 0;
param.iLoopFilterDisableIdc = !s->loopfilter;
param.iEntropyCodingModeFlag = 0;
I'm not a kind of developer people. Just I know is the above make error can be fixed with change in libavcodec/libopenh264enc.c.
How do you think about it?
// Miya
More information about the ffmpeg-user
mailing list