Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Determining video codec via YouTube data API?

Tags:

youtube

video

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.

like image 399
Andrew Avatar asked Jul 28 '26 01:07

Andrew


1 Answers

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?

like image 125
Geoff Avatar answered Jul 31 '26 20:07

Geoff



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!