お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2009-05-18 22:10:35

hiroshi0114
新しいメンバ
登録日: 2009-04-19

ffmpegでaacビルドエラー

教えてください。

下記ページを参考にして、ffmpegのソースをビルドしようとしたのですが
なぜか./configure --enable-libfaacを入力すると、エラーで弾かれてしまいます。
環境はデスクトップ版 Ubuntu 9.04です。
libfaac-devはapt-getでインストールしています。
念のためpurgeでアンインストールしてから、再度Synapticでインストールしてみましたが
症状が変わりませんでした。

http://yourpalm.jubenoum.com/2009/04/ubuntu-810%E3%81%A7flvmp4swf%E3%81%8B%E3%82%89%E9%9F%B3%E6%A5%BD%E3%82%92%E6%8A%BD%E5%87%BA/

エラーメッセージ
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
[email protected] 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.

オフライン

 

#2 2009-05-19 16:35:14

jackalope
メンバ
登録日: 2009-01-01

Re: ffmpegでaacビルドエラー

パッケージlibfaac0が必要なのでは?

オフライン

 

#3 2009-05-20 21:10:23

hiroshi0114
新しいメンバ
登録日: 2009-04-19

Re: ffmpegでaacビルドエラー

libfaac0を入れてもできませんでした

オフライン

 

#4 2009-05-20 22:07:31

hir0
メンバ
登録日: 2008-09-28

Re: ffmpegでaacビルドエラー

gcc -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -E -o /tmp/ffconf.eWLPqptb.o /tmp/ffconf.GLKcgxfy.c
/tmp/ffconf.GLKcgxfy.c:1:18: error: faad.h: No such file or directory
FAAD test failed.

$ cat ~/ffmpeg/config.err
で最後に表示されているのが同じなら次をためしてみて下さい。

$ sudo apt-get install libfaad-dev

オフライン

 

#5 2009-05-20 22:44:16

takechan
メンバ
登録日: 2006-11-29

Re: ffmpegでaacビルドエラー

おそらくlibfaad-devが入ってれば平気だと思うのですが・・ それとそのエラーメッセージの前に何か足りないと表示が出ていませんか?

例えばこんな感じでこれは自分のビルドの時の物なんですが、ERROR: libamrnb not foundって出てます。この部分でもlibfaacが足りないと言ってきてますか?

$ ./configure --arch=amd64 --cpu=athlon64 --enable-gpl --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-libfaac --enable-libfaad --enable-libx264 --enable-libxvid --enable-libvorbis --enable-libtheora --enable-libmp3lame --enable-libgsm --enable-libdc1394 --disable-debug --enable-shared --prefix=/usr --enable-nonfree --enable-x11grab --enable-zlib --enable-libspeex --enable-libopenjpeg --enable-libdirac --enable-libschroedinger --enable-libfaadbin --enable-hardcoded-tables --enable-runtime-cpudetect --enable-libnut --extra-cflags="-march=athlon64-sse3 -O3 -msse3" --enable-libamr-nb --enable-libamr-wb               
ERROR: libamrnb not found ← この部分です

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
[email protected] 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.

オフライン

 

#6 2009-05-22 22:06:45

hiroshi0114
新しいメンバ
登録日: 2009-04-19

Re: ffmpegでaacビルドエラー

./configure --enable-libfaac
libfaac is nonfree and --enable-nonfree is not specified.

上記のメッセージが表示されたため
./configure --enable-nonfree --enable-libfaacを実行したところ
aacにも対応させることができました。

jackalopeさん、hi0さん、takechanさんありがとうございました。

オフライン

 

Board footer

Powered by FluxBB