rurico / flutter_video_compress

Generate a new file by compressed video, and provide metadata. Get video thumbnail from a video path, supports JPEG/GIF. To reduce app size not using FFmpeg in IOS.
MIT License
189 stars 73 forks source link

[Bug] After compressed, width and height is upside down. #73

Open ghost opened 4 years ago

ghost commented 4 years ago

As the title said.

final info = await _flutterVideoCompress.compressVideo(
  file.path,
  quality: VideoQuality.DefaultQuality, // default(VideoQuality.DefaultQuality)
  deleteOrigin: false, // default(false)
);

print("🐛-----width: ${info.width}  height: ${info.height}");
khanhuitse05 commented 2 years ago

It's a feature. not bug. It fixes my video orientation.