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组件问题
1991浏览 • 1回复 待解决
HarmonyOS Video播放失败
841浏览 • 1回复 待解决
HarmonyOS 系统Video问题
894浏览 • 1回复 待解决
HarmonyOS video视频问题
831浏览 • 1回复 待解决
HarmonyOS Video控件隐藏操作栏
895浏览 • 1回复 待解决
HarmonyOS Video组件相关问题
1609浏览 • 1回复 待解决
HarmonyOS 使用Video组件问题
1360浏览 • 1回复 待解决
HarmonyOS video设置加载图闪屏
1111浏览 • 1回复 待解决
HarmonyOS video如何横屏播放?
1317浏览 • 1回复 待解决
HarmonyOS 关于video组件的问题
1145浏览 • 1回复 待解决
HarmonyOS Video 怎么添加请求头?
1148浏览 • 2回复 待解决
video requestFullscreen 全屏问题
1822浏览 • 1回复 待解决
如何移除页面上Video组件
2798浏览 • 1回复 待解决
HarmonyOS Video组件与Slider组件联动
1116浏览 • 1回复 待解决
HarmonyOS Video无法播放m3u8
2519浏览 • 1回复 待解决
HarmonyOS Video组件的全屏是怎么实现的
1053浏览 • 1回复 待解决
HarmonyOS Video组件能否设置自定义header
1298浏览 • 1回复 待解决
HarmonyOS video空间自定义控制器
1345浏览 • 1回复 待解决
HarmonyOS flutter video_player库适配了吗
1832浏览 • 1回复 待解决