Commit a9d60aaa1848abeff314332e3052dc50ec1933b4

Authored by liwei2917
1 parent 926a65d2

测试

src/main/java/com/cnlive/shenhe/api/VideosControllerApi.java
... ... @@ -199,8 +199,8 @@ public class VideosControllerApi {
199 199 attach.put("duration", video.getDuration());
200 200 }else{
201 201 if(video.getDuration()>4){//“目击者”视频时间大于4秒
202   - attach.put("interval", 1);//间隔 单位s
203   - attach.put("num", video.getDuration()/1);//覆盖转码服务的默认抽帧图数量
  202 + attach.put("interval", 2);//间隔 单位s
  203 + attach.put("num", video.getDuration()/2);//覆盖转码服务的默认抽帧图数量
204 204 attach.put("duration", video.getDuration());
205 205 // attach.put("strategy", 1);//是否从头抽到尾(1:是,优先级大于num)
206 206 }else{
... ...