lyhzzz 7 bulan lalu
induk
melakukan
4936657294

+ 0 - 5
pom.xml

@@ -166,11 +166,6 @@
             <version>4.3.1</version>
         </dependency>
 
-            <dependency>
-                <groupId>org.bytedeco</groupId>
-                <artifactId>javacv-platform</artifactId>
-                <version>1.5.9</version>
-            </dependency>
 
     </dependencies>
 

+ 0 - 9
src/main/java/com/fdkankan/fusion/controller/TestController.java

@@ -19,7 +19,6 @@ import com.fdkankan.fusion.service.*;
 import com.fdkankan.redis.util.RedisUtil;
 import org.apache.commons.lang3.StringUtils;
 import org.apache.ibatis.annotations.Case;
-import org.bytedeco.javacv.FFmpegFrameGrabber;
 import org.springframework.beans.BeanUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.*;
@@ -113,12 +112,4 @@ public class TestController {
         return ResultData.ok();
     }
 
-    public static void main(String[] args) throws Exception{
-        String videoPath = "D:\\abc\\thread__30451767_20240914102646_57677_wz_transcode.mp4";
-        FFmpegFrameGrabber fFmpegFrameGrabber = new FFmpegFrameGrabber(videoPath);
-        fFmpegFrameGrabber.start();
-        int videoCodec = fFmpegFrameGrabber.getVideoCodec();
-        String videoCodecName = fFmpegFrameGrabber.getVideoCodecName();
-        System.out.println(videoCodec +":"+videoCodecName);
-    }
 }