How to compile avconv with libx264 on Ubuntu 12.04 LTS (Precise Pangolin)?

后端 未结 3 1769
广开言路
广开言路 2021-01-31 00:30

Is there a step-by-step guide on how to compile avconv in Ubuntu?

It seems hard to search for any tutorial with avconv compared to ffmpeg.

3条回答
  •  别那么骄傲
    2021-01-31 01:10

    It worked great for me on Ubuntu 12.04, except that it complained that assembler was missing.

    The minimum version is yasm-1.2.0. If you really want to compile without asm, configure with --disable-asm.

    Thanks to HOWTO: Install and use the latest FFmpeg and x264, I did the following as well, and it was OK beyond that.

    sudo apt-get install build-essential checkinstall
    
    sudo apt-get build-dep yasm
    
    wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz && \
    tar -xf yasm-1.2.0.tar.gz && cd yasm-1.2.0 && ./configure
    
    make
    
    sudo checkinstall --pakdir "$HOME/Desktop" --pkgname yasm --pkgversion 1.2.0 \
    --backup=no --default
    

提交回复
热议问题