[Libav-user] Build errors with OpenH264

Info || Non-Lethal Applications info at non-lethal-applications.com
Thu Jan 28 12:34:39 CET 2016


Hi guys,

I’ve been using the FFmpeg libs with OpenH264 without issues.
I just wanted to rebuild the FFmpeg libs with the latest stable version (2.8.5) and I’m now seeing build errors.
I also tried with the latest snapshot.

It appears that the FFmpeg wrapper doesn’t work properly with the current version of the OpenH264 library.
Is there a place where I can file a bug and what info will be needed?

Attached is the log (the essential part, the whole build log is very long).

Thanks and best regards.


CC	libavcodec/latm_parser.o
CC	libavcodec/lcldec.o
CC	libavcodec/lclenc.o
CC	libavcodec/libopenh264enc.o
CC	libavcodec/ljpegenc.o
CC	libavcodec/loco.o
libavcodec/libopenh264enc.c:49:81: error: use of undeclared identifier 'SM_AUTO_SLICE'; did you mean 'SM_RASTER_SLICE'?
    { "slice_mode", "Slice mode", OFFSET(slice_mode), AV_OPT_TYPE_INT, { .i64 = SM_AUTO_SLICE }, SM_SINGLE_SLICE, SM_RESERVED, VE, "slice_mode" },
                                                                                ^~~~~~~~~~~~~
                                                                                SM_RASTER_SLICE
/usr/local/include/wels/codec_app_def.h:331:3: note: 'SM_RASTER_SLICE' declared here
  SM_RASTER_SLICE         = 2, ///< | according to SlicesAssign    | need input of MB numbers each slice. In addition, if other constraint in SSliceArgument is presented, need to f...
  ^
libavcodec/libopenh264enc.c:51:83: error: use of undeclared identifier 'SM_ROWMB_SLICE'; did you mean 'SM_RASTER_SLICE'?
    { "rowmb", "One slice per row of macroblocks", 0, AV_OPT_TYPE_CONST, { .i64 = SM_ROWMB_SLICE }, 0, 0, VE, "slice_mode" },
                                                                                  ^~~~~~~~~~~~~~
                                                                                  SM_RASTER_SLICE
/usr/local/include/wels/codec_app_def.h:331:3: note: 'SM_RASTER_SLICE' declared here
  SM_RASTER_SLICE         = 2, ///< | according to SlicesAssign    | need input of MB numbers each slice. In addition, if other constraint in SSliceArgument is presented, need to f...
  ^
libavcodec/libopenh264enc.c:52:107: error: use of undeclared identifier 'SM_AUTO_SLICE'; did you mean 'SM_RASTER_SLICE'?
    { "auto", "Automatic number of slices according to number of threads", 0, AV_OPT_TYPE_CONST, { .i64 = SM_AUTO_SLICE }, 0, 0, VE, "slice_mode" },
                                                                                                          ^~~~~~~~~~~~~
                                                                                                          SM_RASTER_SLICE
/usr/local/include/wels/codec_app_def.h:331:3: note: 'SM_RASTER_SLICE' declared here
  SM_RASTER_SLICE         = 2, ///< | according to SlicesAssign    | need input of MB numbers each slice. In addition, if other constraint in SSliceArgument is presented, need to f...
  ^
libavcodec/libopenh264enc.c:132:29: error: no member named 'sSliceCfg' in 'SSpatialLayerConfig'
    param.sSpatialLayers[0].sSliceCfg.uiSliceMode               = s->slice_mode;
    ~~~~~~~~~~~~~~~~~~~~~~~ ^
libavcodec/libopenh264enc.c:133:29: error: no member named 'sSliceCfg' in 'SSpatialLayerConfig'
    param.sSpatialLayers[0].sSliceCfg.sSliceArgument.uiSliceNum = avctx->slices;
    ~~~~~~~~~~~~~~~~~~~~~~~ ^
5 errors generated.
make: *** [libavcodec/libopenh264enc.o] Error 1
make: *** Waiting for unfinished jobs....

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160128/03501a14/attachment.html>


More information about the Libav-user mailing list