TVideoGrabber.MultipurposeEncoder_ReindexClip

Prev

Next

TVideoGrabber

Methods

 




Used to reindex a video clip


Declaration
function MultipurposeEncoder_ReindexClip (CurrentFileName: string; NewFileName: string): Boolean;


bool __fastcall MultipurposeEncoder_ReindexClip(System::UnicodeString CurrentFileName, System::UnicodeString NewFileName);

Description

This function reindexes the video clip specified as CurrentFileName video clip and produces a new video clip specifed by NewFileName.

The reindexing is performed without recompressing the video stream, so the process is quite fast.

The function is not specific to MP4, it can reindex MKV, AVI or other formats.

It is useful when seeking a video clip is slow.

You can determine if a MP4 video clip needs a reindexing by invoking MP4NeedsReindexing.

E.g.:

SourceFileName = "c:

NewFileName := "c:

if (VideoGrabber->MP4NeedsReindexing (SourceFileName))

VideoGrabber->MultipurposeEncoder_ReindexClip (SourceFileName, NewFileName);


See Also
MP4NeedsReindexing MultipurposeEncoder_QuickConfigure_UDPStreaming_H264 SetFFmpegAudioFilter SetFFmpegFilter 
Copyright (c) Datastead