i emerged transcode-0.6.11, yet /usr/lib/transcode/filter_subtitler.so
has not been created.
How do i get this file?
Heinrich Rebehn
University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax : -3341
--
gento...@gentoo.org mailing list
On Sun, 2004-10-31 at 20:44 +0100, Heinrich Rebehn wrote:
> Hi all,
>
> i emerged transcode-0.6.11, yet /usr/lib/transcode/filter_subtitler.so
> has not been created.
> How do i get this file?
Did you enable the X use flag? It is just a guess, but running ldd
on /usr/lib/transcode/filter_subtitler.so on my system shows that it
depends on several X libraries. So, probably omitting X will disable the
subtitler filter.
--
so long,
oliver
Hi Oliver,
thank you for your help. USE X was indeed missing. I now have
filter_subtitler.so, but loading it aborts with:
[transcode] warning : loading filter module
/usr/lib/transcode/filter_subtitler.so failed
[transcode] warning : /usr/lib/transcode/filter_subtitler.so: undefined
symbol: FT_Init_FreeType
The missing symbol is in /usr/lib/libfreetype.a, but filter_subtitler is
not linked against it:
root@pchome [/usr/lib/transcode] # ldd filter_subtitler.so
linux-gate.so.1 => (0xffffe000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40229000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40231000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40247000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40255000)
libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x4031a000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x4032a000)
libXaw.so.8 => /usr/X11R6/lib/libXaw.so.8 (0x40376000)
libm.so.6 => /lib/libm.so.6 (0x403cc000)
libpthread.so.0 => /lib/libpthread.so.0 (0x403ee000)
libdl.so.2 => /lib/libdl.so.2 (0x4043e000)
libc.so.6 => /lib/libc.so.6 (0x40441000)
libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40545000)
libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x40559000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
USE truetype did not help either.
Any ideas?
--Heinrich
--
gento...@gentoo.org mailing list
transcode 0.6.11 doesn't detect freetype properly. You have two options:
1) Edit the ebuild and change the line
econf ${myconf} CFLAGS="${CFLAGS} -DDCT_YUV_PRECISION=1" || die
to
econf --enable-text ${myconf} CFLAGS="${CFLAGS} -DDCT_YUV_PRECISION=1"
|| die
2) Use transcode 0.6.13 from ~x86 (but only if you don't have k3b
installed which requires an older transcode)
Ymmv, but just thought I'd mention.
Holly
--
gento...@gentoo.org mailing list
/bin/sh ../libtool --mode=link gcc -Wall -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mcpu=i586 -O2 -pipe
-DDCT_YUV_PRECISION=1 -o tcextract tcextract-tcextract.o
tcextract-extract_ac3.o tcextract-extract_mpeg2.o
tcextract-extract_pcm.o tcextract-fileinfo.o tcextract-extract_yuv.o
tcextract-extract_rgb.o tcextract-extract_dv.o tcextract-ioaux.o
tcextract-extract_mp3.o tcextract-scan_dv.o tcextract-aux_pes.o
tcextract-extract_avi.o tcextract-extract_ogm.o tcextract-extract_lzo.o
tcextract-extract_mxf.o ../libac3/libac3_tc.la
../libmpeg2/libmpeg2cvs.la ../libvo/libvout.la ../avilib/libavi.la -logg
-lvorbis -logg -lm ../aclib/libac.la -lm -lm -lz -ldl
gcc -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -mcpu=i586 -O2 -pipe -DDCT_YUV_PRECISION=1 -o
tcextract tcextract-tcextract.o tcextract-extract_ac3.o
tcextract-extract_mpeg2.o tcextract-extract_pcm.o tcextract-fileinfo.o
tcextract-extract_yuv.o tcextract-extract_rgb.o tcextract-extract_dv.o
tcextract-ioaux.o tcextract-extract_mp3.o tcextract-scan_dv.o
tcextract-aux_pes.o tcextract-extract_avi.o tcextract-extract_ogm.o
tcextract-extract_lzo.o tcextract-extract_mxf.o
../libac3/.libs/libac3_tc.a ../libmpeg2/.libs/libmpeg2cvs.a
../libvo/.libs/libvout.a ../avilib/.libs/libavi.a /usr/lib/libvorbis.so
-L/usr/lib /usr/lib/libogg.so ../aclib/.libs/libac.a -lm -lz -ldl
../aclib/.libs/libac.a(tcmemcpy.o)(.text+0x2b): In function
`tc_memcpy_init':
: undefined reference to `ac_memcpy_amdmmx'
../aclib/.libs/libac.a(tcmemcpy.o)(.text+0x6d): In function
`tc_memcpy_init':
: undefined reference to `ac_memcpy_mmx'
collect2: ld returned 1 exit status
make[3]: *** [tcextract] Error 1
make[3]: Leaving directory
`/var/tmp/portage/transcode-0.6.13/work/transcode-0.6.13/import'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/transcode-0.6.13/work/transcode-0.6.13/import'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/transcode-0.6.13/work/transcode-0.6.13'
make: *** [all] Error 2
!!! ERROR: media-video/transcode-0.6.13 failed.
!!! Function src_compile, Line 86, Exitcode 2
!!! (no error message)
:-(
Heinrich
--
gento...@gentoo.org mailing list
Panteltje (c) movie composer-0.7 (alias subtitle-filter)
subtitler(): Using post processing
add_font(): arg name=arial.ttf size=28 iso_extension=15
outline_thickness=1.00 blur_radius=0.10
make_font(): arg font_name=arial.ttf font_size=28 iso_extention=15
outline_thickness=1.00 blur_radius=0.10
Cannot open file /home/rebehn/.xste/fonts/arial.ttf for read
subtitler(): add_font(): could not create requested font
arial.ttf_28_15_1.00_0.10, trying default font
make_font(): arg font_name=arial.ttf font_size=28 iso_extention=15
outline_thickness=1.00 blur_radius=0.10
Cannot open file /home/rebehn/.xste/fonts/arial.ttf for read
subtitler(): add_font(): could not create any font for
arial.ttf_28_15_1.00_0.10
subtitler(): Could not load font
[transcode] warning : filter plugin 'subtitler' returned error - plugin
skipped
Anybody know why it is looking for fonts in ~/.xste (which doesn't exist) ??
According to the subtitler docs in the transcode package, ~/.xste/fonts
is the default location where it looks for fonts. You might want to
create the dirs and copy arial.ttf there. Or, unpack the transcode
source code and have a look at
transcode-0.6.11/filter/subtitler/README.PPML and
transcode-0.6.11/filter/subtitler/demo.ppml
There is an option described to change the font path.