What's the better way to optimise video file size in android programmatically? -
i want reduce size of video file less 25mb. there way achieve without using third party library?
you can mp4parser library. have @ shortenexample
name suggests. since library cannot re-encode video can cut video @ i-frames. points in time can make cut quite coarse.
on android 4.1 can access hardware codecs via mediacodec api option (but haven't seen example of yet)
or, can use class: trimvideoutils.java
Comments
Post a Comment