Dude take a chill pill...
The original ffmpeg recipe does the following:
PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl"
# Check codecs that require --enable-nonfree
USE_NONFREE = "${@bb.utils.contains_any('PACKAGECONFIG', [ 'faac', 'openssl' ], 'yes', '', d)}"
EXTRA_OECONF = " \
--disable-stripping \
--enable-pic \
--enable-shared \
--enable-pthreads \
${@bb.utils.contains('USE_NONFREE', 'yes', '--enable-nonfree', '', d)} \
\
--cross-prefix=${TARGET_PREFIX} \
\
--ld="${CCLD}" \
--arch=${TARGET_ARCH} \
--target-os="linux" \
--enable-cross-compile \
--extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
--extra-ldflags="${TARGET_LDFLAGS}" \
--sysroot="${STAGING_DIR_TARGET}" \
--enable-hardcoded-tables \
${EXTRA_FFCONF} \
--libdir=${libdir} \
--shlibdir=${libdir} \
--datadir=${datadir}/ffmpeg \
"
do_configure() {
${S}/configure ${EXTRA_OECONF}
}
If we pass openssl to the package config it will also enable all nonfree codecs.. so it's more than just openssl.
You 're fully right MastaG
Actually it is just opposed. (reed the configure script file)
If You enable openssl automatically non-free will be added.
Since openpli uses an bbappend file :
openpli-oe-core/meta-openpli/recipes-multimedia/ffmpeg/ffmpeg_3.%.bbappend
Just replace the lines (I already told this in this topic so just not now why there is still a unneeded fuss about openssl ? and then openssl is enabled dynamically linked to extern ssl library)
Here a repetition.
The original bbapend is :
RSUGGESTS_${PN} = ""
PROVIDES =+ " libavcodec53 libavformat53 libav"
PACKAGES =+ " libavcodec53 libavformat53 libav"
EXTRA_OECONF_append = " --disable-mipsdsp --disable-mipsdspr2 "
PACKAGECONFIG[avdevice] = "--enable-avdevice,--disable-avdevice"
change that into :
RSUGGESTS_${PN} = ""
PACKAGECONFIG = "avdevice avfilter avcodec avformat swresample swscale postproc \
bzlib gpl lzma theora x264 openssl vpx\
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xv', '', d)}"
EXTRA_OECONF_append = " --disable-mipsdsp --disable-mipsdspr2 "
The previous one was actually for the ffmpeg on older pli4 but better take on new and certainly master-next but it is also ok for pli4 the one above.
Then if ffmpeg is installed all is installed.
The codecs are in libavcodec (as fare the basic config has it set as a standard) which a almost 13 MB mb library much to big since only a fraction off it is needed on a stb.
All the rest is the binary utils also here the majority is not required.
the rest off packages installed :
the list
Homepage: https://www.ffmpeg.org/
Depends: libavcodec57 (>= 3.0), libpostproc54 (>= 3.0), libavdevice57 (>= 3.0), libavformat57 (>= 3.0), libswscale4 (>= 3.0), libc6 (>= 2.23), libavutil55 (>= 3.0), libswresample2 (>= 3.0), libavfilter6 (>= 3.0)
openssl is dynamically. linked.
With the above ffmpeg will be installed ok and run but there is to much installed.