public class VideoUtils extends Object
public static void rotateVideo(String inputPath, String outputPath, int angle, String format, int videoCodec) throws FFmpegFrameRecorder.Exception, FFmpegFrameGrabber.Exception
inputPath - 输入视频路径outputPath - 输出视频路径angle - 旋转角度format - 视频格式videoCodec - 视频编码器FFmpegFrameRecorder.ExceptionFFmpegFrameGrabber.ExceptionCopyright © 2025. All rights reserved.