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组件问题
1944浏览 • 1回复 待解决
HarmonyOS Video播放失败
821浏览 • 1回复 待解决
HarmonyOS 系统Video问题
872浏览 • 1回复 待解决
HarmonyOS video视频问题
826浏览 • 1回复 待解决
HarmonyOS Video控件隐藏操作栏
866浏览 • 1回复 待解决
HarmonyOS Video组件相关问题
1586浏览 • 1回复 待解决
HarmonyOS 使用Video组件问题
1334浏览 • 1回复 待解决
HarmonyOS video设置加载图闪屏
1092浏览 • 1回复 待解决
HarmonyOS Video 怎么添加请求头?
1112浏览 • 2回复 待解决
HarmonyOS video如何横屏播放?
1308浏览 • 1回复 待解决
HarmonyOS 关于video组件的问题
1125浏览 • 1回复 待解决
video requestFullscreen 全屏问题
1806浏览 • 1回复 待解决
如何移除页面上Video组件
2789浏览 • 1回复 待解决
HarmonyOS Video组件与Slider组件联动
1077浏览 • 1回复 待解决
HarmonyOS flutter video_player库适配了吗
1744浏览 • 1回复 待解决
HarmonyOS Video无法播放m3u8
2408浏览 • 1回复 待解决
HarmonyOS Video组件的全屏是怎么实现的
1007浏览 • 1回复 待解决
HarmonyOS video空间自定义控制器
1328浏览 • 1回复 待解决
HarmonyOS Video组件能否设置自定义header
1284浏览 • 1回复 待解决