English 中文(简体)
Youtube 调试信息字段细节
原标题:Youtube debug info field details

我只是在 Youtube 视频细节上做一个 r& 。 当我们在 Youtube 播放视频时, 如果点击对了, 那么我们可以看到一个叫做 < em> exby debug info < / em > 的选项。 如果我们复制了这个选项, 那么下面有很多字段, 我非常想知道下面这些字段的细节 。

{
  "ns": "yt",
  "el": "detailpage",
  "cpn": "TA1LSqRVROm9Q2rb",
  "docid": "tPDj7FhbUso",
  "ver": 2,
  "referrer": "https://www.youtube.com/feed/history",
  "cmt": "208.944",
  "ei": "Ups5X-iDO8ng4-EP7o6KwAg",
  "fmt": "247",
  "fs": "0",
  "rt": "151.471",
  "of": "yuFWq23SkzutVGx461bO4g",
  "euri": "",
  "lact": 7,
  "cl": "326301777",
  "mos": 0,
  "state": "4",
  "vm": "CAEQARgEKiBsUmpoTXRxc1czUTVHZ2RJbmktOXBNdnY3X3JnV3ItNjoyQUdiNlo4T3BuV0tmTXhwbW5wWDZjUDA3X3JPYU5PXzVSd1Bha2szZE9jNEhCY0ZQTkE",
  "volume": 100,
  "subscribed": "1",
  "cbr": "Chrome",
  "cbrver": "84.0.4147.125",
  "c": "WEB",
  "cver": "2.20200814.00.00",
  "cplayer": "UNIPLAYER",
  "cos": "Macintosh",
  "cosver": "10_15_6",
  "hl": "en_US",
  "cr": "IN",
  "len": "268.121",
  "fexp": "23744176,23804281,23839597,23856950,23857950,23858057,23859802,23862346,23868323,23880389,23882502,23883098,23884386,23890960,23895671,23900945,23907595,23911055,23915993,23916148,23918272,23918598,23927906,23928508,23930220,23931938,23934047,23934090,23934970,23936412,24631210,3300107,3300133,3300161,3313321,3316358,3316377,3317374,3317643,3318816,3318887,3318889,3319024,9405957,9449243",
  "afmt": "251",
  "inview": "NaN",
  "vct": "208.944",
  "vd": "268.121",
  "vpl": "207.000-208.944",
  "vbu": "204.000-268.121",
  "vpa": "1",
  "vsk": "0",
  "ven": "0",
  "vpr": "1",
  "vrs": "4",
  "vns": "2",
  "vec": "null",
  "vemsg": "",
  "vvol": "1",
  "vdom": "1",
  "vsrc": "1",
  "vw": 1159,
  "vh": 652,
  "creationTime": 158827.80500000808,
  "totalVideoFrames": 128,
  "droppedVideoFrames": 0,
  "corruptedVideoFrames": 0,
  "lct": "208.944",
  "lsk": false,
  "lmf": false,
  "lbw": "993748.652",
  "lhd": "0.057",
  "lst": "0.000",
  "laa": "itag=251,type=3,seg=26,range=3299085-3408885,time=260.0-268.1,off=0,len=109801,end=1,eos=1",
  "lva": "itag=247,type=3,seg=53,range=17411843-17472031,time=264.0-268.1,off=0,len=60189,end=1,eos=1",
  "lar": "itag=251,type=3,seg=26,range=3299085-3408885,time=260.0-268.1,off=0,len=109801,end=1,eos=1",
  "lvr": "itag=247,type=3,seg=53,range=17411843-17472031,time=264.0-268.1,off=0,len=60189,end=1,eos=1",
  "lab": "200.001-268.121",
  "lvb": "204.000-268.080",
  "ismb": 3000000,
  "relative_loudness": "-5.140",
  "optimal_format": "720p",
  "user_qual": "auto",
  "debug_videoId": "tPDj7FhbUso",
  "0sz": false,
  "op": "",
  "yof": false,
  "dis": "",
  "gpu": "Intel(R)_UHD_Graphics_630",
  "cgr": true,
  "debug_playbackQuality": "hd720",
  "debug_date": "Mon Aug 17 2020 02:19:46 GMT+0530 (India Standard Time)"
}

举例来说, Docid 归档是用Youtube 的视频 Id 已知的。 就像我想知道其他细节一样。 如果有人能帮我的话, 那太好了 。

问题回答

我怀疑是否有一个简单的方法做到这一点 - (AFAIK,没有YouTube数据API披露这些值) ,但是,如果你真的想要检查,你可以输入 view-source:https://www.youtube.com/watch?vlt;VIDEO_ID> -YouTube视频的代号是哪里

copy debuginfo - 中获得了一些数值,但并非所有数值,我都会仔细研究。





相关问题
mysql - store embed codes (youtube, vimeo etc)

How best to store the html for embedding? the only ways I can think of are: take the embed html and add <?php echo $var1; ?> where the id s go then store it in the db and use Eval to execute ...

openURL and YouTube

Is there any way to open the YouTube app from my app, with a defined search query? If not, is there a way to just open YouTube, without playing any video? All I m finding is ways to play videos.

emulating iPhone video player behaviour

I need to debug a networking application which handles video downloaded by iPhone from Youtube. iPhone downloads chunks of video by requesting each time a different file range (by adding Content-Range ...

Uploading video using the YouTube API via Flash AS3

I m trying to work out how to upload videos to YouTube using the api from flash. There seems to be libraries available for doing this with php, ruby, java etc. but not AS3. Can anyone point me in the ...

Curl setting Content-Type incorrectly

I am running a curl operation on the command line and am having trouble forcing the header to set as XML. I use the -H option to force the Content-Type to be xml, however, once I run the command I can ...

热门标签