getVideoInfo method
Implementation
@override
Future<VideoInfo> getVideoInfo(String path) async {
try {
return await FfmpegVideo.probe(path);
} on CompressException {
rethrow;
} catch (e) {
throw VideoCompressException(CompressErrorCode.infoFailed, '$e');
}
}