You are not logged in.

#1 2008-05-17 19:14:44

genkipseudo
Member
Registered: 2006-11-13
Posts: 12

[solved]mplayer-svn coreavc-for-linux

I'm trying to compile mplayer-svn with support for coreavc
mplayer compiles fine but it doesn't look like coreavc stuff is installing correctly.
Can some kind sirs take a look at this and let me know what is wrong?
I grabbed mplayer-svn PKGBUILD from testing

*edit*
This PKGBUILD successfully built for me and I'm using it on my media computer!  Works great!!! no more choppy videos

# Mplayer-svn-coreavc
# mplayer-svn patched with support for coreavc
# Modified : me
# Original PKGBUILD by below-----
# Maintainer: Tom Killian <tom@archlinux.org>
# Contributor: lucke <lucke at o2 dot pl>

pkgname=mplayer-svn-coreavc
pkgver=26794
pkgrel=1
pkgdesc="A movie player for linux"
depends=('libmad' 'libungif' 'cdparanoia' 'gtk2' 'sdl' 'xvidcore'
         'lame' 'libtheora' 'faac' 'libxxf86dga' 'libxv' 'libgl'
         'smbclient' 'aalib' 'lirc-utils' 'x264>=20071202-1'
         'jack-audio-connection-kit')
makedepends=('subversion' 'pkgconfig' 'libcaca' 'unzip' 'live-media' 'libdts')
source=(ftp://ftp.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2) 
conflicts=('mplayer')
provides=('mplayer')
url="http://www.mplayerhq.hu/"
license="GPL"
arch=('i686' 'x86_64')

_svntrunk=svn://svn.mplayerhq.hu/mplayer/trunk
_svnmod=mplayer

_coreavctrunk=http://coreavc-for-linux.googlecode.com/svn/trunk
_coremod=coreavc-for-linux

build() {
  cd $startdir/src

  svn co $_svntrunk $_svnmod --config-dir ./ -r $pkgver
    
  cp -r $_svnmod $_svnmod-build
  cd $_svnmod-build
  
  unset CFLAGS

  ./configure --prefix=/usr --confdir=/etc/mplayer --with-extraincdir=/usr/lib/live-media \
  --enable-gui --enable-runtime-cpudetection --enable-largefiles --enable-menu \
  --enable-x11 --enable-gl --language=all \
  --disable-libdv --disable-liblzo --disable-speex --disable-fribidi --disable-arts \
  --disable-dvdnav --disable-openal --disable-musepack --disable-esd --disable-mga
  
  [ "$CARCH" = "i686" ] &&  sed 's|-march=i486|-march=i686|g' -i config.mak
# Lines for coreavc-for-linux
  cd $startdir/src
  svn co $_coreavctrunk $_coremod
  cp -r $_coremod $_coremod-copy
  cd $_coremod-copy
  make -C dshowserver
  mkdir -p $startdir/pkg/usr/local/bin
  cp dshowserver/dshowserver $startdir/pkg/usr/local/bin
  cp loader/registercodec $startdir/pkg/usr/local/bin
  cd $startdir/src/$_svnmod-build
  patch -p0 < $startdir/src/$_coremod-copy/mplayer/dshowserver.patch
# End of lines for coreavc-for-linux

  make || return 1
  make DESTDIR=$startdir/pkg install || return 1
  cp etc/{codecs.conf,input.conf,example.conf} $startdir/pkg/etc/mplayer
  ln -s /usr/share/fonts/TTF/Vera.ttf $startdir/pkg/usr/share/mplayer/subfont.ttf
  rm -rf $startdir/pkg/usr/share/mplayer/font
  mv $startdir/src/Blue $startdir/pkg/usr/share/mplayer/skins/default
  
  rm -rf ../$_svnmod-build
}
md5sums=('e4e2020d11b681aac898103b3ba723c4')

Last edited by genkipseudo (2008-05-18 06:25:54)

Offline

#2 2008-05-18 06:01:03

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [solved]mplayer-svn coreavc-for-linux

Why /usr/local/bin?

Offline

#3 2008-05-18 06:23:55

genkipseudo
Member
Registered: 2006-11-13
Posts: 12

Re: [solved]mplayer-svn coreavc-for-linux

it was there on the wiki so i just  took that

Offline

#4 2008-05-24 17:27:16

Perre
Member
Registered: 2008-01-22
Posts: 189

Re: [solved]mplayer-svn coreavc-for-linux

Does anyone know if these changes to Mplayer will carry over into Freevo (I'm using Mplayer as media player in freevo)??

I really haven't got a clue how to do all these PKGBUILD-things and if I'm going to learn it I want to be sure it will actually make a difference in freevo. tongue

Btw, I have a Athlon 64 X2 (M) 4200+ 2.2 GHz with a Nvidia 7800GTX and 2GB ram. Big 1080P files stutter or play really slow so if CoreAVC can cure this I'd be forever grateful.

Last edited by Perre (2008-05-24 17:35:37)

Offline

#5 2008-05-24 21:44:23

Perre
Member
Registered: 2008-01-22
Posts: 189

Re: [solved]mplayer-svn coreavc-for-linux

I'm not able to get this working. sad Do I need Wine?

I used the PKGBUILD genkipseudo provided, but after compiling everything I don't know what to do. The compiled files got put in my "Packages" folder and from there I tried to follow the install notes on the google.code home page to no avail.

Is it enough to delete the installed dependencies and the files in my "Packages" folder or do I have a bunch of files all over my system now? Sorry to be bringing up this solved topic but I wish I could get this working so big .mkv files don't stutter.

Offline

#6 2008-05-26 09:01:55

genkipseudo
Member
Registered: 2006-11-13
Posts: 12

Re: [solved]mplayer-svn coreavc-for-linux

You need to get the codec from either windows install or the website also mentions 1.7 installs with wine. (codec file is .ax)

#3,4 on http://code.google.com/p/coreavc-for-li … verInstall
#do 4 on http://code.google.com/p/coreavc-for-li … stallation

that should do it

Offline

#7 2008-05-27 18:35:27

Perre
Member
Registered: 2008-01-22
Posts: 189

Re: [solved]mplayer-svn coreavc-for-linux

I have some trouble getting different codecs to work. DivX, xvid, WMV, quicktime etc. doesn't work and as far as I can figure they need to be added somehow to the PKGBUILD file. How do I do this? CoreAVC is working amazingly, but I'm not able to play the media that's not .mkv. sad

Offline

#8 2008-05-28 01:26:28

steve___
Member
Registered: 2008-02-24
Posts: 452

Re: [solved]mplayer-svn coreavc-for-linux

Do you have the package extra/codecs 20071007-1 installed?

Last edited by steve___ (2008-05-28 01:30:36)

Offline

Board footer

Powered by FluxBB