light_compressor icon indicating copy to clipboard operation
light_compressor copied to clipboard

The color of video change after compressing

Open nguyenxuankiet262 opened this issue 1 year ago • 0 comments

I face this issue after compressing video then put it in video player, the color of video changed (Please check image_2) The color of video saved in my album device is still okay (Please check image_1) I don't know this issue belong to light_compressor or video_player library I used to try to use another library video_compress and the color video was correct

This is my code

var response = await _lightCompressor.compressVideo(
   path: path,
   videoQuality: VideoQuality.very_high,
   video: Video(videoName: "${DateTime.now().millisecondsSinceEpoch}"),
   isMinBitrateCheckEnabled: false,
   android: AndroidConfig(isSharedStorage: false),
   ios: IOSConfig(saveInGallery: true),
 );

Btw this is very good library. image_1 image_2

nguyenxuankiet262 avatar Dec 28 '23 10:12 nguyenxuankiet262