ffmpegdrv.c:206:27: error: use of undeclared identifier 'CODEC_ID_MPEG4'; did you mean 'AV_CODEC_ID_MPEG4'? { "FFMPEGVideoCodec", CODEC_ID_MPEG4, RES_EVENT_NO, NULL, ^~~~~~~~~~~~~~ AV_CODEC_ID_MPEG4 /usr/local/include/libavcodec/avcodec.h:207:5: note: 'AV_CODEC_ID_MPEG4' declared here AV_CODEC_ID_MPEG4, ^ ffmpegdrv.c:590:23: error: use of undeclared identifier 'PIX_FMT_RGB24'; did you mean 'AV_PIX_FMT_RGB24'? if (c->pix_fmt != PIX_FMT_RGB24) { ^~~~~~~~~~~~~ AV_PIX_FMT_RGB24 /usr/local/include/libavutil/pixfmt.h:64:5: note: 'AV_PIX_FMT_RGB24' declared here AV_PIX_FMT_RGB24, ///< packed RGB 8:8:8, 24bpp, RGBRGB... ^ http://package23.nyi.freebsd.org/data/103i386-default-PR207547/2016-10-04_18h24m30s/logs/errors/vice-gnome-2.4_7.log
A commit references this bug: Author: dinoex Date: Sun Nov 6 17:39:21 UTC 2016 New revision: 425573 URL: https://svnweb.freebsd.org/changeset/ports/425573 Log: - use new ffmpeg ids PR: 214189 Changes: head/emulators/vice/Makefile
Please test again for ffmpeg3
It also needs PixelFormat -> AVPixelFormat. ffmpegdrv.c:592:41: error: argument type 'enum PixelFormat' is incomplete (video_width, video_height, AV_PIX_FMT_RGB24, ^~~~~~~~~~~~~~~~
See comment 3.
A commit references this bug: Author: dinoex Date: Mon Nov 14 06:48:25 UTC 2016 New revision: 426087 URL: https://svnweb.freebsd.org/changeset/ports/426087 Log: - fix build with ffmpeg3 PR: 214189 Changes: head/emulators/vice/Makefile
I confirm, it builds fine with ffmpeg 3.2 now.