Editing Engine enumerations
SMM_OutputTypes
Indicates the type of the file.
enum SMM_OutputTypes {
SMM_File_Type_NO = 0x0,
SMM_File_Type_AVI
SMM_File_Type_ASF
SMM_File_Type_MPA
SMM_File_Type_MPEG2_PS
SMM_File_Type_MPEG2_TS
SMM_File_Type_MPEG2_VES
SMM_File_Type_MPEG1_SYS
SMM_File_Type_MPEG1_VES
SMM_File_Type_WAV
SMM_File_Type_MPEG4_AVC
SMM_File_Type_MPEG4_HEVC
SMM_File_Type_MKV
SMM_File_Type_MP4
SMM_File_Type_RAW
SMM_File_Type_FLV
SMM_File_Type_SRT
SMM_File_Type_ASS
SMM_File_Type_GPS
SMM_File_Type_GIF
SMM_File_Type_YUV
SMM_File_Type_XTL
}
Elements:
SMM_File_Type_NO
Type not specified.
SMM_File_Type_AVI
Audio video interleaved format.
SMM_File_Type_ASF
Advanced streaming format (includes *.asf, *.wmv, *.wma files).
SMM_File_Type_MPA
MPEG audio (MPEGv1,2 layers1-3).
SMM_File_Type_MPEG2_PS
MPEG-2 Program Stream.
SMM_File_Type_MPEG2_TS
MPEG-2 Transport Stream.
SMM_File_Type_MPEG2_VES
MPEG-2 Video Elementary Stream.
SMM_File_Type_MPEG1_SYS
MPEG-1 System stream.
SMM_File_Type_MPEG1_VES
MPEG-1 Video Elementary stream.
SMM_File_Type_WAV
Wave Audio File Format.
SMM_File_Type_MPEG4_AVC
MPEG4/AVC Video Elementary Stream.
SMM_File_Type_HEVC
HEVC Video Elementary Stream.
SMM_File_Type_MKV
Matroska file format.
SMM_File_Type_MP4
MP4 file format.
SMM_File_Type_RAW
Uncompressed video or audio same as input.
SMM_File_Type_FLV
Flash Video file format.
SMM_File_Type_SRT
SubRip Subtitle file format.
SMM_File_Type_ASS
Advanced SubStation Alpha Subtitles.
SMM_File_Type_GPS
Variouse GPS files from DVRs.
SMM_File_Type_GIF
GIF image file format
SMM_File_Type_YUV
Raw Video YUV format
SMM_File_Type_XTL
Batch XTL format
SMM_TaskType
The type of process to perform on chosen files.
enum SMM_TaskType {
SMM_Task_Type_Trimming = 0x0,
SMM_Task_Type_Joining = 0x1,
SMM_Task_Type_Join_Gap_Fill = 0x2,
SMM_Task_Type_Muxing = 0x3,
SMM_Task_Type_Demuxing = 0x4,
}
Elements:
SMM_Task_Type_Trimming
trimming process is planned.
SMM_Task_Type_Joining
joining process is planned.
SMM_Task_Type_Join_Gap_Fill
currently not used.
SMM_Task_Type_Muxing
currently not used.
SMM_Task_Type_Demuxing
currently not used.
SMM_TrimmAccuracyType
The desired accuracy of trimming
enum SMM_TrimmAccuracyType {
SMM_TrimmAccuracyType_Deflt = -1,
SMM_TrimmAccuracyType_GOP = 0,
SMM_TrimmAccuracyType_Frame = 1
};
Elements:
SMM_TrimmAccuracyType_Deflt
type not set.
SMM_TrimmAccuracyType_GOP
GOP-accurate trimming.
SMM_TrimmAccuracyType_Frame
Frame-accurate trimming.
SMM_TrimFlags
Trimming settings and parameters
enum SMM_TrimFlags {
SMM_TrimFlags_None = 0,
SMM_TrimFlags_ObeySampleTimes = 0x2,
SMM_TrimFlags_VideoOnly = 0x8,
SMM_TrimFlags_AudioOnly = 0x10,
SMM_TrimFlags_GettingSize = 0x20,
SMM_TrimFlags_InASF = 0x40,
SMM_TrimFlags_UsePositioning = 0x80,
SMM_TrimFlags_IgnoreTrimErrors = 0x100,
SSM_TrimFlags_TrimOverlappedIntervals = 0x200
};
Elements:
SMM_TrimFlags_None
Trimming flags not set
SMM_TrimFlags_ObeySampleTimes
Use alternative method of audio/video synchronization (by default is not set).
SMM_TrimFlags_VideoOnly
Process a video stream only regardless of a number video and audio stream an input media file contains. The engine processes a first video stream if finds. As an alternative you can use SMAT_VideoStreamNumber parameter.
SMM_TrimFlags_AudioOnly
Process an audio stream only regardless of a number video and audio stream an input media file contains. The engine processes a first audio stream if finds. As an alternative you can use SMAT_AudioStreamNumber parameter.
SMM_TrimFlags_GettingSize
Indicates whether getting file size not trimming file. Does not write an output file to HDD.
SMM_TrimFlags_InASF
Used by the video editing engine.
SMM_TrimFlags_UsePositioning
Use an alternative trimming method. The method faster then default one. For the present it is recommended to set this flag in one-part trimming mode of AVI, MP3, WMA files.
SMM_TrimFlags_IgnoreTrimErrors
Do not obey system errors during trimming process.
SSM_TrimFlags_TrimOverlappedIntervals
After trimming of each interval trim process stops and when starts from the beginning of the input media file.
SMM_AutoSplitType
Enumeration to set type of slicing operation
enum SMM_AutoSplitType {
SMM_AutoSplitType_None = 0,
SMM_AutoSplitType_TimeBased = 0x1,
SMM_AutoSplitType_SizeBased = 0x2,
SMM_AutoSplitType_IntoParts = 0x3,
};
Elements:
SMM_AutoSplitType_TimeBased
Slicing is based on output file's duration
SMM_AutoSplitType_SizeBased
Slicing is based on output file's size
SMM_AutoSplitType_IntoParts
Split media into equal parts