↓ Ir para o conteúdo principal

← todas as notas

📎 Webclip

Install FFMPEG for HTML5 Compatible Videos – MP4, OGG & WebM on CentOS

The page says the libraries must be installed manually, with FFMPEG compiled last using the needed enable options. It gives a root-level CentOS setup sequence, then separate build commands for WebM, OGG, Vorbis, x264, Theora, FAAD, FAAC, LAME, and AMR support.

Reading notes
#

  • Install the required libraries manually, then compile FFMPEG last with the enable options.
  • Log in as root and install the basic prerequisites with yum.
  • Add /usr/local/lib to /etc/ld.so.conf if grep does not show it, then run ldconfig.
  • Build libvpx for WebM.
  • Build libogg and libvorbis for OGG support.
  • Build x264 with shared support.
  • Build libtheora, faad2, faac, lame, and the opencore-amr components.
  • Clone ffmpeg from the Videolan git repository.
  • Configure FFMPEG with GPL, version3, nonfree, shared, mp3lame, x264, faac, vorbis, opencore-amr, x11grab, vpx, and theora support.
  • Build FFMPEG, build qt-faststart, copy it to /usr/local/bin/, and run ldconfig.
  • The page points to another post for FFMPEG commands to use the newly installed tools.