Cutting an extension or a directory off a path does not need a second process.
f=/srv/media/holiday.final.mp4
echo "${f%.*}" # /srv/media/holiday.final
echo "${f##*/}" # holiday.final.mp4
echo "${f%%.*}" # /srv/media/holiday
% removes the shortest match from the end, %% the longest. # and ## do the same from the start. The pattern is a glob, not a regex, so .* means a dot followed by anything. ${f##*/} is basename and ${f%/*} is dirname, without starting a program. These work in bash, zsh and any POSIX shell.
Further reading: Bash manual: Shell Parameter Expansion