Linux HOWTOs

About | Home | Search


HOWTO: lve
Description: Video editing
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# LVE 050112 (Linux Video Editor)
# ==========
# make
# gcc
# binutils
# fileutils or coreutils
# gawk
# grep
# sed
# XFree86 or X.org (with XV support, bpp >= 16)
# SDL >= 1.5.x
# Qt >= 2.04
# ffmpeg (it may only work with version 0.4.8)

cd
test -f installed/lve-050112.src.tar.bz2 &&
 mv installed/lve-050112.src.tar.bz2 .
test ! -f lve-050112.src.tar.bz2 &&
 wget http://download.sf.net/lvempeg/lve-050112.src.tar.bz2
cd /usr/local
test -d ./lve && rm -r ./lve
tar xjvf ~/lve-050112.src.tar.bz2
cd lve
test -d ../src/ffmpeg && ln -sf ../src/ffmpeg
test ! -d ../src/ffmpeg &&
 find ../src -type d -maxdepth 1 -name "ffmpeg-*" -exec ln -sf {} ffmpeg \;

# If you use a version of ffmpeg that has the --enable-gpl configure flag,
# like the current CVS version, apply this patch to the lve Makefile:
wget -nc http://englanders.cc/pub/linux/patches/lve-040322-ffmpeg.patch &&
 patch -p0 < lve-040322-ffmpeg.patch

## make failed with this error for me (with 040233 and 050112):
# region.c: In static member function `static void T_REGION::rg_sort()':
# region.c:338: error: array bound forbidden after parenthesized type-id
# region.c:338: note: try removing the parentheses around the type-id
## This patch makes the suggested change.  This is probably a gcc 3.4.x-ism.
wget -nc http://englanders.cc/pub/linux/patches/lve-040322-region.c.patch &&
 patch -p0 < lve-040322-region.c.patch

# The Makefile (qdir/Makefile) looks for Qt in /usr/lib/qt3 by default.  My
# qt dir is /usr/lib/qt-3.3.3 and /usr/lib/qt is a symlink pointing to that.
# Rather than add a symlink just for lve, I pass QT_DIR to the Makefile.  If
# your Qt is elsewhere, specify where yours is.
make QT_DIR=/usr/lib/qt

cd
mkdir -p -m 0700 installed
rm -f installed/lve-*.tar.*
mv lve-050112.src.tar.bz2 installed/

Back to the list


Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>