Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52333 - transcode-0.6.12-r1 fails encoding XviD videos: xvid_init undefined
Summary: transcode-0.6.12-r1 fails encoding XviD videos: xvid_init undefined
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-29 04:41 UTC by Ziqyss
Modified: 2004-09-23 22:54 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ziqyss 2004-05-29 04:41:44 UTC
It looks like that libxvidcore.so.4, from the last xvid package (1.0.0_rc4) doesn't have xvid_init defined like old one (transcode wants to use  libxvidcore.so.2). Transcode 0.6.12-r1 seems to not be aware of it and fails.
I have found some clue in http://list.xvid.org/pipermail/xvid-devel/2003-August/003359.html but I haven't gotten to resolve it.


Reproducible: Always
Steps to Reproduce:
1. get an Xvid video
2. try "transcode -x xvid,null -i video.avi -o sample -y ppm"


Actual Results:  
>transcode -x xvid,null -i video.avi -o sample -y ppm
transcode v0.6.12 (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 video.avi (ok)
[transcode] V: import format    | XviD RIFF data, AVI (V=xvid|A=null)
[transcode] V: import frame     | 512x272  1.88:1
[transcode] V: bits/pixel       | 0.517
[transcode] V: decoding fps,frc | 25.000,3
[transcode] A: import format    | 0x55    MPEG layer-3 [48000,16,2]  128 kbps
[transcode] A: export format    | 0x55    MPEG layer-3 [48000,16,2]  128 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame  | 7680 (7680.000000)
[transcode] A: adjustment       | 0@1000
[transcode] V: IA32 accel mode  | sse2 (sse2 sse mmxext mmx asm)
[transcode] V: video buffer     | 10 @ 512x272
[import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null
[import_xvid.so] v0.0.3 (2003-11-29) (video) XviD/OpenDivX/DivX 4.xx/5.xx
[export_ppm.so] v0.1.1 (2002-02-14) (video) PPM/PGM | (audio) MPEG/AC3/PCM
XviD_init: /usr/lib/libxvidcore.so.2: undefined symbol: xvid_init
failed to init Xvid codec
video import module error: OPEN failed
[transcode] critical: failed to open input source



> emerge info
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.4.15
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://gentoo.mirror.sdv.fr ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp.caliu.info/pub/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/
http://mirror.pudas.net/gentoo http://gentoo.seren.com/gentoo
http://ftp.isu.edu.tw/pub/Linux/Gentoo http://gentoo.spb.ru/rsync"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apm arts avi berkdb bonobo cdr crypt cups dga doc dvd
encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml imlib ipv6 java
joystick jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses
nls nptl oggvorbis opengl oss pam pcmcia pdflib perl png pnp python qt quicktime
readline samba sdl slang spell ssl svga tcltk tcpd tetex truetype usb x86 xml2
xmms xv zlib"
Comment 1 Daniel Gerstner 2004-06-16 06:24:57 UTC
try "transcode -x xvid4,null -i video.avi -o sample -y ppm" or use xvid 0.9.1
Comment 2 Ziqyss 2004-06-17 09:58:47 UTC
It doesn't work using xvid4. The error I get is this: /usr/lib/transcode/import_xvid4.so: cannot open shared object file: No such file or directory

Installing version 0.9.1 resolves the problem
Comment 3 Sigurd Stordal 2004-09-20 08:26:50 UTC
The problem is there is no xvid4 import module only xvid module, maybe time to make a xvid4 import module in transcode.
Comment 4 Disenchanted (RETIRED) gentoo-dev 2004-09-20 20:23:10 UTC
make your life's easy using -x mplayer, anything mplayer can decode you can input to transcode, i could not find a significant change in fps while encoding using -x mplayer and worrying about matching input modules is a thing of the past, hope this helps some

Comment 5 Bret Towe 2004-09-22 14:38:53 UTC
i see that -r1 already depends on 0.9.1 of xvid
any reason to keep this bug open any longer?
Comment 6 Disenchanted (RETIRED) gentoo-dev 2004-09-23 22:54:27 UTC
works for me