Click here to Skip to main content
15,889,840 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi,
I want to play video files in c# but not by using wmp or ..., i want the main(core) of the code.
Posted
Updated 20-Nov-10 10:33am
v2

1 solution

To play a video file you need to do two things

1. Decode and Decompress the video, since all the video file formats are compressed and coded using certain method. There are several ways to do that. One is use open-source FFMPEG[^] library to get the raw video from the compressed and coded video file.

2. Show the video on display, for windows you will need DirectX[^].

This is starting point for starting development. However if you do not wish to develop, and want entire working code, then I suggest you search in Google for open-source video players.
 
Share this answer
 

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