How to play movies in C # WinForm application

I am trying to play a movie (wmv, avi, mpg, etc.) in a winforms application. I would like the user to be able to start, stop and pause.

I'm not looking for a complete answer ... I just need to point in the right direction. I already did some searches on Google, but could not find anything useful. I can continue the search, but I know that the rocks are community stackoverflow.

So, please point me in the right direction!

Thanks.

+3
source share
5 answers

I think this is probably the path of least resistance:

http://msdn.microsoft.com/en-us/library/bb383953.aspx

+6
source

VLC Windows Media Player. VLC , #.

VLC Windows Media Player, , WPF.

, VLC , , , , .

+1

, , DirectShow . , , .

0

One possibility is to use the Forms.WebBrowser class . This will give you a built-in web browser so that you can set what the player and the plugins need.

-1
source

Source: https://habr.com/ru/post/1722289/


All Articles