Click here to Skip to main content
15,902,635 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hello,

Can anyone please help me how to play avi video file on windows form using C#.
Thanks!
Posted
Comments
Sergey Alexandrovich Kryukov 3-Jun-13 13:11pm    
Did you try to find anything?
—SA

Did you try to find anything? This is one of the ways: http://boxlab.googlecode.com/svn/MergerLense/HandLense/Controls/Media/VideoPlayer.cs[^].

One problem you may have: Windows comes with only rudimentary set of codecs, so you may need to install all you need. First of all, I would recommend the freeware K-Lite Codec Pack:
http://en.wikipedia.org/wiki/K-Lite_Codec_Pack[^],
http://codecguide.com/[^].

—SA
 
Share this answer
 
Comments
ontheline89 3-Jun-13 13:55pm    
thank you so much !
Sergey Alexandrovich Kryukov 3-Jun-13 14:01pm    
You are very welcome.
Good luck, call again.
—SA
 
Share this answer
 
Comments
ontheline89 3-Jun-13 13:55pm    
Thank you so much !
Thomas Daniels 3-Jun-13 14:06pm    
You're welcome!
Sergey Alexandrovich Kryukov 3-Jun-13 14:01pm    
Nice, a 5.
My answer was formally accepted by OP as well... :-)
—SA
Thomas Daniels 3-Jun-13 14:05pm    
Thank you!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900