Since I seem to still have an issue with KM finding the path for ffmpeg: Action 15605696 failed: Execute a Shell Script failed with script error: text-script: line 1: ffmpeg: command not found
I used the version that seems to find ffmpeg, but I get no results:
I also tried this, but I have no idea if there's anything wrong here?
I can see PATH on the script, but the variable is ENV_PATH, so I'm not sure if this influences?
Yes, hard-coding the path is simpler and I do not think you need to worry about environmental variables here.
"You can output to /dev/null... if you want to choose a muxer but not actually output a file" (FFmpeg wiki: Null). So I would leave that in.
Does your Execute a Shell Script action definitely run? Try replacing "Display results large" with "Display results in a window". As I test output settings right now, I am getting unpredictable results, so I wonder if there might even be a bug in KM related to this action (I am using V. 11.0.2 and changing the display output setting does not always take immediate effect).
PS
I believe you should be able to remove this line export PATH-"/opt/anaconda3/bin: $PATH". Further reading:
The issue is that ffmpeg writes to standard error (stderr), not standard output (stdout). Here are two easy ways in which you can get the Execute shell script action to handle this.
I tried both solutions and they both work.
I was able to create a macro for a single file and it's working (by removing all the info I don't need), now I have to create a new one for when I have multiple files selected so I can have a list.
Great! Thank you so much for your time and help! Truly valuable!
You saved me so much time and work by not doing it by hand using an app