编译 FFMPEG静态库

(make distclean      ./connfigure --arg     make     make install )


cd /C/ffmpeg


Then you have to configure FFmpeg, choosing what you want to install, how, and where.
If you want extra libraries (such as mp3lame, or xvid), checkout the Using External Libraries page after you're done with this step and the next one.
If you don't know what you want, just enter:

./configure --enable-memalign-hack

The --enable-memalign-hack option is necessary for FFmpeg to compile on Windows.
After a while, when it finishes configuring, it will go back to the prompt (the $ line, where you enter commands). You should see the following list:

If there are no errors, you're all set to make FFmpeg. Enter this in the prompt:
make

The program is already compiled. You can find the ffmpeg.exe executable on FFmpeg's folder.
After that, all you have to do is install the program, with the command:
炽
make install

按照以上步骤,编译,在MAKE时遇到以下错误:

“make: *** No rule to make target `libavdevice/libavdevice.a', needed by `all'.  Stop”


Fri Apr 11 23:55:06 CEST 2008
I downloaded from SVN the latest version 128xx something. Someone told me the 
older version works correctly. How can I get the older version?



Newsgroups: gmane.comp.video.ffmpeg.user
Date: 2008-04-11 14:45:43 GMT
(2 weeks, 1 day, 18 hours and 30 minutes ago)

(http://arrozcru.no-ip.org/ffmpeg_forum/viewtopic.php?p=2446&sid=987be785d208e369d6c9586f7dff59ab)
sgood, get a
make-3.81-MSYS-1.0.11-2 and enjoy ... http://sourceforge.net/project/showfiles.php?group_id=2435










$ make install
install -d "/usr/local/lib"
install -m 644 libavdevice/libavdevice.a "/usr/local/lib"
ranlib "/usr/local/lib/libavdevice.a"
install -d "/usr/local/lib"
install -m 644 libavformat/libavformat.a "/usr/local/lib"
ranlib "/usr/local/lib/libavformat.a"
install -d "/usr/local/lib"
install -m 644 libavcodec/libavcodec.a "/usr/local/lib"
ranlib "/usr/local/lib/libavcodec.a"
install -d "/usr/local/lib"
install -m 644 libavutil/libavutil.a "/usr/local/lib"
ranlib "/usr/local/lib/libavutil.a"
install -d "/usr/local/include/libavdevice"
install -d "/usr/local/lib/pkgconfig"
install -m 644 "/d/ffmpeg/libavdevice"/avdevice.h "/usr/local/include/libavdevic e"
install -m 644 "/d/ffmpeg"/libavdevice.pc "/usr/local/lib/pkgconfig"
install -d "/usr/local/include/libavformat"
install -d "/usr/local/lib/pkgconfig"
install -m 644 "/d/ffmpeg/libavformat"/avformat.h "/d/ffmpeg/libavformat"/avio.h "/d/ffmpeg/libavformat"/rtsp.h "/d/ffmpeg/libavformat"/rtspcodes.h "/usr/local/ include/libavformat"
install -m 644 "/d/ffmpeg"/libavformat.pc "/usr/local/lib/pkgconfig"
install -d "/usr/local/include/libavcodec"
install -d "/usr/local/lib/pkgconfig"
install -m 644 "/d/ffmpeg/libavcodec"/avcodec.h "/d/ffmpeg/libavcodec"/opt.h "/u sr/local/include/libavcodec"
install -m 644 "/d/ffmpeg"/libavcodec.pc "/usr/local/lib/pkgconfig"
install -d "/usr/local/include/libavutil"
install -d "/usr/local/lib/pkgconfig"
install -m 644 "/d/ffmpeg/libavutil"/adler32.h "/d/ffmpeg/libavutil"/avstring.h "/d/ffmpeg/libavutil"/avutil.h "/d/ffmpeg/libavutil"/base64.h "/d/ffmpeg/libavut il"/common.h "/d/ffmpeg/libavutil"/crc.h "/d/ffmpeg/libavutil"/fifo.h "/d/ffmpeg /libavutil"/intfloat_readwrite.h "/d/ffmpeg/libavutil"/log.h "/d/ffmpeg/libavuti l"/lzo.h "/d/ffmpeg/libavutil"/mathematics.h "/d/ffmpeg/libavutil"/md5.h "/d/ffm peg/libavutil"/mem.h "/d/ffmpeg/libavutil"/random.h "/d/ffmpeg/libavutil"/ration al.h "/d/ffmpeg/libavutil"/sha1.h "/usr/local/include/libavutil"
install -m 644 "/d/ffmpeg"/libavutil.pc "/usr/local/lib/pkgconfig"
install -d "/usr/local/bin"
install -c -m 755 ffmpeg.exe "/usr/local/bin"
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值