SolveigMM Media File Chopper Filter
The SMM_MediaFileChopper.ax is a DirectShow filter that that splits output into sequence of separate files with given duration or file size.
Filter Interfaces | IBaseFilter, IFileSinkFilter, IModuleConfig, IAMFilterMiscFlags, ISpecifyPropertyPages |
Input Pin Media Types | Compressed video, audio,text |
Input Pin Interfaces | Not applicable. |
Filter CLSID | CLSID_SMM_MediaFileChopper |
Property Page CLSID | CLSID_SMM_MediaFileChopper_Prop_Main |
Executable | SMM_MediaFileChopper.ax |
Merit | MERIT_DO_NOT_USE |
Filter Category | CLSID_LegacyAmFilterCategory |
Declared in | PropID_MediaFileChopper.h |
Features
The filter can save input video,audio streams into separate output media files by duration, by size, into equal parts with given output format.
Usage
In order to use filter you should set filter parameters:
- Output Type - output files media container
- Output Files Mask - mask for output files naming
- Output Files Directory - Directory where to save output files
- AutoSplit Type and it's parameters - The way how to split input
Here are the existing parameters and their purposes:
Parameter GUID | Value type | Description |
SMMFC_FileType | VT_I4 | Output File's type (see SMM_OutputTypes) |
SMMFC_OutputFileMask | VT_BSTR | Set/Get current filename mask to write to (see Output file mask format) |
SMMFC_OutputFileDir | VT_BSTR | Set/Get current file directory to write to |
SMMFC_AutoSpliceType | VT_I4 | Splice type enum SMM_AutoSplitType |
SMMFC_AutoSpliceDuration | VT_I8 | Duration in 100 ns units used when SMMFC_SpliceType is set to SMM_AutoSpliceType_Duration |
SMMFC_AutoSpliceSize | VT_I8 | Size in bytes used when SMMFC_SpliceType is set to SMM_AutoSpliceType_Size |
SMMFC_AutoSplicePartsCount | VT_I4 | Split into parts count |
SMMFC_CurOutputFileName | VT_BSTR | Get current output file name |
SMMFC_OutputFileNames | VT_BYREF | Get output file names that was created ( BSTR_ARRAY ) |
SMMFC_CurOutputFileNum | VT_I4 | Get current output file number |
SMMFC_OutputFilesCount | VT_I4 | Get output files count |
SMAT_SilentPath | VT_BSTR | Set Silent path for searching unregistered directshow components |
SMAT_CodecsSet | VT_BSTR | Set codecs profile to be used in play graph |
SMMFC_FileType
GUID:
{24A325AB-9D34-4255-B896-96593C503F69}
Description:
Output File's type (see SMM_OutputTypes)
Type:
VT_I4 (lVal)
SMMFC_OutputFileMask
GUID:
{56AA69D1-1992-465d-BB92-DABF68392CD3}
Description:
Set/Get current filename mask to write to (see Output file mask format)
Type:
VT_BSTR(bstrVal)
SMMFC_OutputFileDir
GUID:
{125B5191-2C85-4738-B1DD-09B514027431}
Description:
Set/Get current file directory to write to
Type:
VT_BSTR(bstrVal)
SMMFC_AutoSpliceType
GUID:
{85E50643-1101-48e4-A337-44F0FBB54B29}
Description:
Splice type enum SMM_AutoSplitType
Type:
VT_I4(lVal)
SMMFC_AutoSpliceDuration
GUID:
{7B4DF700-A69E-42f2-9D71-4ABF3518BF0E}
Description:
Duration in 100 ns units used when SMMFC_SpliceType is set to SMM_AutoSpliceType_Duration
Type:
VT_I8(llVal)
SMMFC_AutoSpliceSize
GUID:
{F0B0587C-FB56-4af6-AA69-41FFC85EC30A}
Description:
Size in bytes used when SMMFC_SpliceType is set to SMM_AutoSpliceType_Size
Type:
VT_I8(llVal)
SMMFC_AutoSplicePartsCount
GUID:
{6E92C813-20BC-4ee6-87B4-0B99625061F9}
Description:
Split into parts count
Type:
VT_I4(lVal)
SMMFC_CurOutputFileName
GUID:
{9F26ED25-475C-4232-82EC-928DB270CD17}
Description:
Get current output file name
Type:
VT_BSTR(bstrVal)
SMMFC_OutputFileNames
GUID:
{DF7E7076-F552-4b72-8848-4822442B8866}
Description:
Get output file names that was created ( BSTR_ARRAY )
Type:
VT_BYREF(pbVal)
SMMFC_CurOutputFileNum
GUID:
{6F871023-2276-429f-8457-95C8B77EE402}
Description:
Get current output file number
Type:
VT_I4(lVal)
SMMFC_OutputFilesCount
GUID:
{81212A25-3ECA-4fdb-A8F2-3B7E294B8FAF}
Description:
Get output files count
Type:
VT_I4(lVal)
SMAT_SilentPath
GUID:
{2E83B26B-65B3-4609-95B5-E918A96AE151}
Type:
VT_BSTR
Description:
Sets the registry path that stores paths of filters to use in silent mode (without registration).
SMAT_CodecsSet
GUID:
{17B25796-46AB-44a6-BBF4-9A3A160E63FB}
Type:
VT_BSTR
Description:
Sets the profile that shows which filter should be used for current operation.
Default value:
dmx<type:MPEG2>_EL__mux<type:MPEG2>_EL__enc<type:AVC>_EL__enc<type:MPEG2>_EL__dec<type:AVC>_EL__dec<type:MPEG2>_EL__ixr<type:MPEG2>_EL__dmx<type:MP4>_SM__mux<type:MP4>_SM
The current version of SDK uses Elecard muxer/splitter/encoder/decoder/index reader filters to edit MPEG2 and AVCHD files and Solveig Multimedia muxer/demuxer for MP4 files.