Transcoder
Transcoder copied to clipboard
Slow cropping to 1:1 aspect ratio
I'm cropping a 90 seconds video with 19201080 resolution to a 10801080 video. It takes 50 seconds, is there any way to boost this?
This is the code I'm using:
val strategy = DefaultVideoStrategy.Builder()
.addResizer(AspectRatioResizer(1F / 1F)).build()
Transcoder.into(videoName)
.setVideoTrackStrategy(strategy)
.setListener(listener)
.addDataSource(sourcePath)
.transcode()