Jump to content

Downloading Youtube videos


adam291086

Recommended Posts

Hello

 

Youtube prevents us from downloading their videos. Is it possible to use PHP to take that video and download it. I know there are some websites that allow you to do this (only because my house mate did it for me) but i would like to create my own little program to do this. This is for my own personal use and not for everyone on the internet otherwise i would get into a bit of trouble.

Link to comment
https://forums.phpfreaks.com/topic/86102-downloading-youtube-videos/
Share on other sites

they are not extracting anything they just running it off youtube.com by using the object tag

 

<object width="543" height="451"><param name="movie" value="http://www.youtube.com/v/aAm9VwOv3YY&rel=1&autoplay=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/aAm9VwOv3YY&rel=1&autoplay=1" type="application/x-shockwave-flash" wmode="transparent" width="543" height="451"></embed></object></p>

 

cut and paste it in a html page and you'll get it on the page.. they must be using an api to give the listing...

When i view a youtube video in Firefox and Firebug reports a 5 MB file at "http://74.125.15.101/get_video?video_id=4ruic_HgQ6U&origin=dal-v120.dal.youtube.com"

with these post requests made by the flash player

origin:     dal-v120.dal.youtube.com

video_id:  4ruic_HgQ6U

 

you could use cURL to download this file then phrase it into a avi or mpg

 

Scott.

Online FLV Converter : Download online videos direct to PC / iPod / PSP. It's free!

 

http://vixy.net/

 

 

About this service:

 

This service allows you convert a Flash Video / FLV file (YouTube's videos,etc) to MPEG4 (AVI/MOV/MP4/MP3/3GP) file online. It is using a compressed domain transcoder technology (outline in Japanese). It converts FLV to MPEG4 faster and less lossy than a typical transcoder.

 

When you submit an url, it will download and convert to the video format. Then you can download the converted file.

 

FLV to MPEG4 Conveter engine is now OpenSource. You can download the source code via subversion: http://sourceforge.net/svn/?group_id=183657

 

For Windows users: Please install DivX to play DivX AVI.

 

 

http://vixy.net/app/download/windows

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.