Welcome to the wiki talking about FFmpeg on Windows.

FFEncoder InputOptions

Most of the members of TInputOptions and TOutputOptions are according to the parameters of ffmpeg command line tool. Please refer to http://www.ffmpeg.org/ffmpeg-doc.html for detail.

Abbreviations

  • PCR - Program Clock Reference
  • STC - System Time Clock
  • SCR - System Clock Reference
  • PTS - Presentation Time Stamp
  • DTS - Decode Time Stamp

InputOptions

  PInputOptions = ^TInputOptions;
  TInputOptions = record
    FileName: WideString;
 
    // -f fmt: force format
    ForceFormat: string;
 
    // -ss position: set the start time offset
    TimeStart: Int64; // microsecond!!! differ with FFmpeg parameter
 
    // -programid: desired program number
    ProgramID: Integer;
 
    ExtOptions: string; // please refer to ExtOptions of TOutputOptions
 
    // used for your special purpose
    Tag: Integer;
    Data: Pointer;
  end;

InputOptions Initialization

Print/export