Android , Java - Rendering a video using bitmap frames to reverse a video (Xuggler)

后端 未结 2 377
野趣味
野趣味 2021-02-04 09:03

I am having no of video frames in ArrayList. I have accessed this frames using MediaMetadataRetriever.getFrameAtTime() method over a Vid

2条回答
  •  太阳男子
    2021-02-04 09:30

    You can use ffmpeg to assemble video from images. You can integrate ffmpeg in Java(Android) in a couple of ways (one being directly running it via

    Runtime.getRuntime().exec("ffmpeg ");

    ), but probably a good way to do it is via the Xuggler project - it heavily relies on ffmpeg. For starting point, here's a set of introduction tutorials and here's a complete tutorial how to encode video from sequence of images. It's a lot of work and reading, but all the information you need is there. Good luck!

提交回复
热议问题