我正在尝试使用视频/转换/列表端点来检索贡献给JW平台的原始媒体文件。我从服务器获得了成功的响应,对于某些转换,我得到了有效的(就绪)//转换/链接(协议,地址和路径)。但是,我真正想要的是最初上传的全分辨率视频。我以为是name ='original'的转换。该转换连同合理的外观属性一起显示在返回的JSON中,但是当我在浏览器的URL行中输入该路径时,会得到404(未找到)结果。我应该使用其他方法来检索原始文件吗?注意:我真的很想要原始照片,我不想在网上进行流传输,我只想将其原样取回以作其他用途。
这里有一些返回的JSON显示了原始内容...
{
"conversions":[
{
"status":"Ready",
"template":{
"required":true,
"format":{
"name":"Original",
"key":"original"
},
"id":28128341,
"key":"A6RS048v",
"name":"Original"
},
"mediatype":"video",
"height":720,
"width":1280,
"link":{
"path":"/originals/egg56CrQ",
"protocol":"http",
"address":"content.jwplatform.com"
},
"filesize":"106379251",
"key":"lN03C3R0",
"duration":"136.88"
},
...
我原本希望这条路 http://content.jwplatform.com/originals/egg56CrQ检索了文件,但我却得到了404
Lower down in the returned JSON, there are other conversions. Here's
one example...
{
"status":"Ready",
"template":{
"required":true,
"format":{
"name":"H.264 Baseline",
"key":"mp4"
},
"id":28128342,
"key":"WPJEX0X5",
"name":"180p"
},
"mediatype":"video",
"height":180,
"width":320,
"link":{
"path":"/videos/egg56CrQ-WPJEX0X5.mp4",
"protocol":"http",
"address":"content.jwplatform.com"
},
...
When I extract from here the path
http://content.jwplatform.com/videos/egg56CrQ-WPJEX0X5.mp4
Then I do get the desired result.
因此,显然只有“原始”文件未返回。我应该使用另一种方法吗?