Skip to content

Commit

Permalink
update ffprobe command version 6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
jeortizquan committed Aug 1, 2024
1 parent 823349f commit 7aaff8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ static String discoverFfprobeCommand(CommandExecutor commandExecutor)
int indexVersion = output.lastIndexOf("version ") + "version ".length();
int version = Character.isDigit(output.charAt(indexVersion)) ?
Integer.parseInt(String.valueOf(output.charAt(indexVersion))) : 0;
if (!(version >= 2 && version < 5)) {
if (!(version >= 2 && version < 7)) {
throw new MediaProcessorException("ffprobe version " + version + ".x not found");
}

Expand Down

0 comments on commit 7aaff8a

Please sign in to comment.