Score:2

ffmpeg-normalize not working in Python

us flag

I have ffmpeg-normalize installed through pip3 It seems to work from the terminal but I need to run it through python subprocess.

Everytime I try to run it the error says:

/bin/sh: 1: ffmpeg-normalize: not found
Score:1
zw flag

It depends on the way of ffmpeg-normalize installation. You have to adjust PATH variable.

In case of user's installation by

pip3 uninstall ffmpeg-normalize

you should add /home/$USER/.local/bin to PATH variable.


Or if you install it system-wide by

sudo pip3 install ffmpeg-normalize

then it will be available from /usr/local/bin/ffmpeg-normalize.

Make sure that your PATH variable contains /usr/local/bin directory. Minimal reproducible PATH variable should be /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin.

Yash Sandansing avatar
us flag
Thank you so much. Ran it as admin and it worked
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.