You are not logged in.

#1 2008-01-30 19:31:11

colbert
Member
Registered: 2007-12-16
Posts: 809

Problem building VLC from ABS

Okay I copied /var/abs/extra/multimedia/vlc to ~/installs/, then I ran makepkg and this is the end of the long output as it was compiling:

http://pastebin.ca/885102  (look at the end, and it's too many characters for post on forum)

What might be wrong ??

Last edited by colbert (2008-01-30 19:31:35)

Offline

#2 2008-01-30 19:46:24

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: Problem building VLC from ABS

ftp://24.95.156.149/PKGBUILDS/vlc-pkgbuild.tar.bz2

u need an included patch to fix mux.c, patch is in the archive. Remember, if u are trying to fix vlc for avi video, then u need to re-compile ffmpeg first with --disbale-swscaler flag.

Last edited by jacko (2008-01-30 19:49:26)

Offline

#3 2008-01-30 19:58:42

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: Problem building VLC from ABS

Okay, so I compile this ^^^^^^ first ?? Then try the build of vlc again??

Offline

#4 2008-01-30 20:43:31

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: Problem building VLC from ABS

no, you need to first recompile 'ffmpeg' from abs with --disable-swscaler flag. Check the PKGBUILD, u will see it is enabled, replace with disable. compile and install it using pacman -U.
then u take the PKGBUILD and patch from the archive I posted above and use makepkg to re-compile a patched vlc version so u can watch avi videos again. install that with pacman -U

your ffmpeg PKGBUILD will look like this

# $Id: PKGBUILD,v 1.30 2007/12/05 02:47:18 paul Exp $
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Paul Mattal <paul@archlinux.org>

pkgname=ffmpeg
pkgver=20071204
pkgrel=1
pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
arch=(i686 x86_64)
license=('LGPL')
depends=('lame' 'sdl' 'libvorbis' 'a52dec' 'faad2' 'faac' 'xvidcore' 'zlib' 'imlib2' 'x264>=20071201' 'libtheora')
source=(http://gerolde.archlinux.org/~paul/ffmpeg-$pkgver.tar.gz )
md5sums=('3d34e511d0466de6feabed85dddbb2a8')
url="http://ffmpeg.mplayerhq.hu/"

build() {
     cd $startdir/src/$pkgname || return 1

     # configure
     ./configure \
          --prefix=/usr \
          --enable-gpl \
          --enable-libmp3lame \
          --enable-libvorbis \
          --enable-pp \
          --enable-libfaac \
          --enable-libfaad \
          --enable-liba52 \
          --enable-libxvid \
      --enable-libx264 \
      --enable-libtheora \
      --disable-libamr-nb \
          --enable-pp \
          --enable-shared \
          --enable-pthreads \
      --enable-x11grab \
      --disable-swscaler \
       || return 1

     # build
     make -j 2 || return 1

     # install
     mkdir -p $startdir/pkg/usr/{bin,include,lib} || return 1
     make DESTDIR=$startdir/pkg install || return 1
}

Last edited by jacko (2008-01-30 20:51:41)

Offline

#5 2008-01-30 20:55:19

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: Problem building VLC from ABS

Offline

#6 2008-01-30 22:35:05

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: Problem building VLC from ABS

Okay, do I have to remove ffmpeg first before I compile it? I have the installed package from pacman.

Offline

#7 2008-01-30 22:40:17

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem building VLC from ABS

colbert wrote:

Okay, do I have to remove ffmpeg first before I compile it? I have the installed package from pacman.

no, just compile the new version and let pacman do its job to replace the old one afterwards

Offline

#8 2008-01-30 23:29:50

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: Problem building VLC from ABS

Okay, thanks, I just compiled and installed it all, no errors. Just ran VLC and I am still getting only audio, no video. I have tried .mov, .avi., .mpeg, .mkv. Audio is fine but nothing showing sad

Offline

#9 2008-02-01 00:08:01

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: Problem building VLC from ABS

Anyone?

Offline

#10 2008-02-01 00:58:20

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Problem building VLC from ABS

Did you rebuild VLC after you rebuilt FFmpeg? If not, you'll probably have to do that too.

Offline

#11 2008-02-01 01:21:38

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Problem building VLC from ABS

colbert, have a look at this thread, there are many different solutions to your problem.

Offline

#12 2008-02-01 01:21:57

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: Problem building VLC from ABS

Yes I did build ffmpeg with noswscaler as jacko instructed, then vlc with the patch he linked to above.

Offline

#13 2008-02-04 20:03:42

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: Problem building VLC from ABS

Hey guys if someone can help, I've posted my situation here: http://bbs.archlinux.org/viewtopic.php?id=42502&p=4

Offline

Board footer

Powered by FluxBB