In file included from avframe.cpp:26:
./avframe.h:42:8: error: ISO C++ forbids forward references to 'enum' types
enum PixelFormat pix_fmt;
avframe.cpp:34:5: error: use of undeclared identifier 'avcodec_alloc_frame'
avframe.cpp:96:58: error: use of undeclared identifier 'PIX_FMT_RGB24'; did you mean 'AV_PIX_FMT_RGB24'?
uint8_t *rgbbuffer=(uint8_t*)malloc(avpicture_get_size(PIX_FMT_RGB24, w, h)+64);
/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...
There exists a fork of dvbcut that should build with qt5 and ffmpeg3 instead of qt4 and ffmpeg2, see: https://github.com/bernhardu/dvbcut-deb
I have no idea, whether that fork has grown incompatible with FreeBSD, but I'd like to give it a try, but I'll be working abroad over the next few weeks and without access to my FreeBSD development box, so it will take some time ...
I'm about to commit an update to the dvbcut port that is based on a fork of the previous sources and whose author claims that it supports ffmpeg-3.x.
A commit references this bug:
Date: Mon Nov 14 07:51:33 UTC 2016
New revision: 426091
Update to version 0.7.0, which appears to be another fork of the no longer
maintained version 0.5.4 (or the already forked 0.6.2).
This version adds support for qt5 (port option, default remains at qt4) and
is claimed to be compatible with ffmpeg-3.x (not verified, yet).
Reported by: jbeich (ffmpeg-3 exp-run)
I confirm, it builds fine with ffmpeg 3.2 now.