Closed hubutui closed 6 months ago
It would be better to build with ffmpeg 4. ArchLinux users see also AUR.
this patch works with ffmpeg 6
https://github.com/dmlc/decord/issues/186#issuecomment-1171882325
Resolved and now working in Mac as described in https://github.com/dmlc/decord/issues/186#issuecomment-2217166376
change cmake version to ffmpeg@4, then use command below: cmake .. -DCMAKE_BUILD_TYPE=Release -DFFMPEG_DIR=/opt/homebrew/opt/ffmpeg@4/
Errors:
quick fix, we need to add
#include <libavcodec/bsf.h>
to https://github.com/dmlc/decord/blob/d2e56190286ae394032a8141885f76d5372bd44b/src/video/ffmpeg/ffmpeg_common.h