Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79990 - transcode(3dnow,sse2) xvid(mmx) subtitleripper,dvdrip for amd64
Summary: transcode(3dnow,sse2) xvid(mmx) subtitleripper,dvdrip for amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on: 69753
Blocks: 84488
  Show dependency tree
 
Reported: 2005-01-29 12:59 UTC by ACW
Modified: 2005-05-07 07:35 UTC (History)
1 user (show)

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


Attachments
transcode enable 3dnow and sse2 for amd64 - kludge (transcode-0.6.14.ebuild.patch,1.77 KB, patch)
2005-01-29 13:01 UTC, ACW
Details | Diff
dvdrip needs subtitleripper and can use libgtkhtml (dvdrip-0.52.0.ebuild.patch,985 bytes, patch)
2005-01-29 13:03 UTC, ACW
Details | Diff
another subtitleripper ebuild (subtitleripper-0.3.ebuild,1001 bytes, text/plain)
2005-01-29 13:06 UTC, ACW
Details
xvid 1.1.0 supports amd64 yasm for mmx - typo in dosym (xvid-1.1.0_beta1.ebuild,1.04 KB, text/plain)
2005-01-29 13:07 UTC, ACW
Details
xvid 1.1.0 supports amd64 yasm for mmx - corrected (xvid-1.1.0_beta1.ebuild,1.04 KB, text/plain)
2005-01-29 15:10 UTC, ACW
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ACW 2005-01-29 12:59:06 UTC
a) 3dnow and sse2 work for transcode-0.6.14
b) x86_64 mmx works for xvidcore-1.1.0-beta1
c) subtitleripper is still missing see also #72408 for alternative ebuild
d) dvdrip can use libgtkhtml instead of gtkhtml and needs subtitleripper
e) x86_64 mmx on xvid needs yasm-0.4.0
for
a) see patch to ebuild
b) see ebuild
c) see ebuild
d) see patch to ebuild
e) cp yasm-0.3.0.ebuild yasm-0.4.0.ebuild
and don't forget to ebuild filename-x-y-z.ebuild digest them all
Comment 1 ACW 2005-01-29 13:01:24 UTC
Created attachment 49867 [details, diff]
transcode enable 3dnow and sse2 for amd64 - kludge
Comment 2 ACW 2005-01-29 13:03:58 UTC
Created attachment 49868 [details, diff]
dvdrip needs subtitleripper and can use libgtkhtml
Comment 3 ACW 2005-01-29 13:06:17 UTC
Created attachment 49869 [details]
another subtitleripper ebuild

subtitleripper is no longer in transcode-0.6.14 (or 0.6.13) see #72408. I don't
install pgm2txt though because it needs manual editing.
Comment 4 ACW 2005-01-29 13:07:57 UTC
Created attachment 49870 [details]
xvid 1.1.0 supports amd64 yasm for mmx - typo in dosym
Comment 5 ACW 2005-01-29 15:07:49 UTC
Comment on attachment 49870 [details]
xvid 1.1.0 supports amd64 yasm for mmx - typo in dosym

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/xvid/xvid-1.0.3.ebuild,v 1.2
2005/01/13 02:01:32 weeve Exp $

inherit eutils

MY_P=${PN}core-${PV/_/-}
DESCRIPTION="XviD, a high performance/quality MPEG-4 video de-/encoding
solution."
HOMEPAGE="http://www.xvid.org/"
SRC_URI="http://files.xvid.org/downloads/${MY_P}.tar.bz2"

LICENSE="GPL-2"
SLOT="1"
KEYWORDS="~x86 ~amd64 ~sparc"
IUSE="doc"

DEPEND="virtual/libc
	x86? ( >=dev-lang/nasm-0.98.36 )
	amd64? ( >=dev-lang/yasm-0.4.0 )"

S="${WORKDIR}/${MY_P}/build/generic"

src_unpack() {
	unpack ${A}
	cd ${S}
}

src_install() {
	emake install DESTDIR=${D} || die

	cd ${S}/../../
	dodoc AUTHORS ChangeLog README TODO doc/*

	local mylib="$(basename $(ls ${D}/usr/$(get_libdir)/libxvidcore.so*))"
	dosym ${mylib} /usr/$(get_libdir)/libxvidcore.so
	dosym ${mylib} /usr/$(get_libdir)/libxvidcore.so.4

	if use doc ; then
		dodoc CodingStyle doc/README
		insinto /usr/share/doc/${PF}/examples
		doins examples/*
	fi
}
Comment 6 ACW 2005-01-29 15:10:37 UTC
Created attachment 49883 [details]
xvid 1.1.0 supports amd64 yasm for mmx - corrected
Comment 7 Chris Weiss 2005-02-28 09:09:44 UTC
applied these patches, and teh yasm-0.4.0, everything isntall and so far is working OK, but I'm not seeimg much of a speed difference, and teh speed overall is pathetic.  I'm getting only about 1 fps better than my P3-mobile 1.13Ghz. 
using dvdrip with 2-pass xvid and "one 870MB" setting on a 24fps widescreen movie scaled to 512x288 i'm only getting 26fps on the first pass and 16fps on the 2nd.
Comment 8 Danny van Dyk (RETIRED) gentoo-dev 2005-03-27 07:36:09 UTC
media-vide: would have been nice if you hed CC'ed us.

FYI: yasm-0.4.0 is now in CVS.
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-06 16:35:04 UTC
That's more for amd64 than directly us :)
But I'll take a look to them soon anyway.

d) is fixed, was reported on its own.

Please report one bug per package next time please.
Comment 10 Herbie Hopkins (RETIRED) gentoo-dev 2005-05-07 07:35:42 UTC
e. - yasm-0.4.0 is now in portage.
c & d. - taken care if in seperate bug
b. - xvid-1.1.0_beta2 now depends on >=dev-lang/yasm-0.4.0
a. - I have issues with the asm code in transcode 0.6.14, does not seem 64-bit safe. Seems to compile with 3dnow and sse, but I get compilation errors with mmx and sse2. I am therefore reluctant to add this for transcode 0.6.14. However the 1.0.0-beta* series contains all new inline assembly code which i've tested and seems to be wicked fast ;-) mmx, 3dnow, sse and sse2 all now get enabled on amd64 in transcode-1.0.0-beta3.