Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30296 - transcode needs dependency on divx4linux.
Summary: transcode needs dependency on divx4linux.
Status: RESOLVED FIXED
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: 30592
  Show dependency tree
 
Reported: 2003-10-03 22:14 UTC by Bob Miller
Modified: 2004-01-07 16:18 UTC (History)
2 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 Bob Miller 2003-10-03 22:14:25 UTC
media-video/transcode-0.6.6 requires media-libs/divx4linux-20020418.  It will
not run with the current divx4linux, which is 20030428.  The API in libencore
has changed significantly between those two releases.

The current ebuild file (transcode-0.6.6.ebuild) has no dependency at all on
divx4linux.

When I run dvd::rip and specify divx4 or divx5 as target video codec, I get
these messages.

[export_divx4.so] WARNING: Unrecognized API version ID (20021024) returned by Di
vX encore library: Making a guess that it's a 5.x-style interface (please report
 this message and your DivX library version to the transcode developers)
[export_divx4.so] DivX 5.x libraries detected.
(encoder.c) video export module error: init failed
critical error: failed to init encoder - exit


Reproducible: Always
Steps to Reproduce:
1. emerge media-video/dvdrip
2. Run dvdrip.  Rip a DVD.  Set target video codec to divx5 (or divx4).
3. Press the Transcode button.  It fails immediately.

Actual Results:  
dvd::rip puts up an alert box with these messages.

export_divx4.so] WARNING: Unrecognized API version ID (20021024) returned by Di
vX encore library: Making a guess that it's a 5.x-style interface (please report
 this message and your DivX library version to the transcode developers)
[export_divx4.so] DivX 5.x libraries detected.
(encoder.c) video export module error: init failed
critical error: failed to init encoder - exit


Expected Results:  
Should create an AVI file.

Gentoo 1.4, last sync'd 10/3/2003, x86 architecture.
Comment 1 Markus Nigbur (RETIRED) gentoo-dev 2003-10-04 02:25:46 UTC
transcode-0.6.10.ebuild:        avi? ( x86? ( >=media-libs/divx4linux-20030428
) )
transcode-0.6.7.ebuild: avi? ( x86? ( >=media-libs/divx4linux-20030428 )
)
transcode-0.6.8.ebuild: avi? ( x86? ( >=media-libs/divx4linux-20030428 )
)
transcode-0.6.9.ebuild: avi? ( x86? ( >=media-libs/divx4linux-20030428 )
)

you might want to sync.
Comment 2 Bob Miller 2003-10-05 15:25:00 UTC
pYrania wrote:

> You might want to sync.

I had sync'd.  That doesn't change the basic fact that transcode through
0.6.10 only works with divx4linux-20020418.  (See the code for yourself in
export/export_divx[45].c.  It's definitely using the old API.)  So the ebuild
files for 0.6.7 through 0.6.10 are broken too -- they should depend on 20020418,
not 20030428.

I am currently working on a patch to make divx4linux use SLOTs, since that
seems to be the right approach.  (Well, it would be even better to add code
upstream to make transcode understand the new version.)

Can someone tell me how to submit this patch if/when it's finished?  Or tell
me why SLOTs aren't the answer?

Thanks.
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2003-10-07 15:23:50 UTC
From the transcode changelog: maybe that was a cause of this confusion. 
---
transcode-0.6.7 Thu May 29 18:50:46 CEST 2003

2003-05-29 Tilmann Bitterberg <transcode at tibit.org>

  * export/export_divx5.c import/import_divx.c:
  Experimental support for decoding and encoding divx5.0.5. I used
  divx4linux-20030428 for development and testing.
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2004-01-07 16:18:40 UTC
transcode-0.6.11 works