You are not logged in.

#1 2006-02-11 15:32:20

mic64
Member
Registered: 2005-03-03
Posts: 173

[REQ] iriverter

Hi

This is a nice program which encodes movies for portable players
http://iriverter.sourceforge.net/
I was trying to compile this stuff by my own.
Also following tipps from this thread
http://bbs.archlinux.org/viewtopic.php? … =iriverter

But its still doesn´t compile. always erros about missing java stuf.
So..a nice working PKGBUILD would be great.

thanks
mic

Offline

#2 2006-02-12 10:55:50

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [REQ] iriverter

Right, here we go. I've just converted a video using the following, so it's definitely working. It requires mplayer with xvid support, which is not built in to the official package, so I've modified my mplayer-cvs PKGBUILD accordingly.

iriverter:

# Contributor: Tom K <tomk@runbox.com>
pkgname=iriverter
pkgver=0.15
pkgrel=1        
pkgdesc="cross-platform mencoder frontend to convert videos for iriver and iAudio players"
depends=('mplayer' 'j2re' 'swt')
makedepends=('j2sdk')
source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('8011c8e861e2f00e60ade5f689c4881d')
url="http://iriverter.sourceforge.net"

build() {
  cd $startdir/src/$pkgname-$pkgver
  
  ./configure --prefix=/usr --with-swt=/usr/share/java/swt/swt.jar

  sed -i 's|${exec_prefix}/lib|${exec_prefix}/lib:/usr/share/java/swt|' 
  src/launcher/iriverter
  
  make || return 1
  make DESTDIR=$startdir/pkg install
}

mplayer-cvs with xvid:

# Contributor: lucke <lucke at o2 dot pl>
# Contributor: Tom K <tomk@runbox.com>

pkgname=mplayer-cvs
pkgver=20060203
pkgrel=1
pkgdesc="A movie player for linux"
depends=('x-server' 'libmad' 'libungif' 'cdparanoia' 'gtk2' 'codecs' 
         'sdl' 'libjpeg' 'lame' 'libtheora' 'esd' 'faad2' 'xvidcore')
makedepends=('cvs')
source=(ftp://ftp.mplayerhq.hu/MPlayer/Skin/Blue-1.5.tar.bz2)
md5sums=('371fa9457f0f23295ddaa93b57d862a0')
conflicts=('mplayer')
provides=('mplayer')
url="http://www.mplayerhq.hu/"

_cvsroot=:pserver:anonymous:@mplayerhq.hu:/cvsroot
_cvsmod=main
_cvsmod1=ffmpeg

build() {
  cd $startdir/src

  msg "Connecting to mplayer CVS server...."
  cvs -z3 -d$_cvsroot/mplayer co -D $pkgver -f -P $_cvsmod
  msg "Connecting to ffmpeg CVS server...."
  cvs -z3 -d$_cvsroot/$_cvsmod1 co -D $pkgver -f -P $_cvsmod1

  msg "CVS checkout done or server timeout"
  msg "Starting make..."

  cp -r $_cvsmod1/{libavcodec,libavformat,libavutil} $_cvsmod

  cp -r $_cvsmod $_cvsmod-build
  cd $_cvsmod-build

  ./configure --prefix=/usr --enable-gui --disable-arts --disable-smb 
    --enable-sdl --enable-x11 --enable-theora --confdir=/etc/mplayer 
    --with-win32libdir=/usr/lib/win32 --enable-external-faad --enable-xvid 
    --enable-tv-v4l --enable-tv-v4l2 --enable-menu --enable-largefiles
  make || return 1
  make DESTDIR=$startdir/pkg install
  cp etc/{codecs.conf,input.conf,example.conf} $startdir/pkg/usr/share/mplayer
  ln -s /usr/X11R6/lib/X11/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/Skin/default
}

Two things - I'm on xorg7 here, so I used a slightly different build of mplayer-cvs. The one above is the same as in the AUR, which others have said is OK, except for the addition of xvid. Also, I don't actually have an iRiver so I can't fully test the converted video - mplayer runs it with no problems, though, in a 220x176 window.

<note_to_self>first gnupod without an iPod, now iriverter without an iRiver. Stop torturing yourself!</note>

Offline

#3 2006-02-12 11:38:11

mic64
Member
Registered: 2005-03-03
Posts: 173

Re: [REQ] iriverter

Thanks tomk

the iriverter PKGBUILD works now like a charm.
I didn´t used the mplayer script, cause I´m always using a selfbuild mplayer from cvs with xvid.

I got a Cowon IAUDIO X5, which is probably the best player for Linux.
Everything works without extra software.
The resolution is kinda small 160x128, but its ok to watch a 20min sitcom in a train.

thanks again
mic64

Offline

#4 2006-02-12 14:09:09

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [REQ] iriverter

Good to hear it's working - another one for the AUR. big_smile

Offline

Board footer

Powered by FluxBB