prepareVideo
Return
true if success, false if you get a error (Normally because the encoder selected doesn't support any configuration seated or your device hasn't a H264 encoder).
Parameters
to video MP4 file.
H264 in bps.
codec value from MediaCodecInfo.CodecProfileLevel class
codec value from MediaCodecInfo.CodecProfileLevel class
Throws
Normally file not found.
Return
true if success, false if you get a error (Normally because the encoder selected doesn't support any configuration seated or your device hasn't a H264 encoder).
Parameters
to video MP4 file.
H264 in bps.
codec value from MediaCodecInfo.CodecProfileLevel class
codec value from MediaCodecInfo.CodecProfileLevel class
Throws
Normally file not found.
Return
true if success, false if you get a error (Normally because the encoder selected doesn't support any configuration seated or your device hasn't a H264 encoder).
Parameters
Uri to video MP4 file.
H264 in bps.
codec value from MediaCodecInfo.CodecProfileLevel class
codec value from MediaCodecInfo.CodecProfileLevel class
Throws
Normally file not found.