ffmpeg-on-apple-silicon
ffmpeg-on-apple-silicon copied to clipboard
No ffplay?
It seems there is no ffplay bin file after the compilation?
the same question,ffplay compile error
It seems there is no ffplay bin file after the compilation?
function build_ffmpeg () {
echo '♻️ ' Start compiling FFMPEG
cd ${CMPLD}
cd ffmpeg
export LDFLAGS="-L${SRC}/lib ${LDFLAGS:-}"
export CFLAGS="-I${SRC}/include ${CFLAGS:-}"
export LDFLAGS="$LDFLAGS -lexpat -lenca -lfribidi -liconv -lstdc++ -lfreetype -framework CoreText -framework VideoToolbox"
./configure --prefix=${SRC} --extra-cflags="-fno-stack-check" --arch=${ARCH} --cc=/usr/bin/clang \
--enable-fontconfig --enable-gpl --enable-libopus --enable-libtheora --enable-libvorbis \
--enable-libmp3lame --enable-libass --enable-libfreetype --enable-libx264 --enable-libx265 --enable-libvpx \
--enable-libaom --enable-libvidstab --enable-libsnappy --enable-version3 --pkg-config-flags=--static \
--disable-ffplay --enable-postproc --enable-nonfree --enable-runtime-cpudetect
echo "build start"
start_time="$(date -u +%s)"
make -j ${NUM_PARALLEL_BUILDS}
end_time="$(date -u +%s)"
elapsed="$(($end_time-$start_time))"
make install
echo "[FFmpeg] $elapsed seconds elapsed for build"
}
remove the config --disable-ffplay