Code Monkey home page Code Monkey logo

Comments (3)

hyobbb avatar hyobbb commented on July 21, 2024

I am having the same problem when includeAudio is false.

[VERBOSE-2:ui_dart_state.cc(177)] Unhandled Exception: Invalid argument(s) (path): Must not be null
#0      ArgumentError.checkNotNull (dart:core/errors.dart:194)
#1      _Directory._checkNotNull (dart:io/directory_impl.dart:276)
#2      new _File (dart:io/file_impl.dart:205)
#3      new File (dart:io/file.dart:250)
#4      new MediaInfo.fromJson (package:video_compress/src/media/media_info.dart:24)
#5      Compress.compressVideo (package:video_compress/src/video_compress/video_compressor.dart:158)

I also checked that filePath and ExistSync. It has no problem in Android.

from videocompress.

mrgnhnt96 avatar mrgnhnt96 commented on July 21, 2024

I am getting the same error. Its occuring in video_compressor.dart line 158. It is trying to convert json into the MediaInfo class. It is receiving only a string of "{"isCancel":false}".

With a little debugging I noticed that if I call await VideoCompress.cancelCompression(); it will not through the error and compress the video. However, when I call await VideoCompress.getFileThumbnail...) it just stops running without an errors.

from videocompress.

arashbi avatar arashbi commented on July 21, 2024

I have the same problem. The method Future<T> _invoke<T>(String name, [Map<String, dynamic> params]) async doesn't work properly it seems. It returns immediately with no good result

from videocompress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.