I have IP-Camera and it has an option of AES encription and I found out that to recieve an encripted data stream from IP Camera ffmpeg need to be compiled with --enable-aesenc flag and also if I want to have hardware support for HEVC and H.264 decoding from my IP Camera I need not only CPU or GPU with such abilities but also to use flags
--enable-vaapi (Incase I have Intel GPU)
or
--enable-vdpau (Incase I have Nvidia GPU)
during ffmpeg building
But I see no such options in make menuconfig menu. Am I correct in assuming that I need to edit ffmpeg-full Makefile in this case?
And if yes I believe building of such setup would require some additional libraries? Will they be downloaded automatically or I must take of it in advance and download it from somewhere?
Thank you!
UPD: It seems I have found lines which I need to edit to enable vaapi or vdpau
Here is lines of code in Makefile
FFMPEG_CONFIGURE:= \
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(FPIC) -Wno-error=incompatible-pointer-types" \
LDFLAGS="$(TARGET_LDFLAGS)" \
./configure \
--enable-cross-compile \
--cross-prefix="$(TARGET_CROSS)" \
--arch="$(ARCH)" \
$(if $(REAL_CPU_TYPE),--cpu=$(REAL_CPU_TYPE),) \
--target-os=linux \
--prefix="/usr" \
--pkg-config="pkg-config" \
--enable-shared \
--enable-static \
--enable-pthreads \
--enable-zlib \
--disable-doc \
--disable-debug \
\
--disable-lzma \
--disable-vaapi \
--disable-vdpau \
--disable-outdevs
It seems that I only need to change --disable-vaapi for --enable-vaapi, do I?