Question

I am trying to build a video system on android. I am using the sample provided by Qualcomm, which allows me to use openmax and do hardware-acceleration on Qualcomm customer device.

Anyway, this sample only generates .h264 file. So I am looking forword a good way to do the muxer work. I've used MediaMuxer before, but it supports system later than android4.3, so this doesn't work on this sample. (Qualcomm sample only support android4.2 and before)

Does anyone have any ideas? Thank you!

Was it helpful?

Solution

you can use ffmpeg. build ffmpeg for android, create jni wrapper and easily expose muxing functionality to java level

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top