Tourenathan-G5organisation / SiliCompressor

A powerful, flexible and easy to use Video and Image compression library for Android.
Apache License 2.0
1.39k stars 292 forks source link

Silicompressor compress video results with no sound #171

Open rotiMANNA opened 3 years ago

rotiMANNA commented 3 years ago

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...

UrbanFercec commented 3 years ago

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' 
}
ssubhodeep commented 2 years ago

any latest update?

Phirke commented 1 year ago

any latest update?

Waiting for any solution

jpaulolxm commented 1 year ago

Waiting for any solution

etineh commented 9 months ago

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' }

yosefi1988 commented 3 months ago

hi The solution given by @UrbanFercec works for me too راه حل این دوستمون برای من هم کار کرد