tags:

views:

427

answers:

2

Is it possible to determine whether a particular youtube video is encoded with H.264 or FLV through the YouTube data API? If so, how?

I can start a file download and check how the video stream was encoded (programmatically, of course), but I'd like to use the YouTube data API to avoid all that overhead.

+1  A: 

I do not believe this is possible.

You can find the YouTube API reference docs here http://code.google.com/apis/youtube/2.0/reference.html

The Unknown
+1  A: 

This isn't possible, and you shouldn't ever need to do this unless you are doing something questionable (with regards to YouTube's API TOS) ;)

If you give more details about what you are trying to do, perhaps there's another solution?

Geoff