Comments (3)
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.
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.
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)
- #Issue Could not find com.otaliastudios:transcoder:0.9.1. HOT 15
- Remove permission of external storage. Issue in uploading on playstore
- Running from isolate throws exception
- MissingPluginException(No implementation found for method compressVideo and getFileThumbnail on channel video_compress) HOT 1
- will you please provide OC version for me? HOT 1
- java.lang.IllegalArgumentException: could not access /data/user/0/com.example.test_compress/app_flutter/Trimmer/VID_20230725_163032_446_trimmed:Aug4,2023-17:32:10.mp4 HOT 1
- Could not find com.otaliastudios:transcoder:0.9.1 HOT 13
- Work with isolate
- Missing link to repo in pub.dev
- Add support for dart native HOT 1
- compression cancel
- Please add more compression options
- Support for Windows/Linux
- Plans for Implementing Privacy Manifest Support?
- Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (1.8) and 'compileDebugKotlin' (17). HOT 6
- Fatal error while transcoding, this might be invalid format or bug in engine or Android. VideoCompress HOT 1
- MissingPluginException(No implementation found for method setLogLevel on channel video_compress) HOT 4
- Compression progress never getting to 100 on iOS HOT 2
- Android issue
- Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from videocompress.