limin 7 年之前
父节点
当前提交
4fe7e31db4
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      src/main/java/com/goafanti/admin/controller/AdminVideoApiController.java

+ 0 - 5
src/main/java/com/goafanti/admin/controller/AdminVideoApiController.java

@@ -135,13 +135,10 @@ public class AdminVideoApiController extends CertifyApiController {
 		
 		video.setTranscoding(1);
 		// 保存到数据库
-		System.out.println("//*/*/*/*");
 		result.setData(adminVideoService.insertVideo(video));
-		System.out.println("================//*/*/*/*");
 
 		// 压缩视频并将视频
 		videoChange(filename, output, video.getUrl());
-		System.out.println("2222222================//*/*/*/*");
 		
 		return result;
 	}
@@ -194,7 +191,6 @@ public class AdminVideoApiController extends CertifyApiController {
 		FFmpegProbeResult in = ffprobe.probe(input);
 
 		FFmpegBuilder builder = new FFmpegBuilder();
-		System.out.println("333333333333asdagjdgajgdj");
 		builder.setInput(in) // 输入文件
 				.overrideOutputFiles(true) // 覆盖重复文件
 				.addOutput(output) // 输出文件
@@ -210,7 +206,6 @@ public class AdminVideoApiController extends CertifyApiController {
 				.setStrict(FFmpegBuilder.Strict.EXPERIMENTAL) // 严格形式
 				.done();
 
-		System.out.println("444444444444444444asdagjdgajgdj");
 		FFmpegExecutor executor = new FFmpegExecutor(ffmpeg, ffprobe);
 		ExecutorService service = Executors.newCachedThreadPool();
 		// 3.直接new一个FutureTask