Help us understand the problem. What is going on with this article?

ffmpegにOpenH264をリンクしてビルドする

More than 5 years have passed since last update.

OpenH264は、CiscoがBSDライセンスでオープンソースにしているH.264の実装です。
ffmpegでH.264のエンコードにはx264を利用する場合が多いですが、OpenH264もサポートされるようになっていたので試してみます。

ubuntu12.04 32bitで試しています。

OpenH264をインストール

sudo apt-get install build-essential nasm
wget https://github.com/cisco/openh264/archive/v1.4.0.tar.gz
tar zxf v1.4.0.tar.gz
cd openh264-1.4.0
make
sudo make install
sudo ldconfig

ffmpegをビルドする

sudo apt-get install pkg-config automake autoconf zlib1g-dev libtool yasm
wget http://ffmpeg.org/releases/ffmpeg-2.6.tar.bz2
tar xjf ffmpeg-2.6.tar.bz2
cd ffmpeg-2.6
./configure --enable-libopenh264
make
sudo make install


Libav Adds OpenH264 Encoder Support: Good Performance, BSD Licensed によると、OpenH264を使った場合、x264に比べてCPU使用率は低いが、baselineプロファイルしかサポートされていない、といった違いがあるそうです。

tjun
Network software engineer
http://tjun.org
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした