Install ffmpeg on Ubuntu 10.04

Note: These are my instructions for installing ffmpeg on ubuntu linux 10.04 server (lts). Most of the code here can be found on ubuntu forums also and probably you will find more stuff there.

Install requisite packages

sudo apt-get update
sudo apt-get install build-essential git-core checkinstall texi2html libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev libtheora-dev libvorbis-dev libx11-dev libxfixes-dev zlib1g-dev automake autoconf libxvidcore-dev

Install latest version of yasm

cd
git clone git://github.com/yasm/yasm.git
cd yasm
sh autogen.sh
make
sudo checkinstall --pkgname=yasm --pkgversion="1.1.0" --backup=no --deldoc=yes --default

Install x264

cd
git clone git://git.videolan.org/x264
cd x264
./configure
make
sudo checkinstall --pkgname=x264 --pkgversion "1:0.svn`date +%Y%m%d`-0.0ubuntu1" --backup=no --deldoc=yes --fstrans=no --install=yes --default

Install LAME for mp3 support

cd
sudo apt-get install nasm
wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.tar.gz
tar xzvf lame-3.99.tar.gz
cd lame-3.99
./configure
make
sudo checkinstall --pkgname=lame-ffmpeg --pkgversion="3.99" --backup=no --default --deldoc=yes

Install opencore-amr for amr support

cd
wget http://downloads.sourceforge.net/project/opencore-amr/vo-amrwbenc/vo-amrwbenc-0.1.1.tar.gz
tar zxvf vo-amrwbenc-0.1.1.tar.gz
cd vo-amrwbenc-0.1.1
./configure --disable-shared
make
sudo checkinstall --pkgname="libopencore-amr" --pkgversion="0.1.1" --backup=no --fstrans=no --install=yes --default

Install libtheora for ogg support

cd
wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2
tar jxvf libtheora-1.1.1.tar.bz2
cd libtheora-1.1.1
./configure --disable-shared
make
sudo checkinstall --pkgname=libtheora --pkgversion "1.1.1" --backup=no --fstrans=no --install=yes --default

Install faac

cd
sudo apt-get install unzip
wget http://downloads.sourceforge.net/faac/faac-1.28.tar.gz
tar zxvf faac-1.28.zip
cd faac-1.28
wget http://www.linuxfromscratch.org/patches/blfs/svn/faac-1.28-glibc_fixes-1.patch
patch -Np1 -i faac-1.28-glibc_fixes-1.patch
sed -i -e '/obj-type/d' -e '/Long Term/d' frontend/main.c
make
sudo checkinstall --pkgname=libfaac --pkgversion "1.28" --backup=no --fstrans=no --install=yes --default

Install FFmpeg

svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab
make
sudo checkinstall --pkgname=ffmpeg --pkgversion "0.8.5" --backup=no --fstrans=no --install=yes --default
nprathap

Ensure to Install x264 with the following option to ensure the FFMPEG works with x264.

cd /usr/local/src
git clone git://git.videolan.org/x264.git
cd /usr/local/src/x264/
./configure –prefix=/usr –enable-shared

Jeison

Buen día, he seguido este procedimiento para instalar la librería ffmpeg y tengo problema con la instalación de esta. En los pasos anteriores no obtuve problema, pero al hacer make en ffmpeg, aparece ….
jeison@jeison-laptop:~/ffmpeg make

libavformat/rtsp.c:570: warning: cast discards qualifiers from pointer target type
libavformat/rtsp.c:574: warning: cast discards qualifiers from pointer target type
libavformat/rtsp.c: In function ‘rtsp_parse_transport’:
libavformat/rtsp.c:659: warning: cast discards qualifiers from pointer target type
CC libavformat/rtspdec.o
CC libavformat/rtspenc.o
CC libavformat/sapdec.o
CC libavformat/sapenc.o
CC libavformat/sauce.o
CC libavformat/sdp.o
CC libavformat/seek.o
CC libavformat/segafilm.o
CC libavformat/sierravmd.o
CC libavformat/siff.o
CC libavformat/smacker.o
CC libavformat/sol.o
CC libavformat/soxdec.o
CC libavformat/soxenc.o
CC libavformat/spdif.o
CC libavformat/spdifdec.o
CC libavformat/spdifenc.o
CC libavformat/srtdec.o
CC libavformat/swfdec.o
CC libavformat/swfenc.o
libavformat/swfenc.c: In function ‘swf_write_video’:
libavformat/swfenc.c:424: warning: passing argument 4 of ‘av_fifo_generic_read’ from incompatible pointer type
./libavutil/fifo.h:77: note: expected ‘void (*)(void *, void *, int)’ but argument is of type ‘void (*)(struct ByteIOContext *, const unsigned char *, int)’
CC libavformat/tcp.o
CC libavformat/thp.o
CC libavformat/tiertexseq.o
CC libavformat/timefilter.o
CC libavformat/tmv.o
CC libavformat/tta.o
CC libavformat/tty.o
CC libavformat/txd.o
CC libavformat/udp.o
CC libavformat/utils.o
libavformat/utils.c: In function ‘av_iformat_next’:
libavformat/utils.c:126: warning: ‘first_iformat’ is deprecated (declared at libavformat/utils.c:116)
libavformat/utils.c: In function ‘av_oformat_next’:
libavformat/utils.c:132: warning: ‘first_oformat’ is deprecated (declared at libavformat/utils.c:121)
libavformat/utils.c: In function ‘av_register_input_format’:
libavformat/utils.c:138: warning: ‘first_iformat’ is deprecated (declared at libavformat/utils.c:116)
libavformat/utils.c: In function ‘av_register_output_format’:
libavformat/utils.c:147: warning: ‘first_oformat’ is deprecated (declared at libavformat/utils.c:121)
libavformat/utils.c: In function ‘av_seek_frame_generic’:
libavformat/utils.c:1709: warning: ‘read_seek’ is deprecated (declared at libavformat/avformat.h:448)
libavformat/utils.c:1710: warning: ‘read_seek’ is deprecated (declared at libavformat/avformat.h:448)
libavformat/utils.c: In function ‘av_seek_frame’:
libavformat/utils.c:1742: warning: ‘read_seek’ is deprecated (declared at libavformat/avformat.h:448)
libavformat/utils.c:1743: warning: ‘read_seek’ is deprecated (declared at libavformat/avformat.h:448)
libavformat/utils.c: In function ‘avformat_seek_file’:
libavformat/utils.c:1772: warning: ‘read_seek’ is deprecated (declared at libavformat/avformat.h:448)
libavformat/utils.c: In function ‘av_close_input_stream’:
libavformat/utils.c:2563: warning: ‘filename’ is deprecated (declared at libavformat/avformat.h:625)
libavformat/utils.c:2571: warning: ‘provider_name’ is deprecated (declared at libavformat/avformat.h:706)
libavformat/utils.c:2572: warning: ‘name’ is deprecated (declared at libavformat/avformat.h:707)
libavformat/utils.c:2582: warning: ‘title’ is deprecated (declared at libavformat/avformat.h:724)
libavformat/utils.c: In function ‘ff_new_chapter’:
libavformat/utils.c:2701: warning: ‘title’ is deprecated (declared at libavformat/avformat.h:724)
libavformat/utils.c: In function ‘parse_date’:
libavformat/utils.c:3403: warning: cast discards qualifiers from pointer target type
CC libavformat/vc1test.o
CC libavformat/vc1testenc.o
CC libavformat/voc.o
CC libavformat/vocdec.o
CC libavformat/vocenc.o
CC libavformat/vorbiscomment.o
CC libavformat/vqf.o
CC libavformat/wav.o
CC libavformat/wc3movie.o
CC libavformat/westwood.o
CC libavformat/wtv.o
CC libavformat/wv.o
CC libavformat/xa.o
CC libavformat/yop.o
CC libavformat/yuv4mpeg.o
AR libavformat/libavformat.a
CC libavcodec/4xm.o
CC libavcodec/8bps.o
CC libavcodec/8svx.o
CC libavcodec/a64multienc.o
CC libavcodec/aac_ac3_parser.o
CC libavcodec/aac_adtstoasc_bsf.o
libavcodec/aac_adtstoasc_bsf.c: In function ‘aac_adtstoasc_filter’:
libavcodec/aac_adtstoasc_bsf.c:51: warning: cast discards qualifiers from pointer target type
libavcodec/aac_adtstoasc_bsf.c:104: warning: cast discards qualifiers from pointer target type
CC libavcodec/aac_parser.o
CC libavcodec/aacadtsdec.o
CC libavcodec/aaccoder.o
libavcodec/aaccoder.c: In function ‘search_for_quantizers_faac’:
libavcodec/aaccoder.c:945: warning: ‘b’ may be used uninitialized in this function
CC libavcodec/aacdec.o
CC libavcodec/aacenc.o
CC libavcodec/aacps.o
libavcodec/aacps.c: In function ‘hybrid_analysis’:
libavcodec/aacps.c:369: warning: passing argument 3 of ‘hybrid4_8_12_cx’ from incompatible pointer type
libavcodec/aacps.c:338: note: expected ‘const float (*)[7][2]’ but argument is of type ‘float (*)[7][2]’
libavcodec/aacps.c:370: warning: passing argument 3 of ‘hybrid4_8_12_cx’ from incompatible pointer type
libavcodec/aacps.c:338: note: expected ‘const float (*)[7][2]’ but argument is of type ‘float (*)[7][2]’
libavcodec/aacps.c:371: warning: passing argument 3 of ‘hybrid4_8_12_cx’ from incompatible pointer type
libavcodec/aacps.c:338: note: expected ‘const float (*)[7][2]’ but argument is of type ‘float (*)[7][2]’
libavcodec/aacps.c:372: warning: passing argument 3 of ‘hybrid4_8_12_cx’ from incompatible pointer type
libavcodec/aacps.c:338: note: expected ‘const float (*)[7][2]’ but argument is of type ‘float (*)[7][2]’
libavcodec/aacps.c:373: warning: passing argument 3 of ‘hybrid4_8_12_cx’ from incompatible pointer type
libavcodec/aacps.c:338: note: expected ‘const float (*)[7][2]’ but argument is of type ‘float (*)[7][2]’
libavcodec/aacps.c:381: warning: passing argument 3 of ‘hybrid6_cx’ from incompatible pointer type
libavcodec/aacps.c:303: note: expected ‘const float (*)[7][2]’ but argument is of type ‘float (*)[7][2]’
libavcodec/aacps.c: In function ‘stereo_processing’:
libavcodec/aacps.c:813: warning: initialization from incompatible pointer type
libavcodec/aacps.c: In function ‘ff_ps_apply’:
libavcodec/aacps.c:986: warning: passing argument 3 of ‘decorrelation’ from incompatible pointer type
libavcodec/aacps.c:645: note: expected ‘const float (*)[32][2]’ but argument is of type ‘float (*)[32][2]’
CC libavcodec/aacpsy.o
libavcodec/aacpsy.c:301: warning: ‘psy_3gpp_window’ defined but not used
CC libavcodec/aacsbr.o
libavcodec/aacsbr.c: In function ‘ff_sbr_apply’:
libavcodec/aacsbr.c:1731: warning: passing argument 4 of ‘sbr_lf_gen’ from incompatible pointer type
libavcodec/aacsbr.c:1337: note: expected ‘const float (*)[32][32][2]’ but argument is of type ‘float (*)[32][32][2]’
libavcodec/aacsbr.c:1733: warning: passing argument 3 of ‘sbr_hf_inverse_filter’ from incompatible pointer type
libavcodec/aacsbr.c:1261: note: expected ‘const float (*)[40][2]’ but argument is of type ‘float (*)[40][2]’
libavcodec/aacsbr.c:1737: warning: passing argument 4 of ‘sbr_hf_gen’ from incompatible pointer type
libavcodec/aacsbr.c:1360: note: expected ‘const float (*)[40][2]’ but argument is of type ‘float (*)[40][2]’
libavcodec/aacsbr.c:1737: warning: passing argument 5 of ‘sbr_hf_gen’ from incompatible pointer type
libavcodec/aacsbr.c:1360: note: expected ‘const float (*)[2]’ but argument is of type ‘float (*)[2]’
libavcodec/aacsbr.c:1737: warning: passing argument 6 of ‘sbr_hf_gen’ from incompatible pointer type
libavcodec/aacsbr.c:1360: note: expected ‘const float (*)[2]’ but argument is of type ‘float (*)[2]’
libavcodec/aacsbr.c:1744: warning: passing argument 2 of ‘sbr_hf_assemble’ from incompatible pointer type
libavcodec/aacsbr.c:1608: note: expected ‘const float (*)[40][2]’ but argument is of type ‘float (*)[40][2]’
libavcodec/aacsbr.c:1748: warning: passing argument 3 of ‘sbr_x_gen’ from incompatible pointer type
libavcodec/aacsbr.c:1412: note: expected ‘const float (*)[40][2]’ but argument is of type ‘float (*)[40][2]’
libavcodec/aacsbr.c:1748: warning: passing argument 4 of ‘sbr_x_gen’ from incompatible pointer type
libavcodec/aacsbr.c:1412: note: expected ‘const float (*)[38][64][2]’ but argument is of type ‘float (*)[38][64][2]’
CC libavcodec/aactab.o
CC libavcodec/aandcttab.o
CC libavcodec/aasc.o
CC libavcodec/ac3.o
CC libavcodec/ac3_parser.o
CC libavcodec/ac3dec.o
CC libavcodec/ac3dec_data.o
CC libavcodec/ac3enc_fixed.o
CC libavcodec/ac3enc_float.o
CC libavcodec/ac3tab.o
CC libavcodec/acelp_filters.o
CC libavcodec/acelp_pitch_delay.o
CC libavcodec/acelp_vectors.o
CC libavcodec/adpcm.o
CC libavcodec/adxdec.o
CC libavcodec/adxenc.o
CC libavcodec/alac.o
CC libavcodec/alacenc.o
CC libavcodec/allcodecs.o
CC libavcodec/alsdec.o
CC libavcodec/amrnbdec.o
CC libavcodec/amrwbdec.o
CC libavcodec/anm.o
CC libavcodec/ansi.o
CC libavcodec/apedec.o
CC libavcodec/ass.o
CC libavcodec/assdec.o
CC libavcodec/assenc.o
CC libavcodec/asv1.o
CC libavcodec/atrac.o
CC libavcodec/atrac1.o
CC libavcodec/atrac3.o
CC libavcodec/audioconvert.o
CC libavcodec/aura.o
CC libavcodec/avfft.o
CC libavcodec/avpacket.o
libavcodec/avpacket.c: In function ‘av_dup_packet’:
libavcodec/avpacket.c:94: warning: ‘av_destruct_packet_nofree’ is deprecated (declared at libavcodec/avpacket.c:26)
CC libavcodec/avs.o
libavcodec/avs.c: In function ‘avs_decode_frame’:
libavcodec/avs.c:59: warning: ‘change_map.buffer’ may be used uninitialized in this function
CC libavcodec/bethsoftvideo.o
CC libavcodec/bfi.o
CC libavcodec/bgmc.o
CC libavcodec/bink.o
CC libavcodec/binkaudio.o
CC libavcodec/binkidct.o
CC libavcodec/bitstream.o
CC libavcodec/bitstream_filter.o
libavcodec/bitstream_filter.c: In function ‘av_bitstream_filter_filter’:
libavcodec/bitstream_filter.c:62: warning: cast discards qualifiers from pointer target type
CC libavcodec/bmp.o
libavcodec/bmp.c: In function ‘bmp_decode_frame’:
libavcodec/bmp.c:51: warning: ‘rgb[2]’ may be used uninitialized in this function
libavcodec/bmp.c:51: warning: ‘rgb[1]’ may be used uninitialized in this function
CC libavcodec/bmpenc.o
CC libavcodec/c93.o
CC libavcodec/cabac.o
CC libavcodec/cavs.o
CC libavcodec/cavs_parser.o
CC libavcodec/cavsdec.o
CC libavcodec/cavsdsp.o
CC libavcodec/cdgraphics.o
CC libavcodec/celp_filters.o
CC libavcodec/celp_math.o
CC libavcodec/cga_data.o
CC libavcodec/chomp_bsf.o
libavcodec/chomp_bsf.c: In function ‘chomp_filter’:
libavcodec/chomp_bsf.c:34: warning: cast discards qualifiers from pointer target type
CC libavcodec/cinepak.o
CC libavcodec/cljr.o
CC libavcodec/cook.o
CC libavcodec/cscd.o
CC libavcodec/cyuv.o
CC libavcodec/dca.o
libavcodec/dca.c: In function ‘dca_decode_block’:
libavcodec/dca.c:1137: warning: array subscript is above array bounds
libavcodec/dca.c:1137: warning: array subscript is above array bounds
libavcodec/dca.c:1137: warning: array subscript is above array bounds
CC libavcodec/dca_parser.o
CC libavcodec/dcadsp.o
CC libavcodec/dct.o
CC libavcodec/dirac.o
CC libavcodec/dirac_parser.o
CC libavcodec/dnxhd_parser.o
CC libavcodec/dnxhddata.o
CC libavcodec/dnxhddec.o
CC libavcodec/dnxhdenc.o
CC libavcodec/dpcm.o
CC libavcodec/dpx.o
CC libavcodec/dsicinav.o
CC libavcodec/dsputil.o
CC libavcodec/dump_extradata_bsf.o
CC libavcodec/dv.o
libavcodec/dv.c: In function ‘dvvideo_decode_frame’:
libavcodec/dv.c:1109: warning: assignment discards qualifiers from pointer target type
CC libavcodec/dvbsub.o
CC libavcodec/dvbsub_parser.o
CC libavcodec/dvbsubdec.o
CC libavcodec/dvdata.o
CC libavcodec/dvdsub_parser.o
CC libavcodec/dvdsubdec.o
libavcodec/dvdsubdec.c: In function ‘decode_dvd_subtitles’:
libavcodec/dvdsubdec.c:169: warning: ‘colormap[1]’ may be used uninitialized in this function
libavcodec/dvdsubdec.c:169: warning: ‘colormap[2]’ may be used uninitialized in this function
libavcodec/dvdsubdec.c:169: warning: ‘colormap[3]’ may be used uninitialized in this function
CC libavcodec/dvdsubenc.o
CC libavcodec/dwt.o
CC libavcodec/dxa.o
CC libavcodec/eac3dec.o
CC libavcodec/eac3dec_data.o
CC libavcodec/eacmv.o
CC libavcodec/eaidct.o
CC libavcodec/eamad.o
CC libavcodec/eatgq.o
CC libavcodec/eatgv.o
CC libavcodec/eatqi.o
CC libavcodec/elbg.o
CC libavcodec/error_resilience.o
CC libavcodec/escape124.o
CC libavcodec/faandct.o
CC libavcodec/faanidct.o
CC libavcodec/faxcompr.o
CC libavcodec/fft.o
CC libavcodec/ffv1.o
CC libavcodec/flac.o
CC libavcodec/flac_parser.o
libavcodec/flac_parser.c: In function ‘flac_parse’:
libavcodec/flac_parser.c:572: warning: cast discards qualifiers from pointer target type
CC libavcodec/flacdata.o
CC libavcodec/flacdec.o
CC libavcodec/flacenc.o
CC libavcodec/flashsv.o
libavcodec/flashsv.c: In function ‘flashsv_decode_frame’:
libavcodec/flashsv.c:202: warning: assignment discards qualifiers from pointer target type
CC libavcodec/flashsvenc.o
CC libavcodec/flicvideo.o
CC libavcodec/flvdec.o
CC libavcodec/flvenc.o
CC libavcodec/fraps.o
CC libavcodec/frwu.o
CC libavcodec/g722.o
CC libavcodec/g726.o
CC libavcodec/gif.o
CC libavcodec/gifdec.o
CC libavcodec/golomb.o
CC libavcodec/gsmdec.o
CC libavcodec/gsmdec_data.o
CC libavcodec/h261.o
CC libavcodec/h261_parser.o
CC libavcodec/h261dec.o
CC libavcodec/h261enc.o
CC libavcodec/h263.o
CC libavcodec/h263_parser.o
CC libavcodec/h263dec.o
CC libavcodec/h264.o
libavcodec/h264.c: In function ‘hl_decode_mb_internal’:
libavcodec/h264.c:1203: warning: passing argument 2 of ‘h->h264dsp.h264_chroma_dc_dequant_idct’ from incompatible pointer type
libavcodec/h264.c:1203: note: expected ‘DCTELEM *’ but argument is of type ‘DCTELEM (*)[4]’
libavcodec/h264.c:1205: warning: passing argument 2 of ‘h->h264dsp.h264_chroma_dc_dequant_idct’ from incompatible pointer type
libavcodec/h264.c:1205: note: expected ‘DCTELEM *’ but argument is of type ‘DCTELEM (*)[4]’
libavcodec/h264.c:1210: warning: passing argument 2 of ‘h->h264dsp.h264_chroma_dc_dequant_idct’ from incompatible pointer type
libavcodec/h264.c:1210: note: expected ‘DCTELEM *’ but argument is of type ‘DCTELEM (*)[4]’
libavcodec/h264.c:1211: warning: passing argument 2 of ‘h->h264dsp.h264_chroma_dc_dequant_idct’ from incompatible pointer type
libavcodec/h264.c:1211: note: expected ‘DCTELEM *’ but argument is of type ‘DCTELEM (*)[4]’
libavcodec/h264.c: In function ‘fill_filter_caches’:
libavcodec/h264.c:2219: warning: initialization from incompatible pointer type
libavcodec/h264.c:2296: warning: initialization from incompatible pointer type
libavcodec/h264.c:2311: warning: initialization from incompatible pointer type
libavcodec/h264.c: In function ‘decode_nal_units’:
libavcodec/h264.c:2614: warning: array subscript is below array bounds
CC libavcodec/h264_cabac.o
CC libavcodec/h264_cavlc.o
CC libavcodec/h264_direct.o
libavcodec/h264_direct.c: In function ‘pred_spatial_direct_motion’:
libavcodec/h264_direct.c:263: warning: assignment from incompatible pointer type
libavcodec/h264_direct.c:264: warning: assignment from incompatible pointer type
libavcodec/h264_direct.c: In function ‘pred_temp_direct_motion’:
libavcodec/h264_direct.c:443: warning: assignment from incompatible pointer type
libavcodec/h264_direct.c:444: warning: assignment from incompatible pointer type
CC libavcodec/h264_loopfilter.o
CC libavcodec/h264_mp4toannexb_bsf.o
libavcodec/h264_mp4toannexb_bsf.c: In function ‘h264_mp4toannexb_filter’:
libavcodec/h264_mp4toannexb_bsf.c:69: warning: cast discards qualifiers from pointer target type
CC libavcodec/h264_parser.o
CC libavcodec/h264_ps.o
CC libavcodec/h264_refs.o
CC libavcodec/h264_sei.o
CC libavcodec/h264dsp.o
CC libavcodec/h264idct.o
CC libavcodec/h264pred.o
CC libavcodec/huffman.o
CC libavcodec/huffyuv.o
CC libavcodec/idcinvideo.o
libavcodec/idcinvideo.c: In function ‘idcin_decode_frame’:
libavcodec/idcinvideo.c:216: warning: ‘AVPaletteControl’ is deprecated
CC libavcodec/iff.o
CC libavcodec/iirfilter.o
CC libavcodec/imc.o
CC libavcodec/imgconvert.o
libavcodec/imgconvert.c: In function ‘av_picture_data_copy’:
libavcodec/imgconvert.c:715: warning: passing argument 3 of ‘av_image_copy’ from incompatible pointer type
./libavcore/imgutils.h:112: note: expected ‘const uint8_t **’ but argument is of type ‘uint8_t **’
libavcodec/imgconvert.c: In function ‘av_picture_copy’:
libavcodec/imgconvert.c:723: warning: passing argument 3 of ‘av_image_copy’ from incompatible pointer type
./libavcore/imgutils.h:112: note: expected ‘const uint8_t **’ but argument is of type ‘uint8_t * const*’
CC libavcodec/imx_dump_header_bsf.o
CC libavcodec/indeo2.o
CC libavcodec/indeo3.o
CC libavcodec/indeo5.o
CC libavcodec/intelh263dec.o
CC libavcodec/interplayvideo.o
libavcodec/interplayvideo.c: In function ‘ipvideo_decode_frame’:
libavcodec/interplayvideo.c:1049: warning: ‘AVPaletteControl’ is deprecated
CC libavcodec/intrax8.o
CC libavcodec/intrax8dsp.o
CC libavcodec/inverse.o
CC libavcodec/ituh263dec.o
CC libavcodec/ituh263enc.o
CC libavcodec/ivi_common.o
libavcodec/ivi_common.c: In function ‘ff_ivi_decode_blocks’:
libavcodec/ivi_common.c:333: warning: ‘mc_type’ may be used uninitialized in this function
libavcodec/ivi_common.c:333: warning: ‘mv_x’ may be used uninitialized in this function
libavcodec/ivi_common.c:333: warning: ‘mv_y’ may be used uninitialized in this function
libavcodec/ivi_common.c:336: warning: ‘sym’ may be used uninitialized in this function
CC libavcodec/ivi_dsp.o
libavcodec/ivi_dsp.c: In function ‘ff_ivi_recompose53’:
libavcodec/ivi_dsp.c:40: warning: ‘b0_1’ may be used uninitialized in this function
libavcodec/ivi_dsp.c:40: warning: ‘b0_2’ may be used uninitialized in this function
libavcodec/ivi_dsp.c:40: warning: ‘b1_1’ may be used uninitialized in this function
libavcodec/ivi_dsp.c:40: warning: ‘b1_2’ may be used uninitialized in this function
libavcodec/ivi_dsp.c:40: warning: ‘b1_3’ may be used uninitialized in this function
libavcodec/ivi_dsp.c:40: warning: ‘b2_2’ may be used uninitialized in this function
libavcodec/ivi_dsp.c:40: warning: ‘b2_3’ may be used uninitialized in this function
libavcodec/ivi_dsp.c:40: warning: ‘b2_5’ may be used uninitialized in this function
libavcodec/ivi_dsp.c:40: warning: ‘b2_6’ may be used uninitialized in this function
libavcodec/ivi_dsp.c:41: warning: ‘b3_2’ may be used uninitialized in this function
libavcodec/ivi_dsp.c:41: warning: ‘b3_3’ may be used uninitialized in this function
libavcodec/ivi_dsp.c:41: warning: ‘b3_5’ may be used uninitialized in this function
libavcodec/ivi_dsp.c:41: warning: ‘b3_6’ may be used uninitialized in this function
libavcodec/ivi_dsp.c:41: warning: ‘b3_8’ may be used uninitialized in this function
libavcodec/ivi_dsp.c:41: warning: ‘b3_9’ may be used uninitialized in this function
CC libavcodec/jfdctfst.o
CC libavcodec/jfdctint.o
CC libavcodec/jpegls.o
CC libavcodec/jpeglsdec.o
CC libavcodec/jpeglsenc.o
CC libavcodec/jrevdct.o
CC libavcodec/kgv1dec.o
CC libavcodec/kmvc.o
CC libavcodec/lagarith.o
CC libavcodec/lagarithrac.o
CC libavcodec/latm_parser.o
CC libavcodec/lcldec.o
libavcodec/lcldec.c: In function ‘zlib_decomp’:
libavcodec/lcldec.c:136: warning: assignment discards qualifiers from pointer target type
libavcodec/lcldec.c: In function ‘decode_frame’:
libavcodec/lcldec.c:165: warning: cast discards qualifiers from pointer target type
CC libavcodec/lclenc.o
CC libavcodec/libfaac.o
CC libavcodec/libmp3lame.o
CC libavcodec/libopencore-amr.o
CC libavcodec/libtheoraenc.o
CC libavcodec/libvorbis.o
libavcodec/libvorbis.c:257: warning: initialization discards qualifiers from pointer target type
CC libavcodec/libx264.o
libavcodec/libx264.c: In function ‘X264_frame’:
libavcodec/libx264.c:92: error: implicit declaration of function ‘x264_picture_init’
libavcodec/libx264.c:104: error: ‘X264_TYPE_KEYFRAME’ undeclared (first use in this function)
libavcodec/libx264.c:104: error: (Each undeclared identifier is reported only once
libavcodec/libx264.c:104: error: for each function it appears in.)
libavcodec/libx264.c: In function ‘X264_init’:
libavcodec/libx264.c:177: error: ‘struct ’ has no member named ‘f_rf_constant_max’
make: *** [libavcodec/libx264.o] Error 1

nprathap

Couple of changes to be made to install FFMPEG :

1) The x264 needs to be a static build :
cd
git clone git://git.videolan.org/x264
cd x264
./configure –enable-static
make
sudo checkinstall –pkgname=x264 –pkgversion=”3:$(./version.sh | \
awk -F'[” ]’ ‘/POINT/{print $4″+git”$5}’)” –backup=no –deldoc=yes \
–fstrans=no –default

2. Install faac
The file is .tar.gz so we don’t require the unzip. Also We need to run configure and make.

3. The FFMPEG install will work only if we compile the x264 static mode.

Your email address will not be published. Required fields are marked *