Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to play dual audio movies in wpf c#

The basic WPF media-element just play the MKV file but does't seek and provide facility to change audio.

Is it possible to play this type of videos in Media-element. I have searched so many Que... on stackoverflow like extending media-element functionality etc. or using third party component but does't find any suitable SOLUTION.

I does't mean you tell me a complete tutorial but just only gives me direction, what should I do or what can be the alternative?

I don't want to use c++ because I like WPF Graphics

Can somebody help me ? Thanks in advance!

like image 568
Abhi verma Avatar asked Dec 07 '25 10:12

Abhi verma


1 Answers

I'd suggest you to use some C# VLC interface, it will provide you with a lot more options than built in MediaElement.

One of such is Vlc.DotNet, it has NuGet package for WPF (Vlc.DotNet.Wpf), and lets you do anything that you could do from command line (that is, anything you could do in standalone VLC) so changing audio tracks will not pose any problem.

like image 84
Arion Avatar answered Dec 09 '25 22:12

Arion