Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
hi i m a C# programmer. now i have a project in winfroms where i need to stream a video file (at server side ) n it should be send to client in the form of frames i.e
packets . I m searching on internet for but not getting proper solution all are giving solution on web forms but i need in win forms.With any code example it will be better. so can any body suggest any solution for my problem........
Posted
Updated 7-Jul-11 18:29pm
v2

 
Share this answer
 
Comments
Tarun.K.S 7-Jul-11 9:02am    
Nice links. 5+
Uday P.Singh 7-Jul-11 9:12am    
thanks Tarun :)
arunrv 8-Jul-11 0:26am    
thank u for replying . But i m trying to stream using Windows forms. not in ASP.So if u have any other idea let me kno.
Uday P.Singh 8-Jul-11 1:19am    
at first you didn't mentioned about winform.
arunrv 8-Jul-11 1:32am    
ya i kno . k if u know in win forms tell me
Hope this[^] might help you.
 
Share this answer
 
Comments
arunrv 8-Jul-11 1:56am    
in this website he is specifying some software's to down load . but i need to create on my own using class library. i saw this functionality in vlc player . even i got in code project how to use vlc lib but it is for lower version. so do u have any other solution...... :(
Tyr Partitioning the video file into small chunk of say 512 KB and send these chunks to the client one by one.

on the client side you need to write a code to receive these chunks and then cast them to Bitmap object ,assign this bitmap object to a picture box.

for this to happen you need to write a socket program. (client - server model)
 
Share this answer
 
Comments
arunrv 9-Jul-11 0:20am    
do u have any code example to chunk a video file..ya i wll do the same thing using socket its self. Now my problem is how to chunk a VIDEO file
arunrv 9-Jul-11 0:20am    
THX for reply
Member 10717965 7-Apr-14 5:26am    
how i can pass video files in sockets

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