getVideoInfo method

  1. @override
Future<VideoInfo> getVideoInfo(
  1. String path
)
override

Implementation

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