I have worked fairly hard to get x265 neatly packaged and to tell the truth there is still a little way to go and although x265 (or rather h.265 encoding) shows as a menu in vlc it does not function for me yet. Nevertheless below is the prospective section of the guide as it will appear when a few more bugs have been ironed out, you will need to have cmake and mercurial installed of course:
-----------------------------------------------------------
h265 Encoding...
It is very, very early days for the x265 encoder and it is very exciting to be able to sample vlc's early adoption! Use the snippet below to install:
Install:
Code:
cd $HOME/vlc_build && \
hg clone https://bitbucket.org/multicoreware/x265 && \
mkdir -v x265/build1 && cd x265/build1 && \
cmake ../source && make -j 2 && \
mkdir -vp doc-pak && cp -v ../COPYING ../build/README.txt doc-pak && \
sudo checkinstall --pakdir "$HOME/vlc_build" --pkgname x265 \
--pkgversion "$(cmake . | grep "x265 version" | cut -d ' ' -f4 | tr - '~')" \
--backup=no --fstrans=no --deldoc=yes --deldesc=yes --delspec=yes --default && \
sudo ldconfig && rm -rf $HOME/vlc_build/x265/build1
And when it is time to update, and I would suggest that this should be reasonable often since development is moving along pretty quickly, simply use the following:
Update:
Code:
cd $HOME/vlc_build/x265 && hg pull && hg update && \
mkdir build1 && cd build1 && \
cmake ../source && make -j 2 && \
mkdir -vp doc-pak && cp -v ../COPYING ../build/README.txt doc-pak && \
sudo checkinstall --pakdir "$HOME/vlc_build" --pkgname x265 \
--pkgversion "$(cmake . | grep "x265 version" | cut -d ' ' -f4 | tr - '~')" \
--backup=no --fstrans=no --deldoc=yes --deldesc=yes --delspec=yes --default && \
sudo ldconfig && rm -rf $HOME/vlc_build/x265/build1
I hope that like me you enjoy seeing the new encoder mature
-----------------------------------------------------------
Hopefully somebody will succeed where I have failed so far and get the encoder working within vlc... and remember to go and make a cup of tea while x265 is compiling or patch yasm as suggested.
Bookmarks