I like to use a command like
avconv -i %f -map 0:1 -c:a copy %f.m4a
in the custom actions of Thunar or Dolphin to extract audio from mp4 and flv without transcoding.
But that will output a name that contains the extension of the input file:
From a video "name.mp4" I get an audio file called "name.mp4.m4a".
How to adjust the command so that the output is "name.m4a"?