Esempio n. 1
0
        //exposed public method to process video on demand. Protocol is basic-HTTP. See system.serviceModel section of Config file for more details.
        public string ProcessVideo(string videoFilename, bool search = true, bool onDemand = true)
        {
            Syncre_LayerB_librabry.VideoProcessor vp = new VideoProcessor();            //uses Syncre_LayerAB_Service_Library

            vp.SetSearchServerEndpoint(ConfigurationManager.AppSettings.Get("SearchServerAddress"));
            return(vp.ProcessVideo(videoFilename, search, onDemand, true));  //keep frames
        }
Esempio n. 2
0
 /// <summary>
 /// Запуск обработки файла
 /// </summary>
 void ProcessFile(ProcessFileInfo file)
 {
     _processor.ProcessVideo(file.FilePath, file.DestinationPath, VideoQuality.Vq240P, 24, VideoFormat.mp4);
 }