[FFmpeg-user] problem configuring ffmpeg

PUTTA SUKESH putta.pv at gmail.com
Sat Sep 6 20:44:37 CEST 2014


use this compilation steps

STEP 1:
-------
/* Installing Dependencies */
sudo apt-get update
sudo apt-get -y install autoconf automake build-essentiallibfreetype6bdev

STEP 2:
-------
/* Installing Yasm for FFmpeg */
cd ~/ffmpeg_sources
wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
tar xzvf yasm-1.2.0.tar.gz
cd yasm-1.2.0
./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin"
make
make install
make distclean
export "PATH=$PATH:$HOME/bin"

STEP 3:
-------
/* Installing x264 for FFmpeg */
cd ~/ffmpeg_sources
wget http://download.videolan.org/pub/x264/snapshots/last_x264.tar.bz2
tar xjvf last_x264.tar.bz2
cd x264-snapshot*
./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin"
--enable-static
make
make install
make distclean

STEP 4:
-------
/* Installing ffmpeg for FFmpeg */
cd ~/ffmpeg_sources
wget http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
tar xjvf ffmpeg-snapshot.tar.bz2
cd ffmpeg
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"
export PKG_CONFIG_PATH
./configure --prefix="$HOME/ffmpeg_build"
--extra-cflags="-I$HOME/ffmpeg_build/include"
--extra-ldflags="-L$HOME/ffmpeg_build/lib" --bindir="$HOME/bin"
--extra-libs="-ldl" --enable-gpl --enable-libfreetype --enable-libx264
make
make install

it work for me



--sukesh


On Sat, Sep 6, 2014 at 9:09 PM, tat su <tatsu at hotmail.fr> wrote:

> Hello
>
> I just got from :
> http://ubuntuguide.org/wiki/Screencasts#Install_the_newest_version_of_FFMPEG_with_x11grab
> where I was following the install instructions.
>
> On slight variation : during the x264 configure I had to add --disable-asm
> wich allowed it to run successfully and the checkinstall gave positive
> results.
> So normally I have latest x264 from their get yet the configure from
> ffmpeg keeps saying libx264 not found.
>
> Anyways it said to report this so here I am.
>
> I am on ubuntu x64 14.04
>
> just a question am I able to run make anyways?
>
> here's the full terminal output (as far back as it goes) :
>
> Preparing to unpack .../x11proto-dri2-dev_2.8-2_all.deb ...
> Unpacking x11proto-dri2-dev (2.8-2) ...
> Selecting previously unselected package x11proto-gl-dev.
> Preparing to unpack .../x11proto-gl-dev_1.4.17-1_all.deb ...
> Unpacking x11proto-gl-dev (1.4.17-1) ...
> Selecting previously unselected package libgl1-mesa-dev.
> Preparing to unpack .../libgl1-mesa-dev_10.1.3-0ubuntu0.1_amd64.deb ...
> Unpacking libgl1-mesa-dev (10.1.3-0ubuntu0.1) ...
> Selecting previously unselected package libglu1-mesa-dev.
> Preparing to unpack .../libglu1-mesa-dev_9.0.0-2_amd64.deb ...
> Unpacking libglu1-mesa-dev (9.0.0-2) ...
> Selecting previously unselected package libmp3lame-dev:amd64.
> Preparing to unpack .../libmp3lame-dev_3.99.5+repack1-3ubuntu1_amd64.deb
> ...
> Unpacking libmp3lame-dev:amd64 (3.99.5+repack1-3ubuntu1) ...
> Selecting previously unselected package libogg-dev:amd64.
> Preparing to unpack .../libogg-dev_1.3.1-1ubuntu1_amd64.deb ...
> Unpacking libogg-dev:amd64 (1.3.1-1ubuntu1) ...
> Selecting previously unselected package libopencore-amrnb-dev:amd64.
> Preparing to unpack .../libopencore-amrnb-dev_0.1.3-2ubuntu1_amd64.deb ...
> Unpacking libopencore-amrnb-dev:amd64 (0.1.3-2ubuntu1) ...
> Selecting previously unselected package libopencore-amrwb-dev:amd64.
> Preparing to unpack .../libopencore-amrwb-dev_0.1.3-2ubuntu1_amd64.deb ...
> Unpacking libopencore-amrwb-dev:amd64 (0.1.3-2ubuntu1) ...
> Selecting previously unselected package libpulse-dev:amd64.
> Preparing to unpack .../libpulse-dev_1%3a4.0-0ubuntu11_amd64.deb ...
> Unpacking libpulse-dev:amd64 (1:4.0-0ubuntu11) ...
> Selecting previously unselected package libsdl1.2-dev.
> Preparing to unpack .../libsdl1.2-dev_1.2.15-8ubuntu1.1_amd64.deb ...
> Unpacking libsdl1.2-dev (1.2.15-8ubuntu1.1) ...
> Selecting previously unselected package libtheora-dev:amd64.
> Preparing to unpack .../libtheora-dev_1.1.1+dfsg.1-3.2_amd64.deb ...
> Unpacking libtheora-dev:amd64 (1.1.1+dfsg.1-3.2) ...
> Processing triggers for man-db (2.6.7.1-1) ...
> Processing triggers for doc-base (0.10.5) ...
> Processing 1 added doc-base file...
> Registering documents with scrollkeeper...
> Setting up libasound2-dev:amd64 (1.0.27.2-3ubuntu7) ...
> Setting up libavahi-common-dev (0.6.31-4ubuntu1) ...
> Setting up libavahi-client-dev (0.6.31-4ubuntu1) ...
> Setting up libslang2-dev:amd64 (2.2.4-15ubuntu1) ...
> Setting up libcaca-dev (0.99.beta18-1ubuntu5) ...
> Setting up libdrm-dev:amd64 (2.4.52-1) ...
> Setting up mesa-common-dev (10.1.3-0ubuntu0.1) ...
> Setting up libx11-xcb-dev:amd64 (2:1.6.2-1ubuntu2) ...
> Setting up libxcb-dri3-dev:amd64 (1.10-2ubuntu1) ...
> Setting up libxcb-randr0-dev:amd64 (1.10-2ubuntu1) ...
> Setting up libxcb-shape0-dev:amd64 (1.10-2ubuntu1) ...
> Setting up libxcb-xfixes0-dev:amd64 (1.10-2ubuntu1) ...
> Setting up libxcb-sync-dev:amd64 (1.10-2ubuntu1) ...
> Setting up libxcb-present-dev:amd64 (1.10-2ubuntu1) ...
> Setting up libxshmfence-dev:amd64 (1.1-2) ...
> Setting up libxcb-dri2-0-dev:amd64 (1.10-2ubuntu1) ...
> Setting up libxcb-glx0-dev:amd64 (1.10-2ubuntu1) ...
> Setting up x11proto-xf86vidmode-dev (2.3.1-2) ...
> Setting up libxxf86vm-dev:amd64 (1:1.1.3-1) ...
> Setting up x11proto-dri2-dev (2.8-2) ...
> Setting up x11proto-gl-dev (1.4.17-1) ...
> Setting up libgl1-mesa-dev (10.1.3-0ubuntu0.1) ...
> Setting up libglu1-mesa-dev (9.0.0-2) ...
> Setting up libmp3lame-dev:amd64 (3.99.5+repack1-3ubuntu1) ...
> Setting up libogg-dev:amd64 (1.3.1-1ubuntu1) ...
> Setting up libopencore-amrnb-dev:amd64 (0.1.3-2ubuntu1) ...
> Setting up libopencore-amrwb-dev:amd64 (0.1.3-2ubuntu1) ...
> Setting up libpulse-dev:amd64 (1:4.0-0ubuntu11) ...
> Setting up libsdl1.2-dev (1.2.15-8ubuntu1.1) ...
> Setting up libtheora-dev:amd64 (1.1.1+dfsg.1-3.2) ...
> t at tsu:~$ sudo apt-get install libva-dev libvdpau-dev libvorbis-dev
> libx11-dev libxfixes-dev libxvidcore-dev texi2html
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> libx11-dev is already the newest version.
> libx11-dev set to manually installed.
> libxfixes-dev is already the newest version.
> libxfixes-dev set to manually installed.
> The following packages were automatically installed and are no longer
> required:
>   kde-l10n-engb kde-l10n-fr linux-headers-3.13.0-32
>   linux-headers-3.13.0-32-generic linux-image-3.13.0-32-generic
>   linux-image-extra-3.13.0-32-generic linux-image-generic
>   linux-signed-image-3.13.0-32-generic
> Use 'apt-get autoremove' to remove them.
> The following extra packages will be installed:
>   libtext-unidecode-perl libva-drm1 libva-egl1 libva-glx1 libva-tpi1
>   libva-wayland1
> Suggested packages:
>   libvdpau-doc latex2html
> The following NEW packages will be installed:
>   libtext-unidecode-perl libva-dev libva-drm1 libva-egl1 libva-glx1
> libva-tpi1
>   libva-wayland1 libvdpau-dev libvorbis-dev libxvidcore-dev texi2html
> 0 upgraded, 11 newly installed, 0 to remove and 5 not upgraded.
> Need to get 1 344 kB of archives.
> After this operation, 8 751 kB of additional disk space will be used.
> Do you want to continue? [Y/n] y
> Get:1 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe libva-drm1
> amd64 1.3.0-2 [8 646 B]
> Get:2 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe libva-egl1
> amd64 1.3.0-2 [5 568 B]
> Get:3 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe libva-glx1
> amd64 1.3.0-2 [10,7 kB]
> Get:4 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe libva-tpi1
> amd64 1.3.0-2 [5 854 B]
> Get:5 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe libva-wayland1
> amd64 1.3.0-2 [7 912 B]
> Get:6 http://fr.archive.ubuntu.com/ubuntu/ trusty/main
> libtext-unidecode-perl all 0.04-2 [115 kB]
> Get:7 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe libva-dev
> amd64 1.3.0-2 [46,0 kB]
> Get:8 http://fr.archive.ubuntu.com/ubuntu/ trusty/main libvdpau-dev amd64
> 0.7-1 [38,3 kB]
> Get:9 http://fr.archive.ubuntu.com/ubuntu/ trusty/main libvorbis-dev
> amd64 1.3.2-1.3ubuntu1 [349 kB]
> Get:10 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe
> libxvidcore-dev amd64 2:1.3.2-9ubuntu1 [355 kB]
> Get:11 http://fr.archive.ubuntu.com/ubuntu/ trusty/main texi2html all
> 1.82+dfsg1-3 [403 kB]
> Fetched 1 344 kB in 2s (631 kB/s)
> Selecting previously unselected package libva-drm1:amd64.
> (Reading database ... 335478 files and directories currently installed.)
> Preparing to unpack .../libva-drm1_1.3.0-2_amd64.deb ...
> Unpacking libva-drm1:amd64 (1.3.0-2) ...
> Selecting previously unselected package libva-egl1:amd64.
> Preparing to unpack .../libva-egl1_1.3.0-2_amd64.deb ...
> Unpacking libva-egl1:amd64 (1.3.0-2) ...
> Selecting previously unselected package libva-glx1:amd64.
> Preparing to unpack .../libva-glx1_1.3.0-2_amd64.deb ...
> Unpacking libva-glx1:amd64 (1.3.0-2) ...
> Selecting previously unselected package libva-tpi1:amd64.
> Preparing to unpack .../libva-tpi1_1.3.0-2_amd64.deb ...
> Unpacking libva-tpi1:amd64 (1.3.0-2) ...
> Selecting previously unselected package libva-wayland1:amd64.
> Preparing to unpack .../libva-wayland1_1.3.0-2_amd64.deb ...
> Unpacking libva-wayland1:amd64 (1.3.0-2) ...
> Selecting previously unselected package libtext-unidecode-perl.
> Preparing to unpack .../libtext-unidecode-perl_0.04-2_all.deb ...
> Unpacking libtext-unidecode-perl (0.04-2) ...
> Selecting previously unselected package libva-dev:amd64.
> Preparing to unpack .../libva-dev_1.3.0-2_amd64.deb ...
> Unpacking libva-dev:amd64 (1.3.0-2) ...
> Selecting previously unselected package libvdpau-dev:amd64.
> Preparing to unpack .../libvdpau-dev_0.7-1_amd64.deb ...
> Unpacking libvdpau-dev:amd64 (0.7-1) ...
> Selecting previously unselected package libvorbis-dev:amd64.
> Preparing to unpack .../libvorbis-dev_1.3.2-1.3ubuntu1_amd64.deb ...
> Unpacking libvorbis-dev:amd64 (1.3.2-1.3ubuntu1) ...
> Selecting previously unselected package libxvidcore-dev:amd64.
> Preparing to unpack .../libxvidcore-dev_2%3a1.3.2-9ubuntu1_amd64.deb ...
> Unpacking libxvidcore-dev:amd64 (2:1.3.2-9ubuntu1) ...
> Selecting previously unselected package texi2html.
> Preparing to unpack .../texi2html_1.82+dfsg1-3_all.deb ...
> Unpacking texi2html (1.82+dfsg1-3) ...
> Processing triggers for man-db (2.6.7.1-1) ...
> Processing triggers for doc-base (0.10.5) ...
> Processing 2 added doc-base files...
> Registering documents with scrollkeeper...
> Processing triggers for install-info (5.2.0.dfsg.1-2) ...
> Setting up libva-drm1:amd64 (1.3.0-2) ...
> Setting up libva-egl1:amd64 (1.3.0-2) ...
> Setting up libva-glx1:amd64 (1.3.0-2) ...
> Setting up libva-tpi1:amd64 (1.3.0-2) ...
> Setting up libva-wayland1:amd64 (1.3.0-2) ...
> Setting up libtext-unidecode-perl (0.04-2) ...
> Setting up libva-dev:amd64 (1.3.0-2) ...
> Setting up libvdpau-dev:amd64 (0.7-1) ...
> Setting up libvorbis-dev:amd64 (1.3.2-1.3ubuntu1) ...
> Setting up libxvidcore-dev:amd64 (2:1.3.2-9ubuntu1) ...
> Setting up texi2html (1.82+dfsg1-3) ...
> Processing triggers for libc-bin (2.19-0ubuntu6.3) ...
> t at tsu:~$ cd
> t at tsu:~$ git clone git://git.videolan.org/x264
> Cloning into 'x264'...
> remote: Counting objects: 17729, done.
> remote: Compressing objects: 100% (3143/3143), done.
> remote: Total 17729 (delta 14605), reused 17665 (delta 14544)
> Receiving objects: 100% (17729/17729), 4.11 MiB | 849.00 KiB/s, done.
> Resolving deltas: 100% (14605/14605), done.
> Checking connectivity... done.
> t at tsu:~$ cd x264
> t at tsu:~/x264$ ./configure --enable-static
> Found no assembler
> Minimum version is yasm-1.2.0
> If you really want to compile without asm, configure with --disable-asm.
> t at tsu:~/x264$ make
> Makefile:3: config.mak: No such file or directory
> ./configure
> Found no assembler
> Minimum version is yasm-1.2.0
> If you really want to compile without asm, configure with --disable-asm.
> make: *** [config.mak] Error 1
> t at tsu:~/x264$ ./configure --enable-static --disable-asm
> platform:      X86_64
> system:        LINUX
> cli:           yes
> libx264:       internal
> shared:        no
> static:        yes
> asm:           no
> interlaced:    yes
> avs:           avxsynth
> lavf:          no
> ffms:          no
> mp4:           no
> gpl:           yes
> thread:        posix
> opencl:        yes
> filters:       crop select_every
> debug:         no
> gprof:         no
> strip:         no
> PIC:           no
> bit depth:     8
> chroma format: all
>
> You can run 'make' or 'make fprofiled' now.
> t at tsu:~/x264$ make
> cat common/opencl/x264-cl.h common/opencl/bidir.cl common/opencl/
> downscale.cl common/opencl/intra.cl common/opencl/motionsearch.cl
> common/opencl/subpel.cl common/opencl/weightp.cl | ./tools/cltostr.sh
> common/oclobj.h
> dependency file generation...
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o x264.o x264.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o input/input.o
> input/input.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> input/timecode.o input/timecode.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o input/raw.o
> input/raw.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o input/y4m.o
> input/y4m.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o output/raw.o
> output/raw.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> output/matroska.o output/matroska.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> output/matroska_ebml.o output/matroska_ebml.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o output/flv.o
> output/flv.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> output/flv_bytestream.o output/flv_bytestream.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> filters/filters.o filters/filters.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> filters/video/video.o filters/video/video.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> filters/video/source.o filters/video/source.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> filters/video/internal.o filters/video/internal.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> filters/video/resize.o filters/video/resize.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> filters/video/cache.o filters/video/cache.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> filters/video/fix_vfr_pts.o filters/video/fix_vfr_pts.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> filters/video/select_every.o filters/video/select_every.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> filters/video/crop.o filters/video/crop.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> filters/video/depth.o filters/video/depth.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o input/avs.o
> input/avs.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o input/thread.o
> input/thread.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o common/mc.o
> common/mc.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> common/predict.o common/predict.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o common/pixel.o
> common/pixel.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> common/macroblock.o common/macroblock.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o common/frame.o
> common/frame.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o common/dct.o
> common/dct.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o common/cpu.o
> common/cpu.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o common/cabac.o
> common/cabac.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o common/common.o
> common/common.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o common/osdep.o
> common/osdep.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> common/rectangle.o common/rectangle.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o common/set.o
> common/set.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o common/quant.o
> common/quant.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> common/deblock.o common/deblock.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o common/vlc.o
> common/vlc.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o common/mvpred.o
> common/mvpred.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> common/bitstream.o common/bitstream.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> encoder/analyse.o encoder/analyse.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o encoder/me.o
> encoder/me.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> encoder/ratecontrol.o encoder/ratecontrol.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o encoder/set.o
> encoder/set.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> encoder/macroblock.o encoder/macroblock.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o encoder/cabac.o
> encoder/cabac.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o encoder/cavlc.o
> encoder/cavlc.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> encoder/encoder.o encoder/encoder.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> encoder/lookahead.o encoder/lookahead.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> common/threadpool.o common/threadpool.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o common/opencl.o
> common/opencl.c
> gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I.
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o
> encoder/slicetype-cl.o encoder/slicetype-cl.c
> rm -f libx264.a
> ar rc libx264.a  common/mc.o common/predict.o common/pixel.o
> common/macroblock.o common/frame.o common/dct.o common/cpu.o common/cabac.o
> common/common.o common/osdep.o common/rectangle.o common/set.o
> common/quant.o common/deblock.o common/vlc.o common/mvpred.o
> common/bitstream.o encoder/analyse.o encoder/me.o encoder/ratecontrol.o
> encoder/set.o encoder/macroblock.o encoder/cabac.o encoder/cavlc.o
> encoder/encoder.o encoder/lookahead.o common/threadpool.o common/opencl.o
> encoder/slicetype-cl.o
> ranlib libx264.a
> gcc -o x264  x264.o input/input.o input/timecode.o input/raw.o input/y4m.o
> output/raw.o output/matroska.o output/matroska_ebml.o output/flv.o
> output/flv_bytestream.o filters/filters.o filters/video/video.o
> filters/video/source.o filters/video/internal.o filters/video/resize.o
> filters/video/cache.o filters/video/fix_vfr_pts.o
> filters/video/select_every.o filters/video/crop.o filters/video/depth.o
> input/avs.o input/thread.o libx264.a -ldl  -m64  -lm -lpthread -ldl
> t at tsu:~/x264$ sudo checkinstall --pkgname=x264
> --pkgversion="3:$(./version.sh|awk -F'[" ]' '/POINT/{print $4"+git"$5}')"
> --backup=no --deldoc=yes --fstrans=no --default
>
> checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
>            This software is released under the GNU GPL.
>
>
> The package documentation directory ./doc-pak does not exist.
> Should I create a default set of package docs?  [y]: y
>
> Preparing package documentation...OK
>
> *****************************************
> **** Debian package creation selected ***
> *****************************************
>
> This package will be built according to these values:
>
> 0 -  Maintainer: [ root at tsu ]
> 1 -  Summary: [ Package created with checkinstall 1.6.2 ]
> 2 -  Name:    [ x264 ]
> 3 -  Version: [ 3:0.142.2479+gitdd79a61 ]
> 4 -  Release: [ 1 ]
> 5 -  License: [ GPL ]
> 6 -  Group:   [ checkinstall ]
> 7 -  Architecture: [ amd64 ]
> 8 -  Source location: [ x264 ]
> 9 -  Alternate source location: [  ]
> 10 - Requires: [  ]
> 11 - Provides: [ x264 ]
> 12 - Conflicts: [  ]
> 13 - Replaces: [  ]
>
> Enter a number to change any of them or press ENTER to continue:
>
> Installing with make install...
>
> ========================= Installation results ===========================
> install -d /usr/local/bin
> install x264 /usr/local/bin
> install -d /usr/local/include
> install -d /usr/local/lib
> install -d /usr/local/lib/pkgconfig
> install -m 644 ./x264.h /usr/local/include
> install -m 644 x264_config.h /usr/local/include
> install -m 644 x264.pc /usr/local/lib/pkgconfig
> install -m 644 libx264.a /usr/local/lib
> ranlib /usr/local/lib/libx264.a
>
> ======================== Installation successful ==========================
>
> Copying documentation directory...
> ./
> ./doc/
> ./doc/threads.txt
> ./doc/standards.txt
> ./doc/ratecontrol.txt
> ./doc/vui.txt
> ./doc/regression_test.txt
> ./COPYING
> ./AUTHORS
>
> Copying files to the temporary directory...OK
>
> Stripping ELF binaries and libraries...OK
>
> Compressing man pages...OK
>
> Building file list...OK
>
> Building Debian package...OK
>
> Installing Debian package...OK
>
> Erasing temporary files...OK
>
> Deleting doc-pak directory...OK
>
> Deleting temp dir...OK
>
>
> **********************************************************************
>
>  Done. The new package has been installed and saved to
>
>  /home/t/x264/x264_0.142.2479+gitdd79a61-1_amd64.deb
>
>  You can remove it from your system anytime using:
>
>       dpkg -r x264
>
> **********************************************************************
>
> t at tsu:~/x264$ cd
> t at tsu:~$ git clone git://git.videolan.org/ffmpeg
> Cloning into 'ffmpeg'...
> remote: Counting objects: 384684, done.
> remote: Compressing objects: 100% (84953/84953), done.
> remote: Total 384684 (delta 305492), reused 377021 (delta 299090)
> Receiving objects: 100% (384684/384684), 92.41 MiB | 838.00 KiB/s, done.
> Resolving deltas: 100% (305492/305492), done.
> Checking connectivity... done.
> t at tsu:~$ cd ffmpeg
> t at tsu:~/ffmpeg$ ./configure --enable-gpl --enable-libfaac
> --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
> --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
> yasm/nasm not found or too old. Use --disable-yasm for a crippled build.
>
> If you think configure made a mistake, make sure you are using the latest
> version from Git.  If the latest version fails, report the problem to the
> ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
> Include the log file "config.log" produced by configure as this will help
> solve the problem.
> t at tsu:~/ffmpeg$ ./configure --enable-gpl --enable-libfaac
> --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
> --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
> --disable-awn
> Unknown option "--disable-awn".
> See ./configure --help for available options.
> t at tsu:~/ffmpeg$ ./configure --enable-gpl --enable-libfaac
> --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
> --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
> --disable-asm
> ERROR: libx264 not found
>
> If you think configure made a mistake, make sure you are using the latest
> version from Git.  If the latest version fails, report the problem to the
> ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
> Include the log file "config.log" produced by configure as this will help
> solve the problem.
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list