ffmpeg transcode ONLY if downsampling

145 Views Asked by At

I'm using Airsonic as a home music server. It has ffmpeg transcoding capabilities. I'd like to transcode audio ONLY IF input stream has higher parameters (any of kb/s, bit, kHz). And leave native quality if file has lower params (so not to UPscale). Is it possible using some of the ffmpeg options?

P.S. Airsonic has some Downsample field, but it doesn't seem to work at all.

0

There are 0 best solutions below