SOLVED ! ! !

The FINAL SOLUTION that work on my laptop and desktop in Ubuntu 10.4
lucid is follow and allow to use vlc and ffmpeg with or without winff is
follow execute commands:

Get the Dependencies
1. Uninstall x264, libx264-dev, and ffmpeg if they are already installed. Open 
a terminal and run the following:

sudo apt-get remove ffmpeg x264 libx264-dev

2. Next, get all of the packages you will need to install FFmpeg and
x264 (you may need to enable the universe and multiverse repositories):

sudo apt-get update
sudo apt-get install build-essential subversion git-core checkinstall yasm 
texi2html libfaac-dev libfaad-dev libmp3lame-dev libopencore-amrnb-dev 
libopencore-amrwb-dev libsdl1.2-dev libx11-dev libxfixes-dev libxvidcore-dev 
zlib1g-dev

Install x264
3. Get the most current source files from the official x264 git repository, 
compile, and install. You can run "./configure --help" to see what features you 
can enable/disable. Daily source tarballs are also available, and forum member 
Bachstelze provides x264 Ubuntu packages for anyone who doesn't want to compile.

cd
git clone git://git.videolan.org/x264.git
cd x264
./configure
make
sudo checkinstall --pkgname=x264 --pkgversion "1:0.svn`date +%Y%m%d`+`git 
rev-list HEAD -n 1 | head -c 7`" --backup=no --default

Install libtheora (optional)
4. This is used to encode to Theora, the video type usually found in OGG/OGV 
files. The repository libtheora is too old, so it must be compiled. I recommend 
skipping this step and omitting --enable-libtheora in step 5 if you don't plan 
on encoding Theora video:

sudo apt-get install libogg-dev
cd
wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz
tar xzvf libtheora-1.1.1.tar.gz
cd libtheora-1.1.1
./configure --disable-shared
make
sudo checkinstall --pkgname=libtheora --pkgversion "1.1.1" --backup=no --default

Install FFmpeg
5. Get the most current source files from the official FFmpeg SVN, compile, and 
install. Run "./configure --help" to see what features you can enable/disable. 
Nightly FFmpeg snapshots are also available.
cd
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ffmpeg
./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc 
--enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame 
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora 
--enable-libx264 --enable-libxvid --enable-x11grab
make
sudo checkinstall --pkgname=ffmpeg --pkgversion "4:0.5+svn`date +%Y%m%d`" 
--backup=no --default
hash x264 ffmpeg

That's it for installation. You can keep the ~/x264 and ~/ffmpeg
directories if you later want to update the source files to a new
revision. See "Updating Your Installation" on the first page of this
guide for more details.

Now head back to the FFmpeg guide
(http://ubuntuforums.org/showthread.php?t=786095) for usage instructions
and more.

Reverting Changes Made at now
To remove FFmpeg/x264 and other packages added at now:

sudo apt-get remove x264 ffmpeg build-essential subversion git-core
checkinstall yasm texi2html libfaac-dev libfaad-dev libmp3lame-dev
libsdl1.2-dev libtheora libx11-dev libxfixes-dev libxvidcore-dev zlib1g-
dev

-- 
Symbol av_destruct_packet, version LIBAVFORMAT_52 not defined in file 
libavformat.so.52 with link time reference
https://bugs.launchpad.net/bugs/573805
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to