1

我想了解 YouTube 视频的所有参数,因为 YouTube 现在不使用 HTTP 范围元素,而是在其 URL 中使用其自己的范围参数,因此我无法使用 Wireshark 进行会话,因为我看到了这么多 HTTP 200可以使用 video/x-flv,因此我的播放器在读取 HTTP 响应及其范围时无法关联它们。以下是 YouTube 为单个视频发送的示例 URL。是否也有任何可用的文档?

GET /videoplayback?algorithm=throttle-factor&burst=40&cp=U0hTTldOVF9FUUNOM19PSFhIOnBNNjJuUGVsZDZU&expire=1349736707&factor=1.25&fexp=922401%2C920704%2C912806%2C900711%2C913546%2C913556%2C925109%2C919003%2C920201%2C912706%2C900816&id=ee88421fc6a3f768&ip=90.84.144.49&ipbits=8&itag= 34&keepalive=yes&key=yt1&ms=au&mt=1349713452&mv=m&newshard=yes& range=13-1781759 &signature=84690C3B43F6FFBDD69E0E7009D0A6436946D642.904ADA59891696B5D1411665853784438D9E35D4&source=youtube&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cid%2Cip%2Cipbits%2Citag%2Csource%2Cupn%2Cexpire&sver=3&upn= fc55lw1im0s HTTP/1.1

GET /videoplayback?algorithm=throttle-factor&burst=40&cp=U0hTTldOVF9FUUNOM19PSFhIOnBNNjJuUGVsZDZU&expire=1349736707&factor=1.25&fexp=922401%2C920704%2C912806%2C900711%2C913546%2C913556%2C925109%2C919003%2C920201%2C912706%2C900816&id=ee88421fc6a3f768&ip=90.84.144.49&ipbits=8&itag= 34&keepalive=yes&key=yt1&ms=au&mt=1349713563&mv=m&newshard=yes& range=10690560-12472319 &signature=84690C3B43F6FFBDD69E0E7009D0A6436946D642.904ADA59891696B5D1411665853784438D9E35D4&source=youtube&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cid%2Cip%2Cipbits%2Citag%2Csource%2Cupn%2Cexpire&sver=3&upn= fc55lw1im0s&redirect_counter=1&cms_redirect=是 HTTP/1.1

GET /videoplayback?algorithm=throttle-factor&burst=40&cp=U0hTTldOVF9FUUNOM19PSFhIOnBNNjJuUGVsZDZU&expire=1349736707&factor=1.25&fexp=922401%2C920704%2C912806%2C900711%2C913546%2C913556%2C925109%2C919003%2C920201%2C912706%2C900816&id=ee88421fc6a3f768&ip=90.84.144.49&ipbits=8&itag= 34&keepalive=yes&key=yt1&ms=au&mt=1349713452&mv=m&newshard=yes& range=12472320-14254079 &signature=84690C3B43F6FFBDD69E0E7009D0A6436946D642.904ADA59891696B5D1411665853784438D9E35D4&source=youtube&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cid%2Cip%2Cipbits%2Citag%2Csource%2Cupn%2Cexpire&sver=3&upn= fc55lw1im0s HTTP/1.1

4

2 回答 2

0

这类事情没有文档,从开发人员的角度来看,视频流通常被认为是“黑匣子”。

于 2012-10-11T14:54:27.403 回答
0

对于您的问题,请参阅此线程

Youtube 流媒体作品提供由范围参数控制的 1.7MB 块片段,表示 [开始字节]-[结束字节]。

我也在这里质疑类似的问题。

于 2013-01-16T22:27:56.923 回答