FFmpegのインストールオプションが変わっているようだ。
上記の記事を書いた時点(2008/09/18)でのFFmpegのインストールオプションは以下の通り。
% port variants ffmpeg
ffmpeg has the variants:
universal
darwin_i386
gpl: allow use of GPL code, the resulting libav* and ffmpeg will be under GPL
postproc: enable GPLed postprocessing support
lame: enable MP3 encoding via libmp3lame
extvorbis: enable Vorbis encoding via libvorbis, native implementation exists
theora: enable Theora encoding via libtheora
faac: enable FAAC support via libfaac
faad: enable FAAD support via libfaad
xvid: enable Xvid encoding via xvidcore, native MPEG-4/Xvid encoder exists
x264: enable H.264 encoding via x264
a52: enable GPLed liba52 support
avfilter: video filter support (replaces vhook)
ffmpeg has the variants:
universal
darwin_i386
gpl: allow use of GPL code, the resulting libav* and ffmpeg will be under GPL
postproc: enable GPLed postprocessing support
lame: enable MP3 encoding via libmp3lame
extvorbis: enable Vorbis encoding via libvorbis, native implementation exists
theora: enable Theora encoding via libtheora
faac: enable FAAC support via libfaac
faad: enable FAAD support via libfaad
xvid: enable Xvid encoding via xvidcore, native MPEG-4/Xvid encoder exists
x264: enable H.264 encoding via x264
a52: enable GPLed liba52 support
avfilter: video filter support (replaces vhook)
しかし、最新のバージョンでは違っている。
上記エントリーを書いたときのログに残っていたインストールオプションは以下の通り。
% sudo port variants ffmpeg
Password:
ffmpeg has the variants:
no_mmx: disable all x86 asm optimizations
no_gpl: disallow use of GPL code, license will be LGPL
speex: enable Speex decoding via libspeex
Password:
ffmpeg has the variants:
no_mmx: disable all x86 asm optimizations
no_gpl: disallow use of GPL code, license will be LGPL
speex: enable Speex decoding via libspeex
インストールをすると次のような表示になる。ただし、この表示をコピーするために一度FFmpegを消してからインストールをやり直しているので、依存しているパッケージのビルド等は表示されていない。
% sudo port install ffmpeg
---> Fetching ffmpeg
---> Verifying checksum(s) for ffmpeg
---> Extracting ffmpeg
---> Applying patches to ffmpeg
---> Configuring ffmpeg
---> Building ffmpeg
---> Staging ffmpeg into destroot
---> Installing ffmpeg @0.5_2
---> Activating ffmpeg @0.5_2
*******
******* This build of ffmpeg includes GPLed code and
******* is therefore licensed under GPL.
*******
******* The following modules are GPLed:
*******
******* postproc
******* swscale
******* libfaad
******* libx264
******* libxvid
*******
******* To include only LGPLed code use variant +no_gpl
*******
---> Cleaning ffmpeg
---> Fetching ffmpeg
---> Verifying checksum(s) for ffmpeg
---> Extracting ffmpeg
---> Applying patches to ffmpeg
---> Configuring ffmpeg
---> Building ffmpeg
---> Staging ffmpeg into destroot
---> Installing ffmpeg @0.5_2
---> Activating ffmpeg @0.5_2
*******
******* This build of ffmpeg includes GPLed code and
******* is therefore licensed under GPL.
*******
******* The following modules are GPLed:
*******
******* postproc
******* swscale
******* libfaad
******* libx264
******* libxvid
*******
******* To include only LGPLed code use variant +no_gpl
*******
---> Cleaning ffmpeg
つまり、以前のバージョンであれば、オプションを指定せずにFFmpegをインストールしても、GPLのencoderはincludeされないためLGPLだったけど、今のバージョンではオプションでincludeを拒否しないとGPLになるってこと。ライセンスに厳しい開発をやっているなら気をつけないといけないなぁ。