如何通过Java拆分视频文件

时间:2023-01-28 22:39:55

I wanna split a video file into several fragments which can be played individually. Is there any java library can be used in this situation? Or if Xuggle can be used, can anyone give me an simple example. Thanks

我想将视频文件分成几个可以单独播放的片段。在这种情况下是否可以使用任何java库?或者如果可以使用Xuggle,任何人都可以给我一个简单的例子。谢谢

1 个解决方案

#1


0  

A video file? There's quite a few video codecs, file formats. For a general solution try ffmpeg it's not a Java library but runs on all platforms.

一个视频文件?有很多视频编解码器,文件格式。对于一般解决方案,尝试ffmpeg它不是Java库,而是在所有平台上运行。

#1


0  

A video file? There's quite a few video codecs, file formats. For a general solution try ffmpeg it's not a Java library but runs on all platforms.

一个视频文件?有很多视频编解码器,文件格式。对于一般解决方案,尝试ffmpeg它不是Java库,而是在所有平台上运行。