Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 78788

Summary: transcode-0.6.14 : no /usr/lib/transcode/export_mpeg.so on amd64
Product: Gentoo Linux Reporter: Marco Squarcina <lavish>
Component: Current packagesAssignee: AMD64 Project <amd64>
Status: RESOLVED CANTFIX    
Severity: normal CC: media-video, rickfharris
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marco Squarcina 2005-01-20 02:19:26 UTC
I've compiled transcode with this flags:

media-video/transcode-0.6.14  (-3dnow) +X -a52 (-altivec) +avi -debug -divx4linux +dv +dvdread +encode -fame +gtk +imagemagick +jpeg -lzo +mjpeg +mpeg -network +oggvorbis (-pvm) -quicktime +sdl (-sse) -theora +truetype -v4l +xml2 +xvid 0 kB 

Now, I try to encode something from .avi to .mpeg but:

darkstar Video # transcode -i DIVXITA.IT\ Trainspotting.avi -V -y mpeg -F d -Y -32,0,-32,0 -E 44100 -b 128 -o Trainspotting-dvd
*** WARNING: The option -V is deprecated. ***
*** Transcode internal frame handling is now in YV12 / YUV420 ***
*** format by default because most codecs can only handle this format, ***
*** otherwise leading to unnecessary time and quality wasting conversions. ***
*** If you want to have to "old" behaviour (RGB24 as internal format), ***
*** then please use the new -1/--use_rgb option ***
transcode v0.6.14 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source DIVXITA.IT Trainspotting.avi (ok)
[transcode] V: import format    | DivX;-) RIFF data, AVI (V=ffmpeg|A=null)
[transcode] V: import frame     | 480x272  1.76:1  
[transcode] V: clip frame (->)  | 480x336
[transcode] V: bits/pixel       | 0.446
[transcode] V: decoding fps,frc | 25.000,3
[transcode] V: Y'CbCr           | YV12/I420
[transcode] A: import format    | 0x161   unknown      [44100,16,2]   64 kbps
[transcode] A: export format    | 0x50    MPEG layer-2 [44100,16,2]  128 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame  | 7056 (7056.000000)
[transcode] A: adjustment       | 0@1000
tc_memcpy: using libc for memcpy
[transcode] V: video buffer     | 10 @ 480x336
[import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null
[import_ffmpeg.so] v0.1.11 (2004-02-29) (video)  FFmpeg0.4.9-pre1b4718: MS MPEG4v1-3/MPEG4/MJPEG
[transcode] warning : /usr/lib/transcode/export_mpeg.so: cannot open shared object file: No such file or directory
[transcode] warning : (dl_loader.c) loading "/usr/lib/transcode/export_mpeg.so" failed
[transcode] warning : (encoder.c) loading audio export module failed
[transcode] warning : failed to init export modules
[transcode] critical: plug-in initialization failed



I saw in the forum I'm not the only guy with this problem:
http://forums.gentoo.org/viewtopic.php?t=117709&postdays=0&postorder=asc&start=200
http://forums.gentoo.org/viewtopic.php?t=250811

Here's my emerge info:

darkstar Video # emerge info
Portage 2.0.51-r14 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec  2 2004, 00:54:12)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r3
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/  ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://195.56.77.10/ http://194.149.10.102/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa avi bash-completion bitmap-fonts cddb cdr chroot codecs crypt ctype dvd dvdr emul-linux-x86 encode f77 fam flac font-server ftp gdbm gif glut gmail gpm gtk gtk2 imagemagick imlib ipv6 java jp2 jpeg lzw lzw-tiff mad mikmod motif mozilla moznocompose moznoirc moznomail mp3 mpeg mpeg4 multilib ncurses nls nowin nptl nptlonly ntlm nvidia oggvorbis opengl pam pdflib perl png python readline sdl slang ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml xml2 xpm xv xvid zlib"

Cheers
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-20 05:02:27 UTC
somewhat weird ... i wanted to add media-video@g.o , of course
Comment 2 Rick Harris 2005-01-23 15:43:39 UTC
This is a problem that until is fixed upstream by transcode developers, there's not a lot we can do.
In the meantime change your transcode line to use '-y ffmpeg -F mpeg2video' instead of '-y mpeg -F d'.
Not only does this work on 64-bit machines, but is also much faster.
Also as an aside, '-V' is not used anymore (deprecated).
Comment 3 Marco Squarcina 2005-01-24 06:38:47 UTC
Thanks for reply, but "-y ffmpeg -F mpeg2video" gave me an m2v, and I'm not able to listen to anything in this way (transcode muted my video)... i need an .mpeg...
Comment 4 Rick Harris 2005-01-24 17:14:00 UTC
That is good, this is what transcode does, it creates seperate audio & video streams.
As this is not a support forum, I can only refer you back to http://forums.gentoo.org/viewtopic.php?t=117709
Hint: Use '-m <audio_filename>' to have it create the audio stream (as described in the forum post)
Comment 5 Simon Stelling (RETIRED) gentoo-dev 2005-03-22 11:45:38 UTC
can't fix, see comment #2 for reason. your problem seems fixed as you get the desired (whatever that may be ;)) behaviour :)