I am writing simple server client programs using socket, in which a client would request a video file and the server should send it that file. After recieving the file the client would play that video file. I know how to open ordinary text files and binary files but can a video file be opened in the same manner i.e fopen ("file.avi", "rb"); and which library and its corresponding function should i use to play that video file on the client side.
engrghost
0
Newbie Poster
Recommended Answers
Jump to PostWhat libraries or other tools you use to play the video depends entirely upon the encoding that the video uses. Downloading it is trivial, but playing it is not. As I implied, there are many video encodings to deal with, some of which are proprietary (mpeg2, etc), and others that …
All 4 Replies
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
engrghost
0
Newbie Poster
Andrea.Vieira
0
Newbie Poster
Andrea.Vieira
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.