israel-fl/bitmap2video

Customization

Closed this issue · 1 comments

how do I set custom video size and output path?

Found
AvcEncoderConfig(final String path, final int width, final int height, final float framesPerSecond, final int bitRate)
usage
mEncoderConfig = new AvcEncoderConfig("/sdcard/video.mp4", 500, 500, 15, 2000000);