【发布时间】:2014-10-16 10:01:40
【问题描述】:
我以相同的帧速率和分辨率录制了多个视频。我想将两个视频合并为一个视频,因此结果文件将是大视频。 我正在使用 MP4 解析器 api 并使用以下代码 -
Movie countVideo = new MovieCreator().build(Channels.newChannel(MuxExample.class.getResourceAsStream("/count-video.mp4")));
Movie countAudioDeutsch = new MovieCreator().build(Channels.newChannel(MuxExample.class.getResourceAsStream("/count-deutsch-audio.mp4")));
Movie countAudioEnglish = new MovieCreator().build(Channels.newChannel(MuxExample.class.getResourceAsStream("/count-english-audio.mp4")));
并使用 jar isoviewer-1.0-RC-35.jar。但它给出了错误-
Movie countVideo = new MovieCreator().build(Channels.newChannel(MuxExample.class.getResourceAsStream("/count-video.mp4")));
在构建方法中。上面写着The method build(String) in the type MovieCreator is not applicable for the arguments (FileChannel)
jar 是否有任何问题。所以我必须使用哪个 jar。 或任何其他方式来做到这一点。 请帮我解决这个问题。
【问题讨论】:
-
也请检查此链接 - stackoverflow.com/questions/26404051/…
-
您的问题解决了吗?