蝸牛の歩み

蝸牛の如く,ゆっくりでも着実に前へ・・・

FLV4

昨日は久しぶりにYouTubeに映像をアップしたのだが、なんだか前より画質がよくなっている。軽くググった限りでは以前はFLV1という形式だったのが、より高画質なFLV4(On2VP6)というのになったんだそうな。
それじゃあMOMOでも、と思ったのだが、ちょっと前の情報ではあるが"ffmpeg cannot make vp6 video"らしい。最近のffmpegでもFLV4に変換できないのかな。mencoderというのでは可能なようだ。ちょっと試してみよう。今のMOMOのFLVは軽いのはいいんだけどモザイクがかかったみたいな映像でちょっと悲しい。

ffmpegのconfigureが通らない

最新のffmpeg rev. 20198 のソースを手に入れたはいいけど、configureが通りません。環境が古すぎ?それに以前のメモが見あたらず、configure optionがわかりません。

古いのなら通った

人気があるというRevision.9133ならconfigureが通った。

$ svn update -r 9133
$ ./configure

推奨の13283になると、以下のエラーが出てダメかと思ったが、一応最後まで行った。

nm: invalid argument -P
Usage: nm [-agnoprumxjl[s segname sectname] [-] [[-arch <arch_flag>] ...] [file ...]
od: illegal option -- A
od: od(1) has been deprecated for hexdump(1).
hexdump: [-bcCdovx] [-e fmt] [-f fmt_file] [-n length] [-s skip] [file ...]

も一つ推奨の15413にすると、ダメ。

nm: invalid argument -P
Usage: nm [-agnoprumxjl[s segname sectname] [-] [[-arch <arch_flag>] ...] [file ...]
You need a compiler that supports {} in AltiVec vector declarations.
If you think configure made a mistake, make sure you are using the latest
version from SVN.  If the latest version fails, report the problem to the
ffmpeg-user[at]mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.err" produced by configure as this will help
solving the problem.

14913も同じく。
あ、configure optionは

ffmpeg -version

で表示された。

makeが止まる

ffmpegのrev.13283をmakeしたら、途中で止まってしまった。

make: *** No rule to make target `libavdevice/libavdevice.a', needed by `all'.  Stop.

それどころか以前コンパイルできたrevisionがコンパイルできない。何か根本的に間違っている?