Encode array of image objects to movie file
I have a array that is full of image objects, I need to be ab开发者_高级运维le to encode that array into a movie project. I have a Java server that I will use if needed, but I would prefer only having this client-side with JavaScript.
If you're talking about encoding into a standard format like H.264 or Web.M, then you should use your Java server and the bindings to FFmpeg or whatever your preferred video library is. Many JavaScript clients are not fast enough to encode video, and pre-existing software does not exist for this task. I'd think that Internet Explorer would be problematic in particular, because of how low it's interpreted JS engine is compared to the JIT compilers in projects like Gecko or Webkit.
@Just Jake is right: FFMPEG is very strong tool that allows to implement this task. But you have a pure java solution as weell. To implement it you need JMF - java media framework.
精彩评论