public bool Record(string path, int count, int offsetFrame, int freq, bool isTranslucent) { var dir = System.IO.Path.GetDirectoryName(path); var fileWExt = System.IO.Path.GetFileNameWithoutExtension(path); var ext = System.IO.Path.GetExtension(path); return(native.Record(dir + "/" + fileWExt, ext, count, offsetFrame, freq, isTranslucent)); }