Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Cannot Reproduce
-
4.0.3
-
None
-
None
Description
1. Package libx265-dev
Remove libx265-dev from this line in script:
sudo apt-get -y --force-yes install autoconf automake build-essential libass-dev libfreetype6-dev libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev pkg-config texi2html zlib1g-dev mercurial cmake libx264-dev libx265-dev libfdk-aac-dev libmp3lame-dev
When running ./ffmpeg-ubuntu-debian.sh this command failed. It's because of libx265-dev can't be located:
E: Unable to locate package libx265-dev
Some lines below there are commands to download, compile and install libx265-dev.
hg clone https://bitbucket.org/multicoreware/x265 wget -O fdk-aac.tar.gz https://github.com/mstorsjo/fdk-aac/tarball/master cd x265/build/linux PATH="$HOME/bin:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" -DENABLE_SHARED:bool=off ../../source && make && sudo make install && make distclean; cd ~/ffmpeg_sources
Link to ffmpeg-ubuntu-debian.sh -https://cwiki.apache.org/confluence/download/attachments/27838216/ffmpeg-ubuntu-debian.sh
Original installation notes of libx265-dev can be found here - https://bitbucket.org/multicoreware/x265/wiki/Home
2. Compilation of x264
Add assembler installation line:
wget http://www.nasm.us/pub/nasm/releasebuilds/2.13.03/nasm-2.13.03.tar.xz
tar -xvf nasm-2.13.03.tar.xz
cd nasm-2.13.03
./configure
sudo make
sudo make install
cd ..
When running:
cd x264-*/ PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" --enable-static --disable-opencl && PATH="$HOME/bin:$PATH" make && sudo make install && make distclean; cd ..
I'm getting an error found no assembler:
Found no assembler Minimum version is nasm-2.13 If you really want to compile without asm, configure with --disable-asm.
Original installation notes of assembler install can be found here - http://www.sthshare.com/wordpress/found-no-assembler-minimum-version-is-nasm-2-13.html