Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to install ffmpeg on ubuntu. and following this article http://pasindudps.blogspot.com/2010/12/compiling-ffmpeg-in-ubuntu-1010.html but when m doing make after config

Then go to the ffmpeg folder.
cd ffmpeg
Start the installation
./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc \
--enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb \
--enable-libopencore-amrwb --enable-libtheora --enable-libvorbis \
--enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab
make

giving this error

/home/reach121/ffmpeg/libavcodec/x86/cabac.h:93: undefined reference to `ff_h264_norm_shift'
/home/reach121/ffmpeg/libavcodec/x86/cabac.h:93: undefined reference to `ff_h264_lps_range'
/home/reach121/ffmpeg/libavcodec/x86/cabac.h:93: undefined reference to `ff_h264_norm_shift'
/home/reach121/ffmpeg/libavcodec/x86/cabac.h:93: undefined reference to `ff_h264_mlps_state'
/home/reach121/ffmpeg/libavcodec/x86/cabac.h:93: undefined reference to `ff_h264_norm_shift'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1

Please suggest why this error is coming and what to do to solve this problem

share|improve this question

migrated from stackoverflow.com Jun 25 '11 at 10:57

This question came from our site for professional and enthusiast programmers.

1 Answer 1

For licensing reasons, FFmpeg does not include all codec libraries. You have to download, compile and install them separately. This is the case for MP3 and H.264 codecs.

A great guide that deals with this can be found here:

Compilation Guide Ubuntu

share|improve this answer
    
sorry i didnt able to get you , please suggest what i need to do –  Rahul Mehta Jun 24 '11 at 8:33
    
You have to install libx264. Some indications can be found at saiweb.co.uk/linux/ffmpeg-install-with-libx264-h264 –  mouviciel Jun 24 '11 at 9:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.