Flutter:添加flutter_ffmpeg获取视频详细信息
Lasted 2019-12-28 12:13:51
在Flutter中安装flutter_ffmpeg,获取视频详细信息。
- 查看最新软件包:flutter_ffmpeg。
- IOS导入框架参考:mobile-ffmpeg
设置pubspec.yaml
dependencies:
flutter_ffmpeg: ^0.2.8
常见问题
CocoaPods could not find compatible versions for pod flutter_ffmpeg/full
需要设置IOS版本最低 9.3
The 'Pods-Runner' target has frameworks with conflicting names
设置ios/Podfile
时不能直接拷贝过去,需要跟以前的合并,不然会冲突