I have been using FFmpeg to do video transcode, it works but its very slow.
I have also tried the Intel Inde library but does not work on some Android phones I have tested.
Therefore I want to make use of the MediaCodec Api to transcode video.
I have read some sample codes from BigFlake, which helps me to gain some concept for the Api. However I still do not know how I can transcode a video file from one format to another.
I do not have experience working with codec, and the flow I think is:
Decode input video file(frame?) -> feed into encoder -> convert the
stream to a .MP4 file.
Appreciate if anyone can point me to the right direction.