示例#1
0
        public RouteLapser(string courseFilePath)
        {
            CourseFilePath        = courseFilePath;
            TrainingCenterXmlData = RouteLapser.OpenCourse(CourseFilePath);

            FFMpegClient    = new FFMpegConverter();
            GoogleMapClient = new GoogleMapsApi();
        }
        static void Main(string[] args)
        {
            Trace.Listeners.Add(new ConsoleTraceListener());

            var lapser = new RouteLapser("UW_to_Gasworks.tcx");

            lapser.CreateHyperlapse("UW_to_Gasworks_hyperlapse.mp4").Wait();

            Console.WriteLine("Done!");
            Console.ReadLine();
        }