While I remember, I had better post this...

I am running the latest T2, well, downloaded a few days ago.

Some notes on compiling ffmpeg...

libdc1394 is potentially a dependency of ffmpeg, however, it compiles
after ffmpeg.
Also, libraw1394 needs to compile before libdc1394, so also has to be
moved earlier.

This is the order that has compiled ok for me, showing changed priority-numbers:

libmpeg2
libvpx
x264
libraw1394   142.499 MOVED
libdc1394    142.500  MOVED
libtheora
opencore-amr
xvid
orc            142.598  MOVED
schroedinger
ffmpeg      142.600

package orc also had to be moved earlier, as it is a dep of schroedinger.

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'"

Yep, ffmpeg compiled.

Actually, some of those options that I have explicitly enabled might
be autodetected.

I have introduced a new package, 'opencore-amr', which is a video
codec. It is free and open source, but I think it requires the
'--enable-version3', so you might want to move that -- but I think
that I read somewhere, there is some other codec that needs that
option also. --enable-version3 apparently broadens the licensing
somewhat.

OK, I had better post how I added opencore-amr...

I put it into 'multimedia'. Here is content of opencore-amr.conf:

#BK
var_append extraconfopt ' ' '--with-downloader=wget'

...but those who don't like wget can substitute something else :)

Here is content of opencore-amr.desc (a hack, needs to be fixed):

[I] opencore-amr video library

[T] opencore-amr video library
[T] ...

[U] http://sourceforge.net/projects/opencore-amr/

[A] nobody <[email protected]>
[M] The T2 Project <[email protected]>

[C] extra/network
[F] CROSS

[L] GPL
[S] Stable
[V] 0.1.3
[P] X -----5---9 142.500

[D] 0 opencore-amr-0.1.3.tar.bz2 http://sourceforge.net/projects/opencore-amr/



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

Reply via email to