Android - 将图像文件合并到电影中(但不使用 JMF)
我想编写一个应用程序,将多个图像合并到 Android 上的电影中。 JMF 有一个基本实现(JpegImagesToMovie)。但是,Dalvik 不支持 JMF。
我可以使用替代库吗?或者,如果没有可用的图书馆,是否有人对我需要研究以实现自己的目标有任何指示。
Rgds,凯文。
I'd like to write an app that merges multiple images into a movie on Android. JMF has a basic implementation (JpegImagesToMovie). But, JMF isn't supported on Dalvik.
Is there an alternative library that I can use for this ? Or if there is no library available, does anyone have any pointers for what I need to research to implement myself.
Rgds, Kevin.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道有任何纯 Java 视频编码器,并且 Android 中的内置视频编码器似乎仅限于仅从相机捕获视频,而不是自定义输入源。
您可以考虑编写一个多部分 JPEG(非常罕见但得到良好支持)编写器,甚至是一个 MJPEG(许多数码相机使用)编码器。
I'm not aware of any pure-Java video encoders, and the built-in video encoder in Android appears to be limited to capturing video from the camera alone, rather than a custom input source.
You could look at writing a multi-part JPEG (quite rare but well supported) writer, or even an MJPEG (used by many digicams) encoder.