HarmonyOS fluttertpc_video_compress报错

VideoCompress.getMediaInfo(file.path) 报错,解析错误。

Unhandled Exception: type '_Map<Object?, Object?>' is not a subtype of type 'String?' in type cast
07-24 16:38:31.262   6548-6573    A00000/XComFlutterEngine       xxx E     #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:315)
07-24 16:38:31.262   6548-6573    A00000/XComFlutterEngine       xxx E     <asynchronous suspension>
  07-24 16:38:31.262   6548-6573    A00000/XComFlutterEngine       xxx E     #1      Compress._invoke (package:video_compress/src/video_compress/video_compressor.dart:41)
07-24 16:38:31.262   6548-6573    A00000/XComFlutterEngine       xxx E     <asynchronous suspension>
  07-24 16:38:31.262   6548-6573    A00000/XComFlutterEngine       xxx E     #2      Compress.getMediaInfo (package:video_compress/src/video_compress/video_compressor.dart:103)
07-24 16:38:31.262   6548-6573    A00000/XComFlutterEngine       xxx E     <asynchronous suspension>
HarmonyOS
2024-12-25 18:21:40
浏览
收藏 0
回答 1
待解决
回答 1
按赞同
/
按时间
fox280
分享
微博
QQ
微信
回复
2024-12-25 20:25:10
相关问题
HarmonyOS Video组件问题
2072浏览 • 1回复 待解决
HarmonyOS 系统Video问题
985浏览 • 1回复 待解决
HarmonyOS Video播放失败
906浏览 • 1回复 待解决
HarmonyOS video视频问题
872浏览 • 1回复 待解决
HarmonyOS Video组件相关问题
1678浏览 • 1回复 待解决
HarmonyOS 使用Video组件问题
1444浏览 • 1回复 待解决
HarmonyOS Video控件隐藏操作栏
946浏览 • 1回复 待解决
HarmonyOS video如何横屏播放?
1360浏览 • 1回复 待解决
HarmonyOS 关于video组件的问题
1246浏览 • 1回复 待解决
HarmonyOS Video 怎么添加请求头?
1239浏览 • 2回复 待解决
video requestFullscreen 全屏问题
1909浏览 • 1回复 待解决
HarmonyOS video设置加载图闪屏
1180浏览 • 1回复 待解决
HarmonyOS Video组件与Slider组件联动
1178浏览 • 1回复 待解决
如何移除页面上Video组件
2884浏览 • 1回复 待解决
HarmonyOS 有RN Video组件的封装吗?
1416浏览 • 1回复 待解决
HarmonyOS Video组件的错误事件相关
1909浏览 • 1回复 待解决
HarmonyOS Video组件如何播放沙盒视频
1215浏览 • 1回复 待解决
HarmonyOS Video播放器,autoplay false黑屏
1119浏览 • 1回复 待解决
HarmonyOS video组件stop和reset的区别?
1209浏览 • 1回复 待解决
HarmonyOS Video组件的全屏是怎么实现的
1122浏览 • 1回复 待解决
HarmonyOS Video组件能否设置自定义header
1359浏览 • 1回复 待解决