这个是输出选项的结构体。。。参数以指针方式传递。。。
function SetOutputFile(const AInputIndex: Integer; const AFileName: string; const AOptions: POutputOptions): Boolean;
复制内容到剪贴板
代码:
POutputOptions = ^TOutputOptions;
TOutputOptions = packed record
FileName: string;
FileFormat: string;
FileExt: string;
PacketSize: Integer;
MuxRate: Integer;
MuxDelay: Single;
MuxPreload: Single;
AudioCodec: string;
DisableAudio: Boolean;
AudioVolume: Integer;
AudioChannels: Integer;
AudioRate: Integer;
AudioBitrate: Integer;
AudioLanguage: string;
VideoCodec: string;
DisableVideo: Boolean;
FrameRate: string;
FrameSize: string;
FrameAspectRatio: string;
CropTop: Integer;
CropBottom: Integer;
CropLeft: Integer;
CropRight: Integer;
PadTop: Integer;
PadBottom: Integer;
PadLeft: Integer;
PadRight: Integer;
PadColor: TColor;
GroupPictureSize: Integer;
VideoBitrate: Integer;
VideoMaxRate: Integer;
VideoMinRate: Integer;
VideoBufSize: Integer;
TimeStart: Integer;
TimeLength: Integer;
Info: TStreamInfo;
DisableSubtitle: Boolean;
SubtitleLanguage: string;
end;