Difference between revisions of "Transcode"

From CBLFS
Jump to navigationJump to search
(Added patch for libmpeg3 and lzo2)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
 +
|-
 
| http://www.kraymer.mynetcologne.de/transcode-{{Transcode-Version}}.tar.gz
 
| http://www.kraymer.mynetcologne.de/transcode-{{Transcode-Version}}.tar.gz
 +
|-
 +
! Download patches:
 +
|-
 +
| http://svn.cross-lfs.org/svn/repos/patches/transcode/transcode-{{Transcode-Version}}-bigdir-1.patch
 +
|-
 +
| http://svn.cross-lfs.org/svn/repos/patches/transcode/transcode-{{Transcode-Version}}-libmpeg3_1.7-1.patch
 +
|-
 +
| http://svn.cross-lfs.org/svn/repos/patches/transcode/transcode-{{Transcode-Version}}-lzo2-1.patch
 
|}
 
|}
  
Line 58: Line 67:
 
  --enable-libdv \
 
  --enable-libdv \
 
  --enable-libquicktime \
 
  --enable-libquicktime \
  --enable-liblzo \
+
  --enable-liblzo --with-lzo-includes=/usr/include/lzo \
 +
--enable-libpostproc --with-libpostproc-includes=/usr/include/postproc \
 
  --enable-a52{,-default-decoder} \
 
  --enable-a52{,-default-decoder} \
 
  --enable-libmpeg3 \
 
  --enable-libmpeg3 \
Line 69: Line 79:
  
 
== Non-Multilib ==
 
== Non-Multilib ==
 +
 +
If you want build transcode against libmpeg3, apply this patch:
 +
 +
patch -Np1 -i ../transcode-{{Transcode-Version}}-libmpeg3_1.7-1.patch
 +
 +
Apply this patch ONLY if you have lzo version 2:
 +
 +
patch -Np1 -i ../transcode-{{Transcode-Version}}-lzo2-1.patch
  
 
Configure and compile the package:
 
Configure and compile the package:
 
+
 +
patch -Np1 -i ../transcode-{{Transcode-Version}}-bigdir-1.patch
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 83: Line 102:
  
 
=== 32Bit ===
 
=== 32Bit ===
 +
 +
If you want build transcode against libmpeg3, apply this patch:
 +
 +
patch -Np1 -i ../transcode-{{Transcode-Version}}-libmpeg3_1.7-1.patch
 +
 +
Apply this patch ONLY if you have lzo version 2:
 +
 +
patch -Np1 -i ../transcode-{{Transcode-Version}}-lzo2-1.patch
  
 
Configure and compile the package:
 
Configure and compile the package:
  
 +
patch -Np1 -i ../transcode-{{Transcode-Version}}-bigdir-1.patch
 
  CC="gcc ${BUILD32}" USE_ARCH=32 \
 
  CC="gcc ${BUILD32}" USE_ARCH=32 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
Line 100: Line 128:
  
 
=== 64Bit ===
 
=== 64Bit ===
 +
 +
If you want build transcode against libmpeg3, apply this patch:
 +
 +
patch -Np1 -i ../transcode-{{Transcode-Version}}-libmpeg3_1.7-1.patch
 +
 +
Apply this patch ONLY if you have lzo version 2:
 +
 +
patch -Np1 -i ../transcode-{{Transcode-Version}}-lzo2-1.patch
  
 
Configure and compile the package:
 
Configure and compile the package:
  
 +
patch -Np1 -i ../transcode-{{Transcode-Version}}-bigdir-1.patch
 
  sed -i '/^deflib=/s:/lib:&64:' configure &&
 
  sed -i '/^deflib=/s:/lib:&64:' configure &&
 
  CC="gcc ${BUILD64}" USE_ARCH=64 \
 
  CC="gcc ${BUILD64}" USE_ARCH=64 \

Revision as of 11:18, 3 January 2007

Download Source:
http://www.kraymer.mynetcologne.de/transcode-1.1.0.tar.gz
Download patches:
http://svn.cross-lfs.org/svn/repos/patches/transcode/transcode-1.1.0-bigdir-1.patch
http://svn.cross-lfs.org/svn/repos/patches/transcode/transcode-1.1.0-libmpeg3_1.7-1.patch
http://svn.cross-lfs.org/svn/repos/patches/transcode/transcode-1.1.0-lzo2-1.patch

Introduction to Transcode

Transcode is a fast, versatile and command-line based audio/video everything to everything converter. For a rundown of the features and capabilities, along with usage examples, visit the Transcode Wiki at http://www.transcoding.org/.

Dependencies

Required

Recommended

Optional (Listed in the Order That the configure Script Looks for Them)

Configuration Information

There are numerous configuration options listed below that you may want to use:

--enable-v4l \
--enable-avifile\
--enable-ogg \
--enable-vorbis\
--enable-theora \
--enable-libdv \
--enable-libquicktime \
--enable-liblzo --with-lzo-includes=/usr/include/lzo \
--enable-libpostproc --with-libpostproc-includes=/usr/include/postproc \
--enable-a52{,-default-decoder} \
--enable-libmpeg3 \
--enable-libxml2 \
--enable-mjpegtools \
--enable-sdl \
--enable-gtk \
--enable-libfame \
--enable-imagemagick

Non-Multilib

If you want build transcode against libmpeg3, apply this patch:

patch -Np1 -i ../transcode-1.1.0-libmpeg3_1.7-1.patch

Apply this patch ONLY if you have lzo version 2:

patch -Np1 -i ../transcode-1.1.0-lzo2-1.patch

Configure and compile the package:

patch -Np1 -i ../transcode-1.1.0-bigdir-1.patch
./configure --prefix=/usr &&
make

Install the package:

make install

Multilib

This package does not install any external libraries so only one installation is needed.

32Bit

If you want build transcode against libmpeg3, apply this patch:

patch -Np1 -i ../transcode-1.1.0-libmpeg3_1.7-1.patch

Apply this patch ONLY if you have lzo version 2:

patch -Np1 -i ../transcode-1.1.0-lzo2-1.patch

Configure and compile the package:

patch -Np1 -i ../transcode-1.1.0-bigdir-1.patch
CC="gcc ${BUILD32}" USE_ARCH=32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr --build=${CLFS_TARGET32} &&
make

Install the package:

make install

N32

TODO

64Bit

If you want build transcode against libmpeg3, apply this patch:

patch -Np1 -i ../transcode-1.1.0-libmpeg3_1.7-1.patch

Apply this patch ONLY if you have lzo version 2:

patch -Np1 -i ../transcode-1.1.0-lzo2-1.patch

Configure and compile the package:

patch -Np1 -i ../transcode-1.1.0-bigdir-1.patch
sed -i '/^deflib=/s:/lib:&64:' configure &&
CC="gcc ${BUILD64}" USE_ARCH=64 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package:

make install