Example #1
0
        private void Play_Button_Click(object sender, RoutedEventArgs e)
        {
            string url  = URL_TextBox.Text;
            int    type = VType_ComboBox.SelectedIndex;

            easyFFmpeg.InitializeFFmpeg(url, (VideoInputType)type);

            easyFFmpeg.PlayVideo();
            easyFFmpeg.VideoFrameReceived += VideoFrameReceived;
        }
Example #2
0
        private void Play_Button_Click(object sender, RoutedEventArgs e)
        {
            string url  = "video=USB3. 0 capture:audio=디지털 오디오 인터페이스(5- USB3. 0 capture)";
            int    type = VType_ComboBox.SelectedIndex;

            easyFFmpeg.InitializeFFmpeg(url, (VIDEO_INPUT_TYPE)type);

            easyFFmpeg.PlayVideo();
            easyFFmpeg.VideoFrameReceived += VideoFrameReceived;
        }