SiliCompressor icon indicating copy to clipboard operation
SiliCompressor copied to clipboard

Silicompressor compress video results with no sound

Open rotiMANNA opened this issue 3 years ago • 6 comments

I am using buildgradle in android studio as follows:

buildscript { repositories { google() mavenCentral() } dependencies { //classpath "com.android.tools.build:gradle:7.0.1" classpath 'com.android.tools.build:gradle:4.2.2' //classpath 'com.google.gms:google-services:4.3.8'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}

}

task clean(type: Delete) { delete rootProject.buildDir } dependencies: implementation 'com.googlecode.mp4parser:isoparser:1.1.22' implementation 'com.iceteck.silicompressorr:silicompressor:2.2.4'

in doInBackground: videoPath = SiliCompressor.with(MainActivity.this).compressVideo(uri, strings[2]);

results: a compressed video with no sound !

Thanks for every one who can help me to solve this problem...

rotiMANNA avatar Sep 21 '21 09:09 rotiMANNA

This combination worked for me:

implementation 'com.iceteck.silicompressorr:silicompressor:2.2.3'
implementation ('com.googlecode.mp4parser:isoparser:1.0.6') {
         exclude group: 'org.aspectj', module: 'aspectjrt' 
}

UrbanFercec avatar Oct 09 '21 08:10 UrbanFercec

any latest update?

ssubhodeep avatar Apr 07 '22 12:04 ssubhodeep

any latest update?

Waiting for any solution

Phirke avatar Apr 04 '23 07:04 Phirke

Waiting for any solution

jpaulolxm avatar Aug 14 '23 16:08 jpaulolxm

The solution given by @UrbanFercec works for me. Use this for your dependency.

implementation 'com.iceteck.silicompressorr:silicompressor:2.2.3' implementation ('com.googlecode.mp4parser:isoparser:1.0.6') { exclude group: 'org.aspectj', module: 'aspectjrt' }

etineh avatar Feb 28 '24 12:02 etineh