ffmpeg_bin_pentium4-12939.zip (Pentium4最適化版)
ffmpeg_bin_athlon64-12939.zip (Athlon64最適化版)
2008/09/15 削除しました。
以下のライブラリをアップデートしました。
x264 rev.828
その他、Yasmがyasm-0.7.0になっています。
trippさんが、lame 3.98 beta8にするといいよと教えてくださったのですが、こんなエラーでコンパイルできませんでした。
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -Wall -pipe -std=c99 -MT interface.lo -MD -MP -MF .deps/interface.Tpo -c interface.c -DDLL_EXPORT -DPIC -o .libs/interface.o
In file included from c:/MinGW/include/windows.h:48,
from ../libmp3lame/machine.h:130,
from interface.c:15:
c:/MinGW/include/windef.h:234: error: two or more data types in declaration specifiers
とりあえず、今回はlame 3.97のままです。
バイナリは3種類どれを使っても大丈夫だと思いますが、SSE2に対応していないCPU(Sempronの一部など)をお使いの方は、最適化無し版を使ってみてください。
zipファイルを解凍すると、ffmpeg.exeが出てきますので、携帯動画変換君のcoresフォルダに置くなり、単体で使うなりしてください。
pthreadGC2.dllは不要です。
携帯動画変換君のffmpeg.exeとは、オプションの互換性がありませんので、上書きする際はご注意ください。
携帯動画変換君の設定は、こちらの記事を参考にしてください。
FFmpegのコンパイルは、こちらの記事を参考にしてください。
コンパイル環境:MinGW gcc4.3.0
各ライブラリのバージョンは、以下の通りです。
nasm-2.02
yasm-0.7.0
pthreads-w32-2-8-0-release
zlib-1.2.3
a52dec-0.7.4
faac-1.26
faad2-2.6
gsm-1.0.12
lame-3.97
libnut-657
libogg-1.1.3
libvorbis-1.2.0
libtheora-1.0beta2
x264 rev.828
xvidcore-1.1.3
最適化オプションは、以下のようにしています。
configureのオプションに--enable-smallを付けると、gccのオプションに-Osが付き、-O4にしても無駄なことが分かりましたので、-O4は外しました。
--enable-smallを付けなければ、gccのオプションに-O3が付きます。
最適化無し版
--extra-cflags="-mtune=generic -mno-sse2 -fno-strict-aliasing"
Pentium4最適化版
--extra-cflags="-mtune=pentium4 -mfpmath=sse -msse -fno-strict-aliasing"
Athlon64最適化版
--extra-cflags="-mtune=athlon64 -mfpmath=sse -msse -fno-strict-aliasing"
configureオプションは以下の通りです。
$ ./configure --enable-memalign-hack --enable-postproc --enable-swscale --enable-gpl --enable-liba52 --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libvorbis --enable-libtheora --enable-libx264 --enable-libxvid --disable-ffserver --disable-ffplay --enable-avisynth --enable-small --enable-pthreads --extra-ldflags=-static --extra-cflags="-fno-strict-aliasing"
configureのメッセージはこちら。



sorry about that,
not mentioning lame,
my main points were that:
x264>r803 don't work with the ffmpeg -b flag.
and that Tiesi uses binutils 2.17 in his build enviroment which seems important.
lame was kinda personal :)
i had exactly the same issue,
but got some pointers on the mingw mailing list.
here is a patch to get lameb8 to compile:
http://www.mediafire.com/?xutomjqe9yv
転職することになりいろいろ忙しく
2週間ぐらい抜けていて修正追うのがたいへんです(><)
lame 3.98 beta8
上のtrippさんの書き込みのパッチでエラーなくコンパイルできました
コンパイルの確認、ありがとうございました。
私も最近は残業が多くて、なかなか更新する暇がありません。
GWになって更新しようと思ったら、今朝までサーバの障害…。
お互いがんばりましょうね。
Thank you for your comments.
I use binutils 2.17.
> x264>r803 don't work with the ffmpeg -b flag.
I see.
I tried compiling FFmpeg rev.13054 with x264 r798.
Because r798 is recommendde revision below.
http://x264.nl/
> here is a patch to get lameb8 to compile:
> http://www.mediafire.com/?xutomjqe9yv
I was able to compile lame3.98b8 with the patch.
Thank you!
tikuden-san(蓄電さん) was able to compile it too.
abechin