Seems to work for me (up to make install at least).
libbluray:
Code:
sudo apt-get install libxml2-dev
cd ~/ffmpeg_sources
wget ftp://ftp.videolan.org/pub/videolan/libbluray/0.6.0/libbluray-0.6.0.tar.bz2
tar xjvf libbluray-0.6.0.tar.bz2
cd libbluray-0.6.0
./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/ffmpeg_build/bin" --disable-shared
make
make install
ffmpeg:
Code:
$ cd ffmpeg
PATH="$PATH:$HOME/bin" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \
--prefix="$HOME/ffmpeg_build" \
--extra-cflags="-I$HOME/ffmpeg_build/include" \
--extra-ldflags="-L$HOME/ffmpeg_build/lib" \
--bindir="$HOME/bin" \
--enable-libbluray
make
make install
I do not own a blu-ray player so I could not test.
Update: Nevermind. I was building in and pointing to unclean and incorrect directories causing it to link to the wrong (shared) libbluray libraries. It's been a long time since I've used Ubuntu and forgot how much of a slob I was in my VM. I ran out of time now, so I'll have to take a look later.
Bookmarks