public String compressVideo ( String videoFilePath , String destinationDir ) throws URISyntaxException { return compressVideo ( videoFilePath , destinationDir , 0 , 0 , 0 ) ; }
Perform background video compression . Make sure the videofileUri and destinationUri are valid resources because this method does not account for missing directories hence your converted file could be in an unknown location This uses default values for the converted videos