Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compression hangs #7

Closed
jawadt1 opened this issue May 5, 2019 · 9 comments
Closed

Compression hangs #7

jawadt1 opened this issue May 5, 2019 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@jawadt1
Copy link

jawadt1 commented May 5, 2019

Hi
Im having trouble getting a video to compress after I have already compressed one. I compress one video and it works fine but the second seems to hang and never returns from the await. I'm doing it like this

final String newPath = await _flutterVideoCompress.compressVideo(path: file.path, deleteOrigin: true);

Would you please be able to help me

Thanks
Jawad

@lanjiachuan

This comment has been minimized.

@jawadt1

This comment has been minimized.

@lanjiachuan

This comment has been minimized.

@jawadt1

This comment has been minimized.

@lanjiachuan

This comment has been minimized.

@jawadt1

This comment has been minimized.

@rurico rurico added the bug Something isn't working label May 5, 2019
@rurico rurico self-assigned this May 5, 2019
@rurico
Copy link
Owner

rurico commented May 6, 2019

Can you provide further information?

@febg11
Copy link

febg11 commented May 11, 2019

I am experiencing the same problem. I choose a video from the gallery, then i choose another one and it never finishes compressing.
The logs it hangs on are these
D/FFmpeg (14746): Build.CPU_ABI : arm64-v8a
D/FFmpeg (14746): ffmpeg is ready!
D/FFmpeg (14746): Running publishing updates method

The videos aren't large, around 20mb and when i close the app and compress the same video it works.

@rurico rurico closed this as completed May 11, 2019
@febg11
Copy link

febg11 commented May 11, 2019

Has this been fixed in a new version?

rurico added a commit that referenced this issue May 12, 2019
… start Compress api add whether to cancel the parameter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants