jonataslaw / VideoCompress

Compress videos, remove audio, manipulate thumbnails, and make your video compatible with all platforms through this lightweight and efficient library.
MIT License
231 stars 280 forks source link

no find [remove audio] method #212

Open wengxianxun opened 1 year ago

wengxianxun commented 1 year ago

no find [remove audio] method ?

marinaaraujo97 commented 1 year ago

Assuming you want to not include the audio of the video you are compressing, I believe the property is called includeAudio

Example as it follows:

 final info = await VideoCompress.compressVideo(
            _file.path,
            quality: VideoQuality.DefaultQuality
            deleteOrigin: false,
            includeAudio: false // i also believe the default of this property is already false
            );

Hope it helped

wengxianxun commented 1 year ago

假设您不想包含正在压缩的视频的音频,我相信该属性称为includeAudio

示例如下:

 final info = await VideoCompress.compressVideo(
            _file.path,
            quality: VideoQuality.DefaultQuality
            deleteOrigin: false,
            includeAudio: false // i also believe the default of this property is already false
            );

希望对您有所帮助

hi, how to conversion format