Click here to Skip to main content
15,890,527 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi,
I have a task to build an application that records the video stream sent from a server. Serialization of the recorded file is necessary. File can be in any format. Can someone suggest me how to go about it?
Posted
Comments
enhzflep 18-Apr-12 6:27am    
I'd start by answering jkchan's question about the format of the received data.

After that, I'd look for a tute that extracted single-frames from a video - using that as a means of finding the info required to perform the opposite action, that is - adding frames to a (at first empty) video.

1 solution

in what format server sends the video stream ? is it transport stream or filestream ? if it is file stream you can just save to file right ?

jkchan
http://cgmath.blogspot.com[^]
 
Share this answer
 
Comments
stib_markc 18-Apr-12 6:03am    
yes, that is one of the requirements..
i have to save the file..
stib_markc 18-Apr-12 6:04am    
i mean i have to save the data into a file....whatever data that was streamed till then(when user wants to stop recording) should be saved into a file(.avi or .wmv or whatever..)
jk chan 18-Apr-12 6:59am    
i had used direct show to save streams.. in that you can have source filter which reads data from a server, and saves/plays it .. you have a look at directshow samples..
stib_markc 18-Apr-12 7:30am    
ok, thanks for the suggestion, i will look into some of the samples of direct show and will get back...
stib_markc 19-Apr-12 2:12am    
can you please provide some examples, i couldn't find any relevant examples on net(and I am new to COM)...

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