marksard
marksard
For your information. Don't call Stop(), Pause() and Play() from main thread. If call then deadlock.
Where/which is there parse() method? I tried a below in a UI thread. ``` var videoItem = VlcControl.SourceProvider.MediaPlayer; // VlcControl is definition at xaml videoItem.SetMedia(new Uri(fileName)); videoItem.GetMedia().Parse(); videoItem.Video.Tracks.Current = videoItem.Video.Tracks.All.ElementAt(a);...
I investigated a little. Additional Info: ```c# var videoItem = VlcControl.SourceProvider.MediaPlayer; // VlcControl is definition at xaml videoItem.SetMedia(new Uri(fileName)); var media = videoItem.GetMedia(); media.Parse(); var mediaTrack = media.Tracks.ElementAt(1); // (A)...
I tried. ```C# var videoItem = VlcControl.SourceProvider.MediaPlayer; // VlcControl is definition at xaml videoItem.SetMedia(new Uri(fileName)); var media = videoItem.GetMedia(); media.Parse(); var mediaTrack = media.Tracks.ElementAt(1); // (A) element #1 is second...
I shared link at googledrive https://drive.google.com/open?id=16IKj_Ni8lfapEEHZKlxgXqr3qQAVE0rA Thank you for your help.
Hi, Did you find something wrong with the video? Is another sharing method better? Best Regards,
Oh, I'm Sorry, thanks replying.
Hello. I would like to solve this problem but need some help. Thank you.
Shared AVI file can play video track 2 with VLCPlayer.
Hi, Thank you for your reply. I tried I created new simple project. And then your code pasted as below. ```xml ``` ```C# public MainWindow() { InitializeComponent(); var currentAssembly =...