skip to Main Content

I’m working on a Flutter project where I need to compress videos, but I’m encountering an error:

i’m using video compression plus version 1.0.0

I/flutter (26438): Video compression returned null. Possible reason: Compression library issue or unsupported video format.
V/OppoMediaMetadataRetriever(26438): closeFd()
V/OppoMediaMetadataRetriever(26438): mFd is valid, close it.
...
I/flutter (26438): Error uploading video: Exception: Video compression failed after multiple attempts.

I’ve tried:

I’ve checked the video format and ensured the compression library is correctly integrated. Despite these checks, the issue persists.

2

Answers


  1. you can use pub.dev plugin video_compress: 3.1.3 for video compress.

    Login or Signup to reply.
  2. We certainly can do nothing unless you post the log in detail.

    Also see: https://stackoverflow.com/a/78877997/8322843, hope it will help.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search