Vimeo视频解析API接口

发布于 / 教程 / 0 条评论

这是一枚解析Vimeo视频真实地址的API接口,可以获取视频真实播放地址及部分视频信息。

此接口由代理服务器处理,可能解析速度比较慢。

预览&测试

https://parse.lylares.com/

接口地址


https://api-cn.berryapi.net/video/vimeo/

接口使用

需要BerryAPI的AppKey授权。

请求参数

  1. AppKey:BerryAPI申请
  2. url:Vimeo视频地址

请求示例


https://api-cn.berryapi.net/video/vimeo/?AppKey={$AppKey}&url={$url}

返回示例


{
    "cdn_url": "https://f.vimeocdn.com",
    "vimeo_api_url": "api.vimeo.com",
    "request": {
        "files": {
           ...
            "progressive": [
                {
                    "profile": 174,
                    "width": 1280,
                    "mime": "video/mp4",
                    "fps": 29,
                    "url": "https://fpdl.vimeocdn.com/vimeo-prod-skyfire-std-us/01/676/9/228381418/804342341.mp4?token=1537761966-0x7300b372b4085deee8081d5fc19a9b37988be422",
                    "cdn": "fastly",
                    "quality": "720p",
                    "id": 804342341,
                    "origin": "gcs",
                    "height": 720
                },
                {
                    "profile": 164,
                    "width": 640,
                    "mime": "video/mp4",
                    "fps": 29,
                    "url": "https://fpdl.vimeocdn.com/vimeo-prod-skyfire-std-us/01/676/9/228381418/804342338.mp4?token=1537761966-0x4e4b0b1532f5bc98dd8a4f844b995ee91a106ace",
                    "cdn": "fastly",
                    "quality": "360p",
                    "id": 804342338,
                    "origin": "gcs",
                    "height": 360
                },
                {
                    "profile": 175,
                    "width": 1920,
                    "mime": "video/mp4",
                    "fps": 29,
                    "url": "https://fpdl.vimeocdn.com/vimeo-prod-skyfire-std-us/01/676/9/228381418/804342331.mp4?token=1537761966-0xeb72c20982a85b6478ef11fd8a860434d65c9133",
                    "cdn": "fastly",
                    "quality": "1080p",
                    "id": 804342331,
                    "origin": "gcs",
                    "height": 1080
                },
                {
                    "profile": 165,
                    "width": 960,
                    "mime": "video/mp4",
                    "fps": 29,
                    "url": "https://fpdl.vimeocdn.com/vimeo-prod-skyfire-std-us/01/676/9/228381418/804342327.mp4?token=1537761966-0xdc6a4623aefea30761d05c750002bd82c534efa8",
                    "cdn": "fastly",
                    "quality": "540p",
                    "id": 804342327,
                    "origin": "gcs",
                    "height": 540
                }
            ]
        },
     ...
    ...
}

定制开发

接受各种定制开发,微信咨询:

前往查看

赞助支持

转载原创文章请注明,转载自: LYLARES BLOG » Vimeo视频解析API接口

Not Comment Found