Вы, кажется, предполагаете, что - execdir
вызывает оболочку (Bash), которая затем вызывает ffmpeg. Это не так:
-exec command ;
Execute command; true if 0 status is returned. All following
arguments to find are taken to be arguments to the command until
an argument consisting of `;' is encountered. The string `{}'
is replaced by the current file name being processed everywhere
it occurs in the arguments to the command, not just in arguments
where it is alone, as in some versions of find.
ffmpeg
вызывается find
, и он ( ffmpeg
) не знает, как обрабатывать ваш специальный синтаксис.
Я бы просто написал небольшой сценарий bash, который может обрабатывать одно преобразование только на основе имени входного файла и использовать его в качестве параметра для -execdir
.