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.
Jump to Post
What 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
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.