ssut / ffmpeg-on-apple-silicon

Build ffmpeg for ARM-based Apple Silicon Macs
222 stars 48 forks source link

No ffplay? #5

Open wizyoung opened 3 years ago

wizyoung commented 3 years ago

It seems there is no ffplay bin file after the compilation?

374601404 commented 2 years ago

the same question,ffplay compile error

ZhangQinglian commented 1 year ago

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