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

compressed video is null #16

Closed
kamami opened this issue May 23, 2019 · 5 comments
Closed

compressed video is null #16

kamami opened this issue May 23, 2019 · 5 comments
Labels
bug Something isn't working

Comments

@kamami
Copy link

kamami commented May 23, 2019

I am trying to compress a video file and return the new compressed file, but following code prints NULL both times:

   final MediaInfo newPath = await _flutterVideoCompress.startCompress(
    widget.videoFile.path,
    deleteOrigin: true,
  );

  setState(() {
    video = newPath.file;
  });

   print("${newPath.file}");
   print("$video");
@rurico rurico added the testing testing label May 23, 2019
@rurico
Copy link
Owner

rurico commented May 23, 2019

Is this question related to the overlay file mentioned in #14?

@kamami
Copy link
Author

kamami commented May 23, 2019

@TenkaiRuri no it is an independet issue I found while testing. Does not work whether recording a video or picking one from the gallery.

@rurico
Copy link
Owner

rurico commented May 23, 2019

can you provide a minimal repo?

@kamami
Copy link
Author

kamami commented May 23, 2019

This minimal repo is working for me and shows the issue:

https://github.com/kamami/Compress.git

@rurico rurico added bug Something isn't working and removed testing testing labels May 24, 2019
rurico added a commit that referenced this issue May 24, 2019
rurico added a commit that referenced this issue May 24, 2019
@rurico rurico closed this as completed May 24, 2019
@rurico
Copy link
Owner

rurico commented May 24, 2019

I forgot model definition 😂

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

2 participants