../../src/ardrone/video.cpp:81:61: error: use of undeclared identifier 'PIX_FMT_BGR24'; did you mean 'AV_PIX_FMT_BGR24'?
bufferBGR = (uint8_t*)av_mallocz(avpicture_get_size(PIX_FMT_BGR24, pCodecCtx->width, pCodecCtx->height) * sizeof...
^~~~~~~~~~~~~
AV_PIX_FMT_BGR24
../../src/ardrone/video.cpp:87:132: error: use of undeclared identifier 'PIX_FMT_BGR24'; did you mean 'AV_PIX_FMT_BGR24'?
...pCodecCtx->height, pCodecCtx->pix_fmt, pCodecCtx->width, pCodecCtx->height, PIX_FMT_BGR24, SWS_SPLINE, NULL, NULL, NULL);
^~~~~~~~~~~~~
AV_PIX_FMT_BGR24
../../src/ardrone/video.cpp:103:61: error: use of undeclared identifier 'PIX_FMT_BGR24'; did you mean 'AV_PIX_FMT_BGR24'?
bufferBGR = (uint8_t*)av_mallocz(avpicture_get_size(PIX_FMT_BGR24, pCodecCtx->width, pCodecCtx->height));
^~~~~~~~~~~~~
AV_PIX_FMT_BGR24
Recent ffmpeg(>=3.0) doesn't declare PIX_FMT_BGR24, discussed in this issue.
opencv_imgcodecs not found in opencv 2.4, discussed in this issue
env
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.11.5
BuildVersion: 15F34
$ brew info opencv
homebrew/science/opencv: stable 2.4.13 (bottled), HEAD
Open source computer vision library
$ ffmpeg
ffmpeg version 3.0.2 Copyright (c) 2000-2016 the FFmpeg developers
Hello!
I fixed some bugs on make for mac(unix).
PIX_FMT_BGR24 error
on make, this error occurred.
Recent ffmpeg(>=3.0) doesn't declare PIX_FMT_BGR24, discussed in this issue.
library option error
on make, this error occurred.
opencv_imgcodecs not found in opencv 2.4, discussed in this issue
env