How to install the H.264 codec?

H.264 codec is a digital video codec for video compression. It is a process in which videos are encoded in a format that requires less capacity when it is stored or transmitted. Video compression (or video coding) is a key technology for applications such as digital television, DVD-Video, mobile TV, video conferencing and Internet video streaming. Standardize video compression allows products from different manufacturers (eg encoders, decoders and storage) inter-working. An encoder converts video into a compressed format and a decoder converts compressed video back in a compressed format.

Type these commands into SSH:
# mkdir /usr/local/src
# cd /usr/local/src
# wget`date -d "-1 days" +%Y%m%d`-2245-stable.tar.bz2
# tar jxf x264-snapshot-`date -d "-1 days" +%Y%m%d`-2245-stable.tar.bz2
# cd /usr/local/src/x264-snapshot-`date -d "-1 days" +%Y%m%d`-2245-stable
# make distclean
# ./configure --enable-shared && make clean && make && make install

The x264 project creates a daily snapshot with the format x264-snapshot-yyyymmdd-2245.tar.bz2 . We recommend to use the last available snapshot.


If the installation process finished ok the compiled libraries will be placed at /usr/local/lib (the actual version number after* may vary)

# ls /usr/local/lib/libx264*
/usr/local/lib/ /usr/local/lib/
How to install the H.264 codec? - 5.0 op 5 van de 1 vote

Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.

Need advice?

Ask for a free, no-obligation scan for your website.
We perform a comprehensive scan and establish a SEO report with
recommendations to improve the findability and the conversion of your website.

Request scan

Follow bronso