vs2013编译FFMPEG. 连接错误问题.

参考文章:

http://www.jianshu.com/p/e72e6dce7f23?from=timeline&isappinstalled=0&utm_campaign=hugo&utm_content=note&utm_medium=reader_share&utm_source=weixin-timeline


按照文章方式.可以完整编译通过.(其中一些错误在最新版本的ffmpeg 中已经修复,不需要另外解决).


1.给出一个遇到问题解决方法:文章没有提到.

生成的工程按F5运行提示链接错误.(这个时候 其实exe文件已经生成.因为工程配置了属性 /FORCE:UNRESOLVED).

不能调试.(工具->选项->启动早期版本).


2.  当前工程需要从github下载 所需要的lib库, 分享一个bat脚本,放到下载的目录运行(即可自动下载所有的需要的lib库和ffmpeg工程).[需要系统安装过git]

     脚本保存bat.或者从我资源下载.(当然也可以运行 SMP目录下   project_get_dependencies.bat(这个更加炫酷,可以跟新依赖库的版本).)


C:\Program Files (x86)\Git\bin 替换为你git安装路径即可.


@echo off
set PATH=%PATH%;C:\Program Files (x86)\Git\bin

::ffmpeg
call:downLoadFun  FFmpeg     

::speex
call:downLoadFun  speex  

::libass
call:downLoadFun  libass  

::libvpx
call:downLoadFun  libvpx  

::harfbuzz
call:downLoadFun  harfbuzz 
  
::vorbis
call:downLoadFun  vorbis

::theora
call:downLoadFun  theora

::rtmpdump
call:downLoadFun  rtmpdump

::nettle
call:downLoadFun  nettle

::libxml2
call:downLoadFun  libxml2

::libssh
call:downLoadFun  libssh

::libgcrypt
call:downLoadFun  libgcrypt 

::libdvdread
call:downLoadFun  libdvdread  

::libdvdnav
call:downLoadFun  libdvdnav   

::libcdio-paranoia
call:downLoadFun  libcdio-paranoia

::libcdio
call:downLoadFun libcdio

::libbluray
call:downLoadFun libbluray

::libbdplus
call:downLoadFun libbdplus

::libaacs
call:downLoadFun libaacs

::gnutls
call:downLoadFun gnutls

::fontconfig
call:downLoadFun fontconfig

::x265
call:downLoadFun x265

::freetype2
call:downLoadFun freetype2

::opus
call:downLoadFun opus

call:downLoadFun libgpg-error

call:downLoadFun openssl

call:downLoadFun xvid

call:downLoadFun x264

call:downLoadFun gmp

call:downLoadFun fribidi

call:downLoadFun enca

call:downLoadFun SDL

call:downLoadFun mfx_dispatch

call:downLoadFun libdvdcss

call:downLoadFun game-music-emu

call:downLoadFun libilbc

call:downLoadFun soxr

call:downLoadFun ogg

call:downLoadFun lame

call:downLoadFun modplug

call:downLoadFun fdk-aac

call:downLoadFun liblzma

call:downLoadFun libiconv

call:downLoadFun zlib

call:downLoadFun bzip2

call:downLoadFun expat

call:downLoadFun PortAudio

call:downLoadFun FFVS-Project-Generator


pause

:downLoadFun  
if exist  "%cd%"/%1 (echo %1 downloaded) else  ^
git clone https://github.com/ShiftMediaProject/%1  "%cd%"/%1
echo.
goto:eof  



最后,    学习多媒体的 欢迎进群(    210324637 )  交流. 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值