Jay Patel

Results 6 comments of Jay Patel

Hello @a914-gowtham I am using this library but I am facing the issue with the android 12 device Samsung A52 video is getting stretched after the Can you please help...

TrimVideo.activity(fileUri.toString()) .setTrimType(TrimType.MIN_MAX_DURATION) .setMinToMax(15.toLong(), 60.toLong()) .setCompressOption( CompressOption().apply { frameRate = 30 bitRate = 1M width = 420 height = 360 } ) .start(this, startForResult)

Sure Let me do it and then give you the update

@a914-gowtham The above code is working fine but the problem with the code is when I record the video of 59 seconds the size of the trimmed video will remain...

Thanks for the code, I have checked the above code but again the video is stretched. even tried different alternations with the width and height but still the same.

Hello @a914-gowtham I have applied the below code and the video is not stretched in the android 11 Samsung A50 device but it's stretched in the android 12 Samsung A52...