jonataslaw / VideoCompress

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

Video Compress returns null value #193

Open tejaswinidev24 opened 2 years ago

tejaswinidev24 commented 2 years ago

Flutter (Channel stable, 3.0.5, on macOS 12.2.1) Dart version 2.17.6

video_compress: 3.1.1

await VideoCompress.setLogLevel(0); final MediaInfo? mediaInfo = await VideoCompress.compressVideo( videoFile.path, quality: Platform.isIOS ? VideoQuality.MediumQuality : VideoQuality.LowQuality, deleteOrigin: true, includeAudio: true, );

Please let me know, how can I get compressed video file path

hatemragab commented 2 years ago

+1

LevelMaxBR commented 2 years ago

I'm having exactly the same problem! Did you find any solution?

nixrajput commented 2 years ago

Getting the same error, but it's working fine with includeAudio option false.

var info = await VideoCompress.compressVideo(
    videoFile.path,
    deleteOrigin: false,
    includeAudio: false,
    quality: VideoQuality.DefaultQuality,
);

Has anyone solved this issue??

jomch commented 2 years ago

Me too.

PaulBout1 commented 2 years ago

see PR: https://github.com/jonataslaw/VideoCompress/pull/189

hmbadhon commented 2 years ago

i'm getting this problem for non-mp4 video format, if i change includeAudio to false then it works but i need the audio also. any solution yet? But everything working fine for .mp4 format video.

omateuscastro commented 2 years ago

Me too.

bbalachandhar commented 2 years ago

for me its not even working for android, I changed the file formats and made all the params available but no luck. its always returns null from my android device but its working fine in iPhone. buggy plugin.

PRBaraiya commented 1 year ago

Hi, Is there any progress on this issue? I'm facing this issue in Android 10 devices only. I'm using video_compress: 3.1.1

dawarepramod4 commented 1 year ago

same problem

abdulhannan123 commented 1 year ago

i'm getting this problem for non-mp4 video format, if i change includeAudio to false then it works but i need the audio also. any solution yet? But everything working fine for .mp4 format video.

I also need audio and getting null value. Did you find any solution?

Junesui commented 1 year ago

same problem

aggeloskoutanis commented 1 year ago

same problem here