From 5ee934566beec0c29dbb7df4adb271578aa6fc9a Mon Sep 17 00:00:00 2001 From: tc-wleite Date: Sat, 25 Feb 2023 07:48:34 -0300 Subject: [PATCH] '#1267: Remove the check of FFmpeg from transcription implementations. --- .../java/iped/engine/task/transcript/GoogleTranscriptTask.java | 2 -- .../iped/engine/task/transcript/Wav2Vec2TranscriptTask.java | 2 -- 2 files changed, 4 deletions(-) diff --git a/iped-engine/src/main/java/iped/engine/task/transcript/GoogleTranscriptTask.java b/iped-engine/src/main/java/iped/engine/task/transcript/GoogleTranscriptTask.java index b67799f8ba..2b38009596 100644 --- a/iped-engine/src/main/java/iped/engine/task/transcript/GoogleTranscriptTask.java +++ b/iped-engine/src/main/java/iped/engine/task/transcript/GoogleTranscriptTask.java @@ -75,8 +75,6 @@ public void init(ConfigurationManager configurationManager) throws Exception { "To use Google transcription, you must specify environment variable " + CREDENTIAL_KEY); } - checkFFmpeg(); - speechClient = SpeechClient.create(); } diff --git a/iped-engine/src/main/java/iped/engine/task/transcript/Wav2Vec2TranscriptTask.java b/iped-engine/src/main/java/iped/engine/task/transcript/Wav2Vec2TranscriptTask.java index 773ebf47f5..58c711bee7 100644 --- a/iped-engine/src/main/java/iped/engine/task/transcript/Wav2Vec2TranscriptTask.java +++ b/iped-engine/src/main/java/iped/engine/task/transcript/Wav2Vec2TranscriptTask.java @@ -75,8 +75,6 @@ public void init(ConfigurationManager configurationManager) throws Exception { if (!deque.isEmpty()) return; - checkFFmpeg(); - Server server; int device = 0; while ((server = startServer(device++)) != null) {