On 12/24/12, Barry Kauler <[email protected]> wrote:
>
> I created my own pkg_ffmpeg.conf, with this extra stuff:
>
> # BK 121224 add... note --enable-network is default
> var_append extraconfopt " " "--enable-x11grab --enable-small
> --enable-runtime-cpudetect --enable-zlib --disable-debug
> --enable-version3"
> pkginstalled libsdl || var_append extraconfopt " " "--disable-ffplay"
> pkginstalled opencore-amr && var_append extraconfopt " "
> "--enable-libopencore-amrnb --enable-libopencore-amrwb"
> pkginstalled libdc1394 && var_append extraconfopt " " "--enable-libdc1394"
> pkginstalled freetype && var_append extraconfopt " " "--enable-libfreetype"
> pkginstalled schroedinger && var_append extraconfopt " "
> "--enable-libschroedinger"
> pkginstalled libvpx && var_append extraconfopt " " "--enable-libvpx"
> pkginstalled speex && var_append extraconfopt " " "--enable-libspeex"
> pkginstalled libcdio && var_append extraconfopt " " "--enable-libcdio"
> #complains X11 not found...
> var_append extraconfopt " " "--extra-ldflags='-L/usr/X11R7/lib'"
>

Actually, a slight modification to the above is required:

pkginstalled libdc1394 && pkginstalled libraw1394 && var_append
extraconfopt " " "--enable-libdc1394"

...ffmpeg requires both of those for the --enable-libdc1394 to work.

Furthermore, they must be compiled in the order:

libraw1394
libdc1394
ffmpeg

...as ffmpeg actually requires libdc1394 to be compiled with
libraw1394 as a dependency. Note, libdc1394 will automatically
recognise existence of libraw1394 during configure.

Regards,
Barry Kauler



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to