Transcode

From CBLFS
Revision as of 12:49, 24 December 2008 by Oppiz (talk | contribs)
Jump to navigationJump to search
Download Source:
http://fromani.exit1.org/transcode-1.1.0.tar.bz2
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-lzo2-1.patch
http://svn.cross-lfs.org/svn/repos/patches/transcode/transcode-1.1.0-ffmpeg-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.

Project Homepage: http://www.transcoding.org/

Dependencies

Required

Recommended

Optional

Configuration Information

There are numerous, non-default configuration options listed below that you may want to use:

--enable-netstream: enable network streaming support.
--enable-freetype2: build with freetype2 support.
--enable-v4l: enable v4l/v4l2 support.
--enable-oss: enable OSS support.
--enable-libpostproc: build with libpostproc support.
--enable-avifile: build with avifile support.
--enable-ogg: build with ogg support.
--enable-vorbis: build with vorbis support.
--enable-theora: build with theora support.
--enable-libdv: build with libdv support.
--enable-libquicktime: build with libquicktime support.
--enable-lzo: build with lzo support.
--enable-a52: build with a52 support.
--enable-a52-default-decoder use a52 as the default decoder.
--enable-libmpeg3: build with libmpeg3 support.
--enable-libxml2: build with libxml2 support.
--enable-mjpegtools: build with mjpegtools support.
--enable-sdl: build with SDL support.
--enable-gtk: build with GTK support.
--enable-libfame: build with libfame support.
--enable-imagemagick: build with ImageMagick support
--enable-libjpegmmx: build with libjpegmmx support.
Caution.png

Note

--disable-nuv Is added to the configure configure line to allow compilling.

Non-Multilib

Apply this patch ONLY if you have LZO2 version 2 and add --with-lzo-includes=/usr/include/lzo to the configure script :

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 &&
patch -Np1 -i ../transcode-1.1.0-ffmpeg-1.patch &&
sed -i 's@ffmpeg/avcodec.h@libavcodec/avcodec.h@g' configure &&
./configure --prefix=/usr --disable-nuv &&
make

Install the package:

make install

Multilib

32Bit

Apply this patch ONLY if you have LZO2 version 2 and add --with-lzo-includes=/usr/include/lzo to the configure script :

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 &&
patch -Np1 -i ../transcode-1.1.0-ffmpeg-1.patch &&
sed -i 's@ffmpeg/avcodec.h@libavcodec/avcodec.h@g' configure &&
CC="gcc ${BUILD32}" USE_ARCH=32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr --build=${CLFS_TARGET32} --disable-nuv &&
make

Install the package:

make install

N32

TODO

64Bit

Apply this patch ONLY if you have LZO2 version 2 and add --with-lzo-includes=/usr/include/lzo to the configure script :

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

If you compiled ImageMagick with option "--with-modules" and want to enable imageMagick in transcode

sed -i 's/-lMagick/\$(Magick-config --libs)/g' configure

Configure and compile the package:

patch -Np1 -i ../transcode-1.1.0-bigdir-1.patch &&
patch -Np1 -i ../transcode-1.1.0-ffmpeg-1.patch &&
sed -i 's@ffmpeg/avcodec.h@libavcodec/avcodec.h@g' configure &&
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 --disable-nuv &&
make

Install the package:

make install

Contents

Installed Directories: /usr/share/doc/transcode, /usr/lib/transcode
Installed Programs: tcextract, tcdecode, tcscan, tcdemux, tccat, tcprobe, tcxmlcheck, tcxpm2rgb, tcrequant, transcode, avifix, aviindex, avimerge, avisplit, avisync, tcmodinfo, tcmp3cut
Installed Libraries: import_nuv.la, import_v4l.la, import_v4l2.la, import_avi.la, import_mpeg2.la, import_vdrac3.la, import_ac3.la, import_dv.la, import_vob.la, import_raw.la, import_nvrec.la, import_yuv4mpeg.la, import_lav.la, import_null.la, import_sh.la, import_divx.la, import_mp3.la, import_dvd.la, import_mpeg3.la, import_mov.la, af6_decore.la, import_xml.la, import_mplayer.la, import_rawlist.la, import_ogg.la, import_xvid.la, import_ffmpeg.la, import_vnc.la, import_fraps.la, import_pvn.la, import_ffbin.la, import_oss.la, import_bsdav.la, import_yuv.la, export_xvid.so, export_ac3.la, export_debugppm.la, export_divx4.la, export_divx4raw.la, export_divx5.la, export_divx5raw.la, export_ffmpeg.la, export_lame.la, export_mp1e.la, export_mp2.la, export_null.la, export_ogg.la, export_pcm.la, export_ppm.la, export_pvn.la, export_raw.la, export_toolame.la, export_wav.la, export_xvid2.la, export_xvid3.la, export_xvid4.la, export_mjpeg.la, export_jpg.la, export_mov.la, export_yuv4mpeg.la, export_mpeg2enc.la, export_mp2enc.la, filter_divxkey.la, filter_extsub.la, filter_extsub2.la, filter_yuvdenoise.la, filter_yuvmedian.la, filter_pv.la, filter_subtitler.la, filter_29to23.la, filter_32detect.la, filter_32drop.la, filter_aclip.la, filter_ascii.la, filter_astat.la, filter_clone.la, filter_control.la, filter_cpaudio.la, filter_cshift.la, filter_cut.la, filter_decimate.la, filter_denoise3d.la, filter_detectclipping.la, filter_detectsilence.la, filter_dnr.la, filter_doublefps.la, filter_facemask.la, filter_fieldanalysis.la, filter_fields.la, filter_fps.la, filter_hqdn3d.la, filter_invert.la, filter_ivtc.la, filter_levels.la, filter_lowpass.la, filter_mask.la, filter_modfps.la, filter_msharpen.la, filter_nored.la, filter_normalize.la, filter_null.la, filter_resample.la, filter_skip.la, filter_slowmo.la, filter_smartbob.la, filter_smartdeinter.la, filter_smartyuv.la, filter_smooth.la, filter_tc_audio.la, filter_tc_video.la, filter_test.la, filter_testframe.la, filter_unsharp.la, filter_videocore.la, filter_whitebalance.la, filter_xsharpen.la, filter_yuy2toyv12.la, filter_dilyuvmmx.la, filter_text.la