As OGG Vorbis is approximately twice as efficient as mp3, we kind of need bit per format. i.e 64k ogg would sound perfectly good though when out and about on mobile but would force me to transcode from mp3 -> ogg on my mobile, but when on wifi i'd rather hear the untouched 320k mp3, but then I would not want to be wasting space on my phone by converting flac -> 320k ogg which is just total over kill. I struggle to hear any difference between orgininal source and ogg past 180k
The simplest way I can see is for the list of transcoders to support a bitrate multiplier, e.g 1 for mp3 and 0.5 for ogg / aac etc. I tried using $((%b/2)) (which is valid shell) but the command is not being evaluated, just past as literal value