编译FFPLAYER

Building FFplay

To build FFplay, you must have SDL-devel installed.

Go to http://www.libsdl.org/download-1.2.php, and near the end, at Development Libraries, get the latest under Win32, for MinGW32, not Visual C++.
http://www.libsdl.org/release/SDL-devel-1.2.13-mingw32.tar.gz

Unpack the file.

With Windows Explorer, go to the folder you just unpacked.
Copy all the files from the lib folder to C:/msys/mingw/lib/.
Copy the SDL folder from the include folder to C:/msys/mingw/include/.
Copy all the files from the bin folder to C:/msys/mingw/bin/.

Edit c:/msys/mingw/bin/sdl-config with an editor that understands Unix line endings (like wordpad.exe).
Change the line that says:
prefix=/Users/hercules/tmp/SDL-1.2.13
to
prefix=/mingw

The SDL.dll file must be in the PATH for ffplay.exe to run correctly.
The bin folder it was copied to, is in the PATH for MSys.
But if you want to run ffplay.exe from outside of MSys, you'll have to copy SDL.dll.


Now, whenever you run ./configure for FFmpeg, it should find SDL and build FFplay correctly. Build again just like Building FFmpeg SVN statically or Building FFmpeg SVN dlls.



$ ./configure --enable-shared --disable-static --enable-memalign-hack
install prefix /usr/local
source path /d/ffmpeg
C compiler gcc
.align is power-of-two no
ARCH x86_32 (generic)
big-endian no
MMX enabled yes
CMOV enabled no
CMOV is fast no
EBX available yes
EBP available no
gprof enabled no
debug symbols yes
strip symbols yes
optimizations yes
static no
shared yes
postprocessing support no
software scaler enabled no
new filter support no
filters using lavformat no
video hooking no
network support yes
IPv6 support no
threading support no
SDL support yes
Sun medialib support no
AVISynth enabled no
liba52 support no
liba52 dlopened no
libamr-nb support no
libamr-wb support no
libdc1394 support no
libfaac enabled no
libfaad enabled no
libfaad dlopened no
libgsm enabled no
libmp3lame enabled no
libnut enabled no
libtheora enabled no
libvorbis enabled no
x264 enabled no
XviD enabled no
zlib enabled no
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值