[FFmpeg-user] Problem with configuring with yasm

Mahmood Naderan mahmood.nt at gmail.com
Fri Dec 20 12:08:09 EET 2019


Hi,
On a system which I can not install package, I have built yasm from source
as below:

mahmood at fury0:/home/mahmood/yasm-1.3.0$ ls bin/
vsyasm  yasm  ytasm
mahmood at fury0:/home/mahmood/yasm-1.3.0$ ls lib
libyasm.a
mahmood at fury0:/home/mahmood/yasm-1.3.0$ ls include/
libyasm  libyasm.h  libyasm-stdint.h



Now, when I want to configure ffmpefg, I get an error that yasm is not
found even though I have included extra paths.

mahmood at fury0:/home/mahmood/ffmpeg$ ./configure --enable-cuda
--enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp
--extra-cflags=-I/home/mahmood/cuda-10.1.168/include,/home/mahmood/yasm-1.3.0/include
--extra-ldflags=-L/home/mahmood/cuda-10.1.168/lib64,/home/mahmood/yasm-1.3.0/lib
nasm/

yasm not found or too old. Use --disable-x86asm for a crippled build.

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this
will help
solve the problem.



How can I fix that? Is it safe to disable x86asm? I want to be sure that
performance is not lost.

Regards,
Mahmood


More information about the ffmpeg-user mailing list