I am doing the audio extraction project. Audioread library is used in my python script. Audioread required FFMPEG to be existed in linux /usr/bin. If the FFMPEG is existed in /usr/bin, the code audioread.audio_open(XXX.m4a) can run without error, if not, it will output NoBackendError
I can run my code successfully in my local linux system. However, the code will output NoBackendError in Azure Function. My guess is the ffmpeg is not deployed to the /usr/bin, but is deployed in /home/site/wwwroot. My python code cannot find ffmpeg in PATH.
I have tried to use os.popen('mv /home/site/wwwroot/ffmpeg /usr/bin/ffmpeg') in my python script to move ffmpeg to PATH, but it doesnt work. I think the reason should be I did not add sudo, but I dont know the password of Azure Function Linux platform.
Please give me some help!