프로그램 사용/ffmpeg & ffserver

ubuntu에서 ffmpeg 컴파일하기

구차니 2010. 1. 14. 00:16
소스는 tarball이던 svn이건 상관없을려나?

svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
[링크 : http://www.ffmpeg.org/download.html]

./configure --enable-libopencore-amrnb  --enable-libopencore-amrwb --enable-version3

libopencore-amrnb 와 libopencore-amrwb 를 사용하려면 version3로 라이센스를 바꾸어야 한다.
(upgrade (L)GPL to version 3)



머.. 그 다음에는 make/make install

$ ffmpeg --help | grep amr
FFmpeg version SVN-r21186, Copyright (c) 2000-2010 Fabrice Bellard, et al.
  built on Jan 14 2010 00:21:22 with gcc 4.4.1
  configuration: --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3
  libavutil     50. 7. 0 / 50. 7. 0
  libavcodec    52.47. 0 / 52.47. 0
  libavformat   52.46. 0 / 52.46. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0. 8. 0 /  0. 8. 0