How to compile FFMPEG under Windows

xiaoxiao2021-03-14  201

How to compile ffmpeg (extracted from ffmpeg document) under Windows

Install the current version of msys and mingw from http://www.mingw.org/. You can Find Detailed Installation Instructions in the download section and the faq.

If you want to test the ffmpeg Simple Media Player, Also Download The Mingw Development Library of SDL 1.2.x (`SDL-Devel-1.2.x-mingw32.tar.gz ') from http://www.libsdl.org. unpack it in a temporary place, and unpack the archive `i386-mingw32msvc.tar.gz 'in the MinGW tool directory. Edit the` sdl-config' script so that it gives the correct SDL directory when invoked.

Extract The Current Version of Ffmpeg (The Latest Release Version or The Current CVS Snapshot Whichever is Recommended).

Start the msys shell (file `msys.bat ').

Change to the FFMPEG directory and follow the instructions of how to compile ffmpeg (file `INSTALL '). Usually, launching` ./configure' and `make 'suffices. If you have problems using SDL, verify that` sdl-config' can Be launched from the msys commnd line.

You can install ffmpeg in `program files / ffmpeg 'by Typing` make install'. Don't forget to copy `Sdl.dll 'at the place you launch` ffplay'.

转载请注明原文地址:https://www.9cbs.com/read-129470.html

New Post(0)