Takes the user-supplied byte range and scans for transport fragment boundaries.
#include "ILMDVRSource.h"
Language | Syntax |
---|---|
C | HRESULT ILMDVRSource_GetTimedFragmentAlignment(pILMDVRSource, startOffset, endOffset, timeThreshold, pAlignedStartOffset, pAlignedEndOffset, pAlignedDuration) |
C++ | HRESULT GetTimedFragmentAlignment(startOffset, endOffset, timeThreshold, pAlignedStartOffset, pAlignedEndOffset, pAlignedDuration) |
Pointer to an ILMDVRSource interface.
(input) Specifies the byte offset at which to begin scanning for transport fragments.
(input) Specifies the byte offset at which to stop scanning for transport fragments.
(input) Specifies the byte offset at which to stop scanning for transport fragments.
(output) A pointer to a double variable, storing the offset of the start of the first transport fragment found.
(output) A pointer to a double variable, storing the offset of the end of the last transport fragment.
(output) A pointer to a double variable, storing the time (in seconds), of the transport fragments found.
Value | Meaning |
---|---|
S_OK | No error. |
S_FALSE | No transport fragment found: pAlignedStartOffset and pAlignedEndOffset are equal to startOffset, and indicate an empty search. |
Use this function along with ILMDVRSource::CopyBufferToFile to save a completely intact MPEG transport fragment.
Set up the MPEG multiplexer used for recording to DVR by calling put_OutputType(Mpg2MxT_OutputType_HLS). Doing so guarantees that fragment boundaries start with synchronization frames. Specify the boundary time interval by calling put_ResyncInterval(intervalTime).
Win32, x64.
Language | Example |
---|---|
C++ | ILMDVRSource::GetTimedFragmentAlignment |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document