MediaResizer
MediaResizer copied to clipboard
Resizeing image / video with very small effort written in Kotlin.
If video is big quality render will chop or skip frames? OP do you have any info on that?
I am trying with a video and get result nothing, the input video size is 17.58 MB and the output file size 0 byte. I also try this with the...
**Original Video: 1920 × 1080, H.264, AAC, Duration 2 min: 35secs , 90.4 MB** VideoResizeOption resizeOption = new VideoResizeOption.Builder() .setVideoResolutionType(VideoResolutionType.AS720) .setVideoBitrate(1000 * 1000) .setAudioBitrate(128 * 1000) .setAudioChannel(1) .setScanRequest(ScanRequest.TRUE) .build(); **Video...
goyavewifixtc, Android 4.4 java.lang.OutOfMemoryError: at android.graphics.BitmapFactory.nativeDecodeStream (Native Method) at android.graphics.BitmapFactory.decodeStreamInternal (BitmapFactory.java:749) at android.graphics.BitmapFactory.decodeStream (BitmapFactory.java:725) at android.graphics.BitmapFactory.decodeFile (BitmapFactory.java:460) at android.graphics.BitmapFactory.decodeFile (BitmapFactory.java:498) at pyxis.uzuki.live.richutilskt.utils.RichUtils__RBitmapKt.getBitmap (RBitmap.kt:22) at pyxis.uzuki.live.richutilskt.utils.RichUtils.getBitmap (Unknown Source) at pyxis.uzuki.live.mediaresizer.processor.ImageProcessorKt.resizeImageInternally (ImageProcessor.kt:36)...
i dont know how does work process() but i need to call process in a AsyncTask for running that process on background how do i do that ? or process...