Home > Video Fingerprinting SDK > .Net - How to search one video fragment in another

.Net - How to search one video fragment in another

Get search fingerprints for both files using search engine, full file analyze

// Fragment file (small)
VFPFingerPrint fp1 = VFPAnalyzer.GetSearchFingerprintForVideoFile(filename1, VFMediaPlayerSource.File_DS, 10, true);
// Main file (big)
VFPFingerPrint fp2 = VFPAnalyzer.GetSearchFingerprintForVideoFile(filename2, VFMediaPlayerSource.File_DS, 10, true);


Search

bool found = VFPAnalyzer.Search(fp1, fp2, difference, out position);

 

Save fingerpting to small binary file

VFPFingerPrint fp1 = ...;
fp1.Save(filename);