ffmpeg

「ffmpeg」の編集履歴(バックアップ)一覧はこちら

ffmpeg」(2010/12/20 (月) 04:28:20) の最新版変更点

追加された行は緑色になります。

削除された行は赤色になります。

*ffmpegのインストール **portをインストール http://www.macports.org/install.php **ffmpegをインストールする前に。 http://ffmpeg.darwinports.com/ **ffmpegのインストール % sudo port install lame % sudo port install x264 % sudo port install faac % sudo port install faad2 % sudo port install a52dec % sudo port install ffmpeg +faac +faad +a52 +x264 **よく使うオプション $ffmpeg -i in.mp3 -ac 1 -ar 8000 -ab 32 out.mp3 zigen3rd-no-mac-pro:~ zigen3rd$ sudo port install lame Password: ---> Computing dependencies for lame ---> Dependencies to be installed: ncurses ncursesw ---> Fetching ncursesw ---> Attempting to fetch ncurses-5.7.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/ncurses ---> Verifying checksum(s) for ncursesw ---> Extracting ncursesw ---> Applying patches to ncursesw ---> Configuring ncursesw ---> Building ncursesw ---> Staging ncursesw into destroot ---> Installing ncursesw @5.7_1 ---> Activating ncursesw @5.7_1 ---> Cleaning ncursesw ---> Fetching ncurses ---> Verifying checksum(s) for ncurses ---> Extracting ncurses ---> Applying patches to ncurses ---> Configuring ncurses ---> Building ncurses ---> Staging ncurses into destroot ---> Installing ncurses @5.7_1 ---> Activating ncurses @5.7_1 ---> Cleaning ncurses ---> Fetching lame ---> Attempting to fetch lame-3.98.4.tar.gz from http://jaist.dl.sourceforge.net/lame ---> Verifying checksum(s) for lame ---> Extracting lame ---> Configuring lame ---> Building lame ---> Staging lame into destroot ---> Installing lame @3.98.4_0 ---> Activating lame @3.98.4_0 ---> Cleaning lame zigen3rd-no-mac-pro:~ zigen3rd$ zigen3rd-no-mac-pro:~ zigen3rd$ sudo port install x264 ---> Computing dependencies for x264 ---> Dependencies to be installed: yasm gettext expat libiconv gperf ---> Fetching expat ---> Attempting to fetch expat-2.0.1.tar.gz from http://jaist.dl.sourceforge.net/expat ---> Verifying checksum(s) for expat ---> Extracting expat ---> Configuring expat ---> Building expat ---> Staging expat into destroot ---> Installing expat @2.0.1_1 ---> Activating expat @2.0.1_1 ---> Cleaning expat ---> Fetching gperf ---> Attempting to fetch gperf-3.0.4.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/gperf ---> Verifying checksum(s) for gperf ---> Extracting gperf ---> Configuring gperf ---> Building gperf ---> Staging gperf into destroot ---> Installing gperf @3.0.4_0 ---> Activating gperf @3.0.4_0 ---> Cleaning gperf ---> Fetching libiconv ---> Attempting to fetch libiconv-1.13.1.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/libiconv ---> Verifying checksum(s) for libiconv ---> Extracting libiconv ---> Applying patches to libiconv ---> Configuring libiconv ---> Building libiconv ---> Staging libiconv into destroot ---> Installing libiconv @1.13.1_0 ---> Activating libiconv @1.13.1_0 ---> Cleaning libiconv ---> Fetching gettext ---> Attempting to fetch gettext-0.18.1.1.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/gettext ---> Verifying checksum(s) for gettext ---> Extracting gettext ---> Applying patches to gettext ---> Configuring gettext ---> Building gettext ---> Staging gettext into destroot ---> Installing gettext @0.18.1.1_2 ---> Activating gettext @0.18.1.1_2 ---> Cleaning gettext ---> Fetching yasm ---> Attempting to fetch yasm-1.1.0.tar.gz from http://distfiles.macports.org/yasm ---> Verifying checksum(s) for yasm ---> Extracting yasm ---> Configuring yasm ---> Building yasm ---> Staging yasm into destroot ---> Installing yasm @1.1.0_0 ---> Activating yasm @1.1.0_0 ---> Cleaning yasm ---> Fetching x264 ---> Attempting to fetch x264-snapshot-20100603-2245.tar.bz2 from http://distfiles.macports.org/x264 ---> Verifying checksum(s) for x264 ---> Extracting x264 ---> Configuring x264 ---> Building x264 ---> Staging x264 into destroot ---> Installing x264 @20100603_0 ---> Activating x264 @20100603_0 ---> Cleaning x264 zigen3rd-no-mac-pro:~ zigen3rd$ zigen3rd-no-mac-pro:~ zigen3rd$ sudo port install faac Password: ---> Computing dependencies for faac ---> Dependencies to be installed: autoconf help2man p5-locale-gettext perl5 perl5.8 m4 automake libtool ---> Fetching perl5.8 ---> Attempting to fetch perl-5.8.9.tar.bz2 from http://www.cpan.org/src/ ---> Verifying checksum(s) for perl5.8 ---> Extracting perl5.8 ---> Applying patches to perl5.8 ---> Configuring perl5.8 ---> Building perl5.8 ---> Staging perl5.8 into destroot ---> Installing perl5.8 @5.8.9_3 ---> Activating perl5.8 @5.8.9_3 ---> Cleaning perl5.8 ---> Fetching perl5 ---> Verifying checksum(s) for perl5 ---> Extracting perl5 ---> Configuring perl5 ---> Building perl5 ---> Staging perl5 into destroot ---> Installing perl5 @5.8.9_0 ---> Activating perl5 @5.8.9_0 ---> Cleaning perl5 ---> Fetching p5-locale-gettext ---> Attempting to fetch gettext-1.05.tar.gz from ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Locale ---> Verifying checksum(s) for p5-locale-gettext ---> Extracting p5-locale-gettext ---> Applying patches to p5-locale-gettext ---> Configuring p5-locale-gettext ---> Building p5-locale-gettext ---> Staging p5-locale-gettext into destroot ---> Installing p5-locale-gettext @1.05_3 ---> Activating p5-locale-gettext @1.05_3 ---> Cleaning p5-locale-gettext ---> Fetching help2man ---> Attempting to fetch help2man-1.38.2.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/help2man ---> Verifying checksum(s) for help2man ---> Extracting help2man ---> Configuring help2man ---> Building help2man ---> Staging help2man into destroot ---> Installing help2man @1.38.2_0 ---> Activating help2man @1.38.2_0 ---> Cleaning help2man ---> Fetching m4 ---> Attempting to fetch m4-1.4.15.tar.bz2 from ftp://ftp.dti.ad.jp/pub/GNU/m4 ---> Verifying checksum(s) for m4 ---> Extracting m4 ---> Configuring m4 ---> Building m4 ---> Staging m4 into destroot ---> Installing m4 @1.4.15_2 ---> Activating m4 @1.4.15_2 ---> Cleaning m4 ---> Fetching autoconf ---> Attempting to fetch autoconf-2.68.tar.bz2 from ftp://ftp.dti.ad.jp/pub/GNU/autoconf ---> Verifying checksum(s) for autoconf ---> Extracting autoconf ---> Configuring autoconf ---> Building autoconf ---> Staging autoconf into destroot ---> Installing autoconf @2.68_1 ---> Activating autoconf @2.68_1 ---> Cleaning autoconf ---> Fetching automake ---> Attempting to fetch automake-1.11.1.tar.bz2 from ftp://ftp.dti.ad.jp/pub/GNU/automake ---> Verifying checksum(s) for automake ---> Extracting automake ---> Configuring automake ---> Building automake ---> Staging automake into destroot ---> Installing automake @1.11.1_0 ---> Activating automake @1.11.1_0 ---> Cleaning automake ---> Fetching libtool ---> Attempting to fetch libtool-2.4.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/libtool ---> Verifying checksum(s) for libtool ---> Extracting libtool ---> Configuring libtool ---> Building libtool ---> Staging libtool into destroot ---> Installing libtool @2.4_0 ---> Activating libtool @2.4_0 ---> Cleaning libtool ---> Fetching faac ---> Attempting to fetch faac-1.28.tar.gz from http://jaist.dl.sourceforge.net/faac ---> Verifying checksum(s) for faac ---> Extracting faac ---> Configuring faac ---> Building faac ---> Staging faac into destroot ---> Installing faac @1.28_2 ---> Activating faac @1.28_2 ---> Cleaning faac zigen3rd-no-mac-pro:~ zigen3rd$ zigen3rd-no-mac-pro:~ zigen3rd$ sudo port install faad2 Password: ---> Computing dependencies for faad2 ---> Fetching faad2 ---> Attempting to fetch faad2-2.7.tar.gz from http://jaist.dl.sourceforge.net/faac ---> Verifying checksum(s) for faad2 ---> Extracting faad2 ---> Configuring faad2 ---> Building faad2 ---> Staging faad2 into destroot ---> Installing faad2 @2.7_0 ---> Activating faad2 @2.7_0 ---> Cleaning faad2 zigen3rd-no-mac-pro:~ zigen3rd$ zigen3rd-no-mac-pro:~ zigen3rd$ sudo port install a52dec ---> Computing dependencies for a52dec ---> Fetching a52dec ---> Attempting to fetch a52dec-0.7.4.tar.gz from http://distfiles.macports.org/a52dec ---> Verifying checksum(s) for a52dec ---> Extracting a52dec ---> Configuring a52dec ---> Building a52dec ---> Staging a52dec into destroot ---> Installing a52dec @0.7.4_0 ---> Activating a52dec @0.7.4_0 ---> Cleaning a52dec zigen3rd-no-mac-pro:~ zigen3rd$ zigen3rd-no-mac-pro:~ zigen3rd$ port install ffmpeg +faac +faad +a52 +x264 +lame Error: Insufficient privileges to write to MacPorts install prefix. zigen3rd-no-mac-pro:~ zigen3rd$ zigen3rd-no-mac-pro:~ zigen3rd$ zigen3rd-no-mac-pro:~ zigen3rd$ sudo port install ffmpeg +faac +faad +a52 +x264 +lame ---> Computing dependencies for ffmpeg ---> Building ffmpeg ---> Staging ffmpeg into destroot ---> Installing ffmpeg @0.6.1_0 ---> Activating ffmpeg @0.6.1_0 ******* ******* This build of ffmpeg includes nonfree code as follows: ******* ******* libfaac ******* ******* The following libraries and binaries may not be redistributed: ******* ******* ffmpeg ******* libavcodec ******* libavdevice ******* libavfilter ******* libavformat ******* libavutil ******* ******* To remove this restriction use variant +no_nonfree ******* ---> Cleaning ffmpeg zigen3rd-no-mac-pro:~ zigen3rd$
*ffmpegのインストール **portをインストール http://www.macports.org/install.php **ffmpegをインストールする前に。 http://ffmpeg.darwinports.com/ **ffmpegのインストール % sudo port install lame % sudo port install x264 % sudo port install faac % sudo port install faad2 % sudo port install a52dec % sudo port install ffmpeg +faac +faad +a52 +x264 **よく使うオプション $ffmpeg -i in.mp3 -ac 1 -ar 8000 -ab 32 out.mp3 $awk '{print "ffmpeg -i " $9 " -ac 1 -ar 16000 -ab 32 " $9 ".mp3"}' ls.txt zigen3rd-no-mac-pro:~ zigen3rd$ sudo port install lame Password: ---> Computing dependencies for lame ---> Dependencies to be installed: ncurses ncursesw ---> Fetching ncursesw ---> Attempting to fetch ncurses-5.7.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/ncurses ---> Verifying checksum(s) for ncursesw ---> Extracting ncursesw ---> Applying patches to ncursesw ---> Configuring ncursesw ---> Building ncursesw ---> Staging ncursesw into destroot ---> Installing ncursesw @5.7_1 ---> Activating ncursesw @5.7_1 ---> Cleaning ncursesw ---> Fetching ncurses ---> Verifying checksum(s) for ncurses ---> Extracting ncurses ---> Applying patches to ncurses ---> Configuring ncurses ---> Building ncurses ---> Staging ncurses into destroot ---> Installing ncurses @5.7_1 ---> Activating ncurses @5.7_1 ---> Cleaning ncurses ---> Fetching lame ---> Attempting to fetch lame-3.98.4.tar.gz from http://jaist.dl.sourceforge.net/lame ---> Verifying checksum(s) for lame ---> Extracting lame ---> Configuring lame ---> Building lame ---> Staging lame into destroot ---> Installing lame @3.98.4_0 ---> Activating lame @3.98.4_0 ---> Cleaning lame zigen3rd-no-mac-pro:~ zigen3rd$ zigen3rd-no-mac-pro:~ zigen3rd$ sudo port install x264 ---> Computing dependencies for x264 ---> Dependencies to be installed: yasm gettext expat libiconv gperf ---> Fetching expat ---> Attempting to fetch expat-2.0.1.tar.gz from http://jaist.dl.sourceforge.net/expat ---> Verifying checksum(s) for expat ---> Extracting expat ---> Configuring expat ---> Building expat ---> Staging expat into destroot ---> Installing expat @2.0.1_1 ---> Activating expat @2.0.1_1 ---> Cleaning expat ---> Fetching gperf ---> Attempting to fetch gperf-3.0.4.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/gperf ---> Verifying checksum(s) for gperf ---> Extracting gperf ---> Configuring gperf ---> Building gperf ---> Staging gperf into destroot ---> Installing gperf @3.0.4_0 ---> Activating gperf @3.0.4_0 ---> Cleaning gperf ---> Fetching libiconv ---> Attempting to fetch libiconv-1.13.1.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/libiconv ---> Verifying checksum(s) for libiconv ---> Extracting libiconv ---> Applying patches to libiconv ---> Configuring libiconv ---> Building libiconv ---> Staging libiconv into destroot ---> Installing libiconv @1.13.1_0 ---> Activating libiconv @1.13.1_0 ---> Cleaning libiconv ---> Fetching gettext ---> Attempting to fetch gettext-0.18.1.1.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/gettext ---> Verifying checksum(s) for gettext ---> Extracting gettext ---> Applying patches to gettext ---> Configuring gettext ---> Building gettext ---> Staging gettext into destroot ---> Installing gettext @0.18.1.1_2 ---> Activating gettext @0.18.1.1_2 ---> Cleaning gettext ---> Fetching yasm ---> Attempting to fetch yasm-1.1.0.tar.gz from http://distfiles.macports.org/yasm ---> Verifying checksum(s) for yasm ---> Extracting yasm ---> Configuring yasm ---> Building yasm ---> Staging yasm into destroot ---> Installing yasm @1.1.0_0 ---> Activating yasm @1.1.0_0 ---> Cleaning yasm ---> Fetching x264 ---> Attempting to fetch x264-snapshot-20100603-2245.tar.bz2 from http://distfiles.macports.org/x264 ---> Verifying checksum(s) for x264 ---> Extracting x264 ---> Configuring x264 ---> Building x264 ---> Staging x264 into destroot ---> Installing x264 @20100603_0 ---> Activating x264 @20100603_0 ---> Cleaning x264 zigen3rd-no-mac-pro:~ zigen3rd$ zigen3rd-no-mac-pro:~ zigen3rd$ sudo port install faac Password: ---> Computing dependencies for faac ---> Dependencies to be installed: autoconf help2man p5-locale-gettext perl5 perl5.8 m4 automake libtool ---> Fetching perl5.8 ---> Attempting to fetch perl-5.8.9.tar.bz2 from http://www.cpan.org/src/ ---> Verifying checksum(s) for perl5.8 ---> Extracting perl5.8 ---> Applying patches to perl5.8 ---> Configuring perl5.8 ---> Building perl5.8 ---> Staging perl5.8 into destroot ---> Installing perl5.8 @5.8.9_3 ---> Activating perl5.8 @5.8.9_3 ---> Cleaning perl5.8 ---> Fetching perl5 ---> Verifying checksum(s) for perl5 ---> Extracting perl5 ---> Configuring perl5 ---> Building perl5 ---> Staging perl5 into destroot ---> Installing perl5 @5.8.9_0 ---> Activating perl5 @5.8.9_0 ---> Cleaning perl5 ---> Fetching p5-locale-gettext ---> Attempting to fetch gettext-1.05.tar.gz from ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Locale ---> Verifying checksum(s) for p5-locale-gettext ---> Extracting p5-locale-gettext ---> Applying patches to p5-locale-gettext ---> Configuring p5-locale-gettext ---> Building p5-locale-gettext ---> Staging p5-locale-gettext into destroot ---> Installing p5-locale-gettext @1.05_3 ---> Activating p5-locale-gettext @1.05_3 ---> Cleaning p5-locale-gettext ---> Fetching help2man ---> Attempting to fetch help2man-1.38.2.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/help2man ---> Verifying checksum(s) for help2man ---> Extracting help2man ---> Configuring help2man ---> Building help2man ---> Staging help2man into destroot ---> Installing help2man @1.38.2_0 ---> Activating help2man @1.38.2_0 ---> Cleaning help2man ---> Fetching m4 ---> Attempting to fetch m4-1.4.15.tar.bz2 from ftp://ftp.dti.ad.jp/pub/GNU/m4 ---> Verifying checksum(s) for m4 ---> Extracting m4 ---> Configuring m4 ---> Building m4 ---> Staging m4 into destroot ---> Installing m4 @1.4.15_2 ---> Activating m4 @1.4.15_2 ---> Cleaning m4 ---> Fetching autoconf ---> Attempting to fetch autoconf-2.68.tar.bz2 from ftp://ftp.dti.ad.jp/pub/GNU/autoconf ---> Verifying checksum(s) for autoconf ---> Extracting autoconf ---> Configuring autoconf ---> Building autoconf ---> Staging autoconf into destroot ---> Installing autoconf @2.68_1 ---> Activating autoconf @2.68_1 ---> Cleaning autoconf ---> Fetching automake ---> Attempting to fetch automake-1.11.1.tar.bz2 from ftp://ftp.dti.ad.jp/pub/GNU/automake ---> Verifying checksum(s) for automake ---> Extracting automake ---> Configuring automake ---> Building automake ---> Staging automake into destroot ---> Installing automake @1.11.1_0 ---> Activating automake @1.11.1_0 ---> Cleaning automake ---> Fetching libtool ---> Attempting to fetch libtool-2.4.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/libtool ---> Verifying checksum(s) for libtool ---> Extracting libtool ---> Configuring libtool ---> Building libtool ---> Staging libtool into destroot ---> Installing libtool @2.4_0 ---> Activating libtool @2.4_0 ---> Cleaning libtool ---> Fetching faac ---> Attempting to fetch faac-1.28.tar.gz from http://jaist.dl.sourceforge.net/faac ---> Verifying checksum(s) for faac ---> Extracting faac ---> Configuring faac ---> Building faac ---> Staging faac into destroot ---> Installing faac @1.28_2 ---> Activating faac @1.28_2 ---> Cleaning faac zigen3rd-no-mac-pro:~ zigen3rd$ zigen3rd-no-mac-pro:~ zigen3rd$ sudo port install faad2 Password: ---> Computing dependencies for faad2 ---> Fetching faad2 ---> Attempting to fetch faad2-2.7.tar.gz from http://jaist.dl.sourceforge.net/faac ---> Verifying checksum(s) for faad2 ---> Extracting faad2 ---> Configuring faad2 ---> Building faad2 ---> Staging faad2 into destroot ---> Installing faad2 @2.7_0 ---> Activating faad2 @2.7_0 ---> Cleaning faad2 zigen3rd-no-mac-pro:~ zigen3rd$ zigen3rd-no-mac-pro:~ zigen3rd$ sudo port install a52dec ---> Computing dependencies for a52dec ---> Fetching a52dec ---> Attempting to fetch a52dec-0.7.4.tar.gz from http://distfiles.macports.org/a52dec ---> Verifying checksum(s) for a52dec ---> Extracting a52dec ---> Configuring a52dec ---> Building a52dec ---> Staging a52dec into destroot ---> Installing a52dec @0.7.4_0 ---> Activating a52dec @0.7.4_0 ---> Cleaning a52dec zigen3rd-no-mac-pro:~ zigen3rd$ zigen3rd-no-mac-pro:~ zigen3rd$ port install ffmpeg +faac +faad +a52 +x264 +lame Error: Insufficient privileges to write to MacPorts install prefix. zigen3rd-no-mac-pro:~ zigen3rd$ zigen3rd-no-mac-pro:~ zigen3rd$ zigen3rd-no-mac-pro:~ zigen3rd$ sudo port install ffmpeg +faac +faad +a52 +x264 +lame ---> Computing dependencies for ffmpeg ---> Building ffmpeg ---> Staging ffmpeg into destroot ---> Installing ffmpeg @0.6.1_0 ---> Activating ffmpeg @0.6.1_0 ******* ******* This build of ffmpeg includes nonfree code as follows: ******* ******* libfaac ******* ******* The following libraries and binaries may not be redistributed: ******* ******* ffmpeg ******* libavcodec ******* libavdevice ******* libavfilter ******* libavformat ******* libavutil ******* ******* To remove this restriction use variant +no_nonfree ******* ---> Cleaning ffmpeg zigen3rd-no-mac-pro:~ zigen3rd$

表示オプション

横に並べて表示:
変化行の前後のみ表示: