jonataslaw / jonataslaw/VideoCompress

How to check the selected video is compressed or not

Open
#151 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
262
Forks
344
PR merge metrics
No merged PRs in 30d

Description

**I want to upload video without compressing, if the video is alrady compressed.**

I want to upload a video from local storage to server

dependancy : video_compress: ^3.1.0

I used to compress video with video_compress: ^3.1.0 package. Its working perfectly. But, when i upload a compressed video again it takes more time to compress. So i want to upload without compressing, if the video is alrady compressed.

here is my code to compress a video

MediaInfo mediaInfo = await VideoCompress.compressVideo(
result.files.single.path,
quality: VideoQuality.LowQuality,
deleteOrigin: false, // It's false by default
);

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.