getMediaInformationFromCommand static method

Future<MediaInformationSession> getMediaInformationFromCommand(
  1. String command, [
  2. int? waitTimeout = null
])

Extracts media information using the command provided. The command passed to this method must generate the output in JSON format in order to successfully extract media information from it.

Implementation

static Future<MediaInformationSession> getMediaInformationFromCommand(
        String command,
        [int? waitTimeout = null]) async =>
    FFprobeKit.getMediaInformationFromCommandArguments(
        FFmpegKitConfig.parseArguments(command), waitTimeout);