Introduction
The -x flag.
Import modules deal directly with the mediafile you give on the commandline. Usually, transcode can detect the codecs used in your mediafile automatically. This means that you don't even have to specify the -x flag.
If the detection doesn't work, or if you want to do something specific with your file, you should add commandline options to the -x flag.
If you don't know what kind of codecs are being used in your mediafile, you can use 'tcprobe -i yourfile' to figure it out. After that, you can read through the specific module page to see what options transcode gives you.
tcprobe uses the same code that transcode uses to inspect mediafiles. Many types of mediafiles are not correctly analyzed by transcode or tcprobe. Mediafiles that are not analyzed correctly can be analyzed using mplayer like this:
mplayer -vo null -ao null -frames 0 -identify $mediafile
API
- /API Using the import API. (Read this if you are a programmer)
Available Import Modules
Audio Import Modules
- /import ac3 - decodes AC3 audio from MPEG program streams or raw streams
- /import mp3 - MPEG audio from program streams or raw streams
- /import sunau - interface to audio(4) PCM devices on some BSD systems
- /import vdrac3 - AC3 audio with invalid AC3 audio stream header from MPEG streams produced by digital capture cards
Audio and Video Import Modules
- /import af6 - interface to avifile library supported codecs and file formats
- /import avi - RGB/PCM from RIFF AVI files
- /import dv - Digital Video and PCM audio from RIFF AVI-files or raw streams
- /import dvd - on-the-fly DVD transcoding
- /import ffbin - audio and video decoded by the ffmpeg binary
- /import lav - interface to mjpegtools (YUV4MPEG) streams produced by lav2yuv and lav2wav
- /import lve - imports video from an LVE edit list
- /import mov - Quicktime file format, audio/video codecs supported by libquicktime
- /import mpeg3 - video track from MPEG program streams or raw streams extracted and decoded by libmpeg3
- /import mplayer - interface to Mplayer for decoding unsupported codecs, exotic file formats or more ore less broken sources
- /import net - read raw video/audio streams from sockets
- /import null - dummy module, reads from /dev/zero
- /import nuv - interface to NuppelVideo file format
- /import nvrec - interface to NVrec video recorder program
- /import ogg - decodes Ogg Vorbis audio streams
- /import raw - RGB/PCM from RIFF AVI/WAVE files or raw streams
- /import sh - runs commands and reads from a pipe
- /import v4l - interface for grabbing audio/video from v4l devices on linux systems
- /import v4l2 - interface for grabbing audio/video from v4l2 devices on linux systems; prefered over import_v4l
- /import vob - MPEG/AC3 program streams in VOB files (found on unencrypted/ripped DVDs)
- /import xml - interface to XML files with file listing and frame range produced by kino
- /import yuv4mpeg - YUV from video streams produced by mjpegtools (YUV4MPEG) and RIFF WAVE pcm audio
Video Import Modules
- /import bktr - interface to bktr(4) video frame grabbing devices on BSD systems
- /import divx - decoding support for AVI-files with DivX, OpendivX, DivX 4.xx/5.xx, XviD video using the DivX codec
- /import ffmpeg - interface to ffmpeg library supported video codecs and file formats
- /import fraps - decodes fraps, FPS1, a packed form of YUV420
- /import im - interface to ImageMagick library supported picture codecs and file formats for making animations; reads images with a counter pattern
- /import imlist - interface to ImageMagick library supported picture codecs and file formats for making animations; reads images from a list
- /import lzo - imports AVI-files with LZO loss-less compression for video
- /import mpeg2 - video track from MPEG program streams or raw streams, extracted and decoded by mpeg2dec
- /import pvn - imports video in the PVN format
- /import rawlist - reads images from a list; native support for raw image formats only
- /import vnc - interface to vncrec video recording program
- /import xvid - decoding support for AVI-files with DivX, OpendivX, DivX 4.xx/5.xx, XviD video using the XviD codec
- /import yuv - imports directories of files containing single YUV frames