Youtube download'er in highest possible format

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
seba22
Forum Newbie
Posts: 4
Joined: Tue Feb 16, 2010 3:34 am

Youtube download'er in highest possible format

Post by seba22 »

Welcome,

I'm looking for youtube api what allow me to download youtube video in highest possible format.

Few years ago this job was more simple because url had information about quality like "fmt=22" or "fmt=6" right now we are live in future and that information is embed in player.

Look for example:
http://www.youtube.com/watch?v=XIz-MmKeoCs
(it's just example with HD don't comment music)

Right now i'm using old PHPtube class (2007 year).
http://www.phpclasses.org/browse/package/3966.html
It allow only to download file in lowest quality via flv.

My question is, anyone have class what allow download in highest possible ?

I give video ID -> XIz-MmKeoCs
It should check what quality is possible for download.
Right now i don't have any idea how get it...

And give download link. (of course i know about security used by IP, and want download file on my server using file_contents) but i got trouble only with getting that download link.

I will be great for any help...
Post Reply