﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=%E5%88%A9%E7%94%A8%E8%80%85%3ANazg-gul%2FFFmpegUpdate</id>
	<title>利用者:Nazg-gul/FFmpegUpdate - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=%E5%88%A9%E7%94%A8%E8%80%85%3ANazg-gul%2FFFmpegUpdate"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Nazg-gul/FFmpegUpdate&amp;action=history"/>
	<updated>2026-04-21T20:17:05Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Nazg-gul/FFmpegUpdate&amp;diff=106881&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Nazg-gul/FFmpegUpdate&amp;diff=106881&amp;oldid=prev"/>
		<updated>2018-06-28T19:46:07Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 19:46時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Nazg-gul/FFmpegUpdate&amp;diff=106880&amp;oldid=prev</id>
		<title>wiki&gt;Mont29: added fedora and gentoo sources of ffmpeg 0.8 packages</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Nazg-gul/FFmpegUpdate&amp;diff=106880&amp;oldid=prev"/>
		<updated>2011-09-04T08:37:09Z</updated>

		<summary type="html">&lt;p&gt;added fedora and gentoo sources of ffmpeg 0.8 packages&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;We've been asked plenty of times how to update FFmpeg on your system to be able to build Blender on Linux again.&lt;br /&gt;
&lt;br /&gt;
=Update FFmpeg for Linux=&lt;br /&gt;
&lt;br /&gt;
==Use pre-compiled static libs==&lt;br /&gt;
&lt;br /&gt;
You can use compiled FFmpeg libraries which are used in our release build environment. They are available for both of 32 and 64 bit plaforms. To use this libraries create the lib/ folder near the folder which contains blender sources:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# For 32bit platform&lt;br /&gt;
svn co https://svn.blender.org/svnroot/bf-blender/trunk/lib/linux&lt;br /&gt;
&lt;br /&gt;
# For 64bit platform&lt;br /&gt;
svn co https://svn.blender.org/svnroot/bf-blender/trunk/lib/linux64&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So directory structure would look like&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  ./&lt;br /&gt;
  |- blender&lt;br /&gt;
  |  |- build_files&lt;br /&gt;
  |  |- release&lt;br /&gt;
  |  |- SConstruct&lt;br /&gt;
  |   - ...&lt;br /&gt;
  |- lib&lt;br /&gt;
     |- linux&lt;br /&gt;
        |- ffmpeg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After you've checked out libraries, the following changes have to be done to build configuration.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;SCons&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you don't have user-config.py, create it in the root of blender working tree.&lt;br /&gt;
&lt;br /&gt;
After this toy should put the following content into this file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# Choose one of this two lines&lt;br /&gt;
BF_FFMPEG = &amp;quot;#../lib/linux/ffmpeg&amp;quot;    # for 32bit platform&lt;br /&gt;
BF_FFMPEG = &amp;quot;#../lib/linux64/ffmpeg&amp;quot;  # for 64bit platform&lt;br /&gt;
&lt;br /&gt;
# This lines are common for both of 32 and 64 bit platforms&lt;br /&gt;
WITH_BF_STATICFFMPEG = True&lt;br /&gt;
BF_FFMPEG_LIB_STATIC = '${BF_FFMPEG_LIBPATH}/libavformat.a ${BF_FFMPEG_LIBPATH}/libswscale.a ' + \&lt;br /&gt;
    '${BF_FFMPEG_LIBPATH}/libavcodec.a ${BF_FFMPEG_LIBPATH}/libavdevice.a ${BF_FFMPEG_LIBPATH}/libavutil.a ' + \&lt;br /&gt;
    '${BF_FFMPEG_LIBPATH}/libxvidcore.a ${BF_FFMPEG_LIBPATH}/libx264.a ${BF_FFMPEG_LIBPATH}/libmp3lame.a ' + \&lt;br /&gt;
    '${BF_FFMPEG_LIBPATH}/libvpx.a ${BF_FFMPEG_LIBPATH}/libvorbis.a ${BF_FFMPEG_LIBPATH}/libogg.a ' + \&lt;br /&gt;
    '${BF_FFMPEG_LIBPATH}/libvorbisenc.a ${BF_FFMPEG_LIBPATH}/libtheora.a ' + \&lt;br /&gt;
    '${BF_FFMPEG_LIBPATH}/libschroedinger-1.0.a ${BF_FFMPEG_LIBPATH}/liborc-0.4.a ${BF_FFMPEG_LIBPATH}/libdirac_encoder.a ' + \&lt;br /&gt;
    '${BF_FFMPEG_LIBPATH}/libfaad.a'&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've got already BF_FFMPEG* settings in user-config.py -- replace them with this settings.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;CMake&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following settings should be added to cmake rules:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FFMPEG=/home/path/to/cloned/lib/ffmpeg&lt;br /&gt;
FFMPEG_LIBRARIES:STRING=&amp;quot;avformat;avcodec;avutil;avdevice;swscale;dirac_encoder;mp3lame;ogg;orc-0.4;schroedinger-1.0;theora;theoraenc;theoradec;vorbis;vorbisenc;vpx;x264;xvidcore;faad;asound;jack&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
FFMPEG should point to ffmpeg/ folder inside of checked out from the svn linux/ folder for 32bit platofrms and for ffmpeg/ inside linux64/ folder for 64bit platforms.&lt;br /&gt;
&lt;br /&gt;
If you're using cmake, pass this settings as arguments adding -D prefix to them.&lt;br /&gt;
&lt;br /&gt;
==Use already packaged versions for your distro==&lt;br /&gt;
You can also search in the (non-)official repositories for your distro, you might very well find the packages you need. Below is a list a known repositories:&lt;br /&gt;
&lt;br /&gt;
;'''Debian'''&lt;br /&gt;
:*[http://debian-multimedia.org/ debian-multimedia.org]&lt;br /&gt;
&lt;br /&gt;
;'''Fedora'''&lt;br /&gt;
:*[http://atrpms.net/ atrpms.net] has a 0.8 package.&lt;br /&gt;
:*[http://rpmfusion.org/ rpmfusion.org] has only a 0.7 package currently.&lt;br /&gt;
&lt;br /&gt;
;'''Gentoo'''&lt;br /&gt;
:0.8.2 already in its official source repository.&lt;br /&gt;
&lt;br /&gt;
==Compile FFmpeg yourself==&lt;br /&gt;
&lt;br /&gt;
===Generic distro===&lt;br /&gt;
&lt;br /&gt;
First of all you need to download FFmpeg sources:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
wget -c http://ffmpeg.org/releases/ffmpeg-0.8.2.tar.bz2&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then unpack it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
tar -xf ffmpeg-0.8.2.tar.bz2&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this you can build FFmpeg:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd ffmpeg-0.8.2.tar&lt;br /&gt;
./configure --prefix=/opt/ffmpeg-0.8.2 --enable-shared&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This sequence of commands will compile and install fresh FFmpeg to /opt/ffmpeg-0.8.2 folder. If configuration script fail, install developer package for library reported as missed and run that sequence again from ./configure step.&lt;br /&gt;
&lt;br /&gt;
Next thing to do is add new FFmpeg to search path:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo &amp;quot;/opt/ffmpeg-0.8.2/lib&amp;quot; | sudo tee -a /etc/ld.so.conf.d/ffmpeg.conf&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this, make the following changes to build rules:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;SCons&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the following line to your user-config.py:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
BF_FFMPEG = &amp;quot;/opt/ffmpeg-0.8.2&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;CMake&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the following parameter when configuring CMake:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FFMPEG=/opt/ffmpeg-0.8.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you're using cmake, it'll be something like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cmake path/to/sources -DFFMPEG=&amp;quot;/opt/ffmpeg-0.8.2&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>wiki&gt;Mont29</name></author>
		
	</entry>
</feed>