Click here to Skip to main content
15,909,091 members
Please Sign up or sign in to vote.
3.67/5 (3 votes)
See more:
Hello, I am trying to use the Webbrowser class to capture video as it is being streamed to my application from the internet. I thought it would be easy to hookup an event to read the data as it came in, and save it to a file on my PC. But I am not finding a way to do that...any ideas?
Posted
Comments
Sergey Alexandrovich Kryukov 11-Jan-12 21:22pm    
Very interesting question. To my shame, I'm not finding a way either (but I did not seriously investigate it yes). It should depend on the streaming standard; I saw the application which can capture some standards, but not others.
--SA

I'm sorry if my post will help you not so much as I wish to help. To me, it looks like a considerable problem, too.

A while ago, I found only one product which can do this on Windows. This is VideoLAN, see:
http://en.wikipedia.org/wiki/VideoLAN[^],
http://www.videolan.org/[^].

Right now, this product which was primarily designed for media streaming is provided in the form of one application called VLC Player. Even though it mainly works like a player, it can be used in both interactive and batch modes for many different purposes: streaming, capturing of media streams in many different formats, conversion into any other format, video/audio transformation, etc.

Best thing is: this application comes with API and a number of separate libraries, all Open Source. You can use the application for capturing video or you can find the standards you need to capture in the libraries and try to use their source code. I just used the compiled application, just for one standard, audio only, but successfully. Just want to warn you: the command-line interface is extremely rich and complex; so, if you think some feature does not exist, think twice; you can find a lot of functionality in the command-line documentation, it will just take some time.

I also uses some command-line media streaming capturing software on Linux, but it's harder to remember how to find it. Of course, it comes with source code, too.

So, your problem is quite solvable, you just need to invest considerable amount of time to learn this Open-Source software.

—SA
 
Share this answer
 
i dont know if it could help you a bit

MyDownloader: A Multi-thread C# Segmented Download Manager[^]
 
Share this answer
 
This is the updated useful information on the VLC component binding for.NET:
http://sourceforge.net/projects/libvlcnet/[^],
https://wiki.videolan.org/C_Sharp/[^],
https://wiki.videolan.org/.Net_Interface_to_VLC/[^].

Notably, you can find material for using the component for both WPF and System.Windows.Forms.

—SA
 
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