FFmpegSource Documentation

Changes

Usage

FFmpegSource(string source, int track = -1, int seekmode = 1, string timecodes, bool cache = true, string CacheFile)

source: source file

track: track number as seen by the relevant demuxer, starts from 0, -1 means will pick the first video track

seekmode: force how seeking is handled, has no effect on matroska files which always use the equivalent of seekmode=1
0: linear access, the definition of slow but should make some formats "usable"
1: safe normal, bases seeking decisions on the reported keyframe positions
2: unsafe normal, same as 1 but no error will be thrown if the exact destination has to be guessed
3: aggressive, seek in the forward direction even if no closer keyframe is known to exist, only useful for containers where avformat doesn't report keyframes properly and testing

timecodes: file to output timecodes to, if the file exists it will always be overwritten

cache: write indexing information to a file for later use

cachefile: if specified the file to store the index information in, if nothing is specified .ffcache is used

Compatibility

Compiling

zlib from http://www.zlib.net/

FFmpeg svn from http://ffmpeg.mplayerhq.hu/

Required Configuration: ./configure --enable-shared --disable-static --enable-memalign-hack --enable-swscaler --enable-gpl

Suggested Additional Options: --disable-encoders --disable-muxers