FFMPEG not working as intended in a bash script
I’m trying to get the mean volume of a recording and the echo the expected value. When I do it line by line, everything works fine, but as soon as I execute it in a bash script, I have a problem with the FFMPEG line. I identified the problem, which is that &> analysis
is not doing anything for some reason and instead of saving the output in a file it prints it in the shell.