在bilibili的缓存文件夹中发现了blv文件
猜测是flv文件改的,改后缀名为flv,可以播放
注意到有个index.json文件
内容是
{
"from":"vupload",
"type_tag":"lua.flv720.bili2api.64",
"description":"高清",
"is_stub":false,
"psedo_bitrate":0,
"segment_list":[
{
"url":"http://upos-hz-mirrorks3u.acgvideo.com/upgcxcode/12/42/37044212/37044212-1-64.flv?e=ig8euxZM2rNcNbRghwdVhwdlhWNVhwdVhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_&deadline=1551793770&gen=playurl&nbs=1&oi=1911981495&os=ks3u&platform=android&trid=29f9e205f4fb402d978dbe5adbb8bc6c&uipk=5&upsig=70126405a249ec0c34f25d7ccdc842de&uparams=e,deadline,gen,nbs,oi,os,platform,trid,uipk",
"duration":369339,
"bytes":110009101,
"meta_url":"",
"backup_urls":[
"http://upos-hz-mirrorcos.acgvideo.com/upgcxcode/12/42/37044212/37044212-1-64.flv?um_deadline=1551793770&platform=android&rate=1200000&oi=1911981495&um_sign=aa85dbd0a39eae02a6d43718f975e273&gen=playurl&os=cos&trid=29f9e205f4fb402d978dbe5adbb8bc6c"
]
},
{
"url":"http://upos-hz-mirrorks3u.acgvideo.com/upgcxcode/12/42/37044212/37044212-2-64.flv?e=ig8euxZM2rNcNbRghwdVhwdlhWNVhwdVhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_&deadline=1551793770&gen=playurl&nbs=1&oi=1911981495&os=ks3u&platform=android&trid=29f9e205f4fb402d978dbe5adbb8bc6c&uipk=5&upsig=7a5532cf469a899de5ffb901804f996b&uparams=e,deadline,gen,nbs,oi,os,platform,trid,uipk",
"duration":213867,
"bytes":63299409,
"meta_url":"",
"backup_urls":[
"http://upos-hz-mirrorcos.acgvideo.com/upgcxcode/12/42/37044212/37044212-2-64.flv?um_deadline=1551793770&platform=android&rate=1200000&oi=1911981495&um_sign=7c16aee3df04f27898934c17c663c482&gen=playurl&os=cos&trid=29f9e205f4fb402d978dbe5adbb8bc6c"
]
}
],
"parse_timestamp_milli":1551786570000,
"available_period_milli":3600000,
"local_proxy_type":0,
"user_agent":"Bilibili Freedoooooom/MarkII",
"is_downloaded":false,
"is_resolved":true,
"player_codec_config_list":[
{
"use_list_player":false,
"use_ijk_media_codec":false,
"player":"IJK_PLAYER"
},
{
"use_list_player":false,
"use_ijk_media_codec":false,
"player":"ANDROID_PLAYER"
}
],
"time_length":0
}
跟我之前在网页上找到的一个配置非常相似,记录了bilibili这个视频文件的组成,分段存储和下载
接下来的问题是如何把两个blv文件合并成一个flv文件