c# the youtube!!

  • Thread starter Thread starter Jassim Rahma
  • Start date Start date
J

Jassim Rahma

is there anyway to download the youtube videos into windows media format
using c#?
 
You can listen to ports and grab the bits, but that is the only way to catch
streaming video I know of. There are free tools that allow you to do this,
so programming is not the only option.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)

************************************************
Think outside the box!
************************************************
 
Cowboy said:
You can listen to ports and grab the bits, but that is the only way to catch
streaming video I know of. There are free tools that allow you to do this,
so programming is not the only option.

Actually, last I looked at this, YouTube wasn't really using streaming
video. They have a Flash-based player that downloads the entire video
file, starting playback once enough of the file has been buffered. The
Flash video file remains in your cache after it's been downloaded, and
you can use various tools to extract the video from the Flash .flv format.

In C#, downloading would be as simple as parsing the links from the
YouTube page for the video to find the Flash object and the parameters
for that object, and then downloading the referenced .flv file. Of
course, what to do with that file after the fact is a separate question,
but the downloading itself should be relatively straightforward.

Pete
 
Hi
I need to implement streaming in my C# application.
I have youtube video link for autoplaying of Video,
But i dont know, how i can achieve streaming in my C# application.
I tried to use WebRequest-WebResponse method to get the contents of the flv file, but nothing helped for me as yet..
can u plz help me out to do this ???
Thanking u.
 
Back
Top