Difference between revisions of "MJPEG Tools"

From CBLFS
Jump to navigationJump to search
 
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| http://downloads.sourceforge.net/mjpeg/mjpegtools-{{mjpegtools-Version}}.tar.gz
 
| http://downloads.sourceforge.net/mjpeg/mjpegtools-{{mjpegtools-Version}}.tar.gz
 +
|-
 +
!Download Patch:
 +
| http://svn.cross-lfs.org/svn/repos/patches/mjpegtools/mjpegtools-1.9.0-GCC4-1.patch
 
|}
 
|}
  
Line 25: Line 28:
  
 
Compile the package:
 
Compile the package:
 
+
 +
patch -Np1 -i mjpegtools-1.9.0-GCC4-1.patch
 
  ./configure --prefix=/usr --enable-simd-accel &&
 
  ./configure --prefix=/usr --enable-simd-accel &&
 
  make
 
  make
Line 39: Line 43:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i mjpegtools-1.9.0-GCC4-1.patch
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \
Line 52: Line 57:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i mjpegtools-1.9.0-GCC4-1.patch
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=n32 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=n32 \
Line 65: Line 71:
 
Compile the package:
 
Compile the package:
  
 +
  patch -Np1 -i mjpegtools-1.9.0-GCC4-1.patch
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \

Latest revision as of 21:08, 20 September 2009

Download Source: http://downloads.sourceforge.net/mjpeg/mjpegtools-1.9.0.tar.gz
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/mjpegtools/mjpegtools-1.9.0-GCC4-1.patch

Introduction to MJPEG Tools

The mjpeg programs are a set of tools that can do recording of videos and playback, simple cut-and-paste editing and the MPEG compression of audio and video under Linux.

Project Homepage: http://mjpeg.sourceforge.net/

Dependencies

Required

Recommended

Non-Multilib

Compile the package:

patch -Np1 -i mjpegtools-1.9.0-GCC4-1.patch
./configure --prefix=/usr --enable-simd-accel &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

patch -Np1 -i mjpegtools-1.9.0-GCC4-1.patch
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \
./configure --prefix=/usr --enable-simd-accel &&
make

Install the package:

make install

N32

Compile the package:

patch -Np1 -i mjpegtools-1.9.0-GCC4-1.patch
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=n32 \
./configure --prefix=/usr --libdir=/usr/lib32 --enable-simd-accel &&
make

Install the package:

make install

64Bit

Compile the package:

 patch -Np1 -i mjpegtools-1.9.0-GCC4-1.patch
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \
./configure --prefix=/usr --libdir=/usr/lib64 --enable-simd-accel && 
make

Install the package:

make install

Contents

Installed Programs: mpeg2enc, mjpeg_simd_helper, lav2wav, lav2yuv, yuvmedianfilter, lavaddwav, lavtrans, ypipe, yuv2lav, transist.flt, matteblend.flt, multiblend.flt, lavpipe, yuvscaler, yuvcorrect, yuvcorrect_tune, jpeg2yuv, ppmtoy4m, pnmtoy4m, y4mtoppm, y4mtopnm, pgmtoy4m, y4mcolorbars, lavinfo, y4mshift, y4mspatialfilter, y4mstabilizer, yuvfps, y4mhist, y4mblack, y4mtoyuv, y4minterlace, yuv4mpeg, yuyvtoy4m, yuvinactive, glav, yuvplay, lavrec, testrec, lavvideo, lavplay, png2yuv, mp2enc, mplex, anytovcd.sh, lav2avi.sh, lav2mpeg, mpegtranscode, yuvdenoise, yuvycsnoise, yuvkineco, yuvdeinterlace, y4mdenoise, y4munsharp
Installed Libraries: libmjpegutils.{a,la,so}, libmpeg2encpp.{a,la,so}, liblavfile.{a,la,so}, liblavjpeg.{a,la,so}, liblavrec.{a,la,so}, liblavplay.{a,la,so}, libmplex2.{a,la,so}
Installed Directories: /usr/include/mjpegtools