Ffmpeg not found

If you are reporting a bug or error, consider submitting a Support Bundle to aiworkbench-ea@nvidia.com. This will help us solve your issue more quickly.

Please describe your issue or request: (tick the boxes after creating this topic):

Please tick the appropriate box to help us categorize your post
[*] Bug or Error
Feature Request
Documentation Issue
Other
Hi All,
I’m trying to read audio files using the below code…
//============================================
import whisper
import torch

device = “cuda” if torch.cuda.is_available() else “cpu”
#model = whisper.load_model(“large”)
model = whisper.load_model(“base”)

load audio and pad/trim it to fit 30 seconds

audio = whisper.load_audio(input_file)
audio = whisper.pad_or_trim(audio)
//==========================================
Seems like I got the below error
//==========================================
File /usr/lib/python3.10/subprocess.py:1863, in Popen._execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, restore_signals, gid, gids, uid, umask, start_new_session)
1861 if errno_num != 0:
1862 err_msg = os.strerror(errno_num)
→ 1863 raise child_exception_type(errno_num, err_msg, err_filename)
1864 raise child_exception_type(err_msg)

FileNotFoundError: [Errno 2] No such file or directory: ‘ffmpeg’
//=====================================================
I tried some troubleshooting by manually installing them but does not seem to work.

can you try installing it using the environment manager like in the video I put in your other post?