コード例 #1
0
        public RecordingGallery()
        {
            InitializeComponent();

            workspaceManager = new WorkspaceManager();
            refreseh();
        }
コード例 #2
0
        private void exportButtonVP9_Click(object sender, RoutedEventArgs e)
        {
            VideoPreviewItemModel itemModel       = (VideoPreviewItemModel)(sender as Button).DataContext;
            VideoFileReader       videoFileReader = new VideoFileReader(WorkspaceManager.getWorkspacePathForGivenFile(itemModel.ownVideoPreviewInstance.fileName));
            LoadingScreen         loadingScreen   = new LoadingScreen("Encoding as webm...", "Please, stand by!", new EncodingUtilities(videoFileReader.videoFileMetaData.filePath, 100));

            loadingScreen.startEncodingAs(EncodingUtilities.EncodingType.VP9);
            videoFileReader.dispose();
            videoFileReader = null;
        }