You are not logged in.
Pages: 1
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
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
Okay, so I compile this ^^^^^^ first ?? Then try the build of vlc again??
Offline
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
Offline
Okay, do I have to remove ffmpeg first before I compile it? I have the installed package from pacman.
Offline
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
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
Offline
Anyone?
Offline
Did you rebuild VLC after you rebuilt FFmpeg? If not, you'll probably have to do that too.
Offline
colbert, have a look at this thread, there are many different solutions to your problem.
Offline
Yes I did build ffmpeg with noswscaler as jacko instructed, then vlc with the patch he linked to above.
Offline
Hey guys if someone can help, I've posted my situation here: http://bbs.archlinux.org/viewtopic.php?id=42502&p=4
Offline
Pages: 1