AbedElazizShe / LightCompressor

A powerful and easy-to-use video compression library for android uses MediaCodec API.
Apache License 2.0
537 stars 116 forks source link

Audio Issue... #153

Closed Micoder-dev closed 1 year ago

Micoder-dev commented 1 year ago

while building this direct src code after compression there is no issue with audio, but if i try to use in new projects after compression there is no audio, even if i use "disableAudio = false," it dosen't works.

AbedElazizShe commented 1 year ago

Hi @Micoder-dev ,

Thank you for raising this issue. Please provide the following so I can invstigate the issue:

Micoder-dev commented 1 year ago

Hi @AbedElazizShe

Hey man thanks for your reply, i solved this issue, the issue is while using another lib 'com.github.AndroidDeveloperLB:VideoTrimmer:6' which is a video trimmer lib, in this lib there is a isoparser which is in version 1.1.22 and in your light compressor the isoparser is 1.0.6 so there is a confilict while using 2 libs at the same time not only this lib even if the i use any other lib which contains isopraser with latest or some other versions, (if you don't understand what i am saying you can just implement this com.github.AndroidDeveloperLB:VideoTrimmer:6 lib in light compressor project to check now the sound will not work) so i have modified the video trimmer lib version and now it resolved, i think most of the users stucks here to find the issue...! so please try to update the isoPraser version or any other ways to solve it! THANK YOU!