Commit 926a65d24cfd543e431ecf54bc2fafafd230b627

Authored by liwei2917
1 parent 1a266507

测试

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", 4);//间隔 单位s
203   - attach.put("num", video.getDuration()/4);//覆盖转码服务的默认抽帧图数量
  202 + attach.put("interval", 1);//间隔 单位s
  203 + attach.put("num", video.getDuration()/1);//覆盖转码服务的默认抽帧图数量
204 204 attach.put("duration", video.getDuration());
205 205 // attach.put("strategy", 1);//是否从头抽到尾(1:是,优先级大于num)
206 206 }else{
... ...