FFmpeg: building example C codes

前端 未结 2 1955
长发绾君心
长发绾君心 2021-01-20 19:14

I have configured and compiled the FFmpeg library using this link: https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

Now, I am trying to build example C codes pro

相关标签:
2条回答
  • 2021-01-20 19:20

    nasm/yasm not found or too old. Use --disable-x86asm for a crippled build. If you think to configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to theffmpeg-user@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.


    If you see this when you execute the above command then do this
    macOS: brew install yasm

    Ubuntu: sudo apt-get install yasm

    0 讨论(0)
  • 2021-01-20 19:21

    Run ./configure && make -j4 examples in the FFmpeg source directory, then look in doc/examples for the compiled examples.

    • Requires make and pkg-config.

    • To remove the compiled examples use make examplesclean in the FFmpeg source directory.

    0 讨论(0)
提交回复
热议问题