Exemplo n.º 1
0
        public void ProcessVideo([FromRoute] string filePath)
        {
            int fileCount = videoService.SplitVideoToFramesAbsolute(filePath);

            fileCount = fileCount * 2;
            videoService.StartProcessingAbsolute(filePath);
            while (fileCount != Directory.GetFiles($@".\{filePath}\").Length)
            {
            }
            videoService.CombineFramesToVideoAbsolute(filePath);
        }