![]() |
|
Resampling - Printable Version +- MinimServer Forum (https://forum.minimserver.com) +-- Forum: MinimServer (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: Resampling (/showthread.php?tid=2263) |
Resampling - ackcheng - 14-03-2015 18:38 HI, Any plans to support resampling within the server? Arthur RE: Resampling - simoncn - 14-03-2015 22:57 (14-03-2015 18:38)ackcheng Wrote: HI, It is already supported using MinimStreamer and an external converter (ffmpeg or avconv). RE: Resampling - ackcheng - 15-03-2015 02:29 (14-03-2015 22:57)simoncn Wrote:(14-03-2015 18:38)ackcheng Wrote: HI, Thanks so much for putting me to the right direction!! I noticed that minimstreamer can now support sample rate change during the transcoding process. Does anyone know which program is used for the SRC? Would it be SOX? RE: Resampling - simoncn - 15-03-2015 08:52 (15-03-2015 02:29)ackcheng Wrote: Thanks so much for putting me to the right direction!! I noticed that minimstreamer can now support sample rate change during the transcoding process. Does anyone know which program is used for the SRC? Would it be SOX? You can use either ffmpeg or avconv. Is there any advantage in doing this with SoX? RE: Resampling - ackcheng - 18-03-2015 16:28 Sox is supposed to be an excellent SRC . http://src.infinitewave.ca RE: Resampling - simoncn - 18-03-2015 16:41 (18-03-2015 16:28)ackcheng Wrote: Sox is supposed to be an excellent SRC . http://src.infinitewave.ca It looks like the same result can be achieved with ffmpeg if libsoxr is used (see this page). What platform are you using to run MinimServer and MinimStreamer? RE: Resampling - ackcheng - 19-03-2015 12:13 (18-03-2015 16:41)simoncn Wrote:(18-03-2015 16:28)ackcheng Wrote: Sox is supposed to be an excellent SRC . http://src.infinitewave.ca Thanks. Indeed they are the same! I am planning to use Arch Linux RE: Resampling - simoncn - 20-03-2015 12:25 (19-03-2015 12:13)ackcheng Wrote: Thanks. Indeed they are the same! I am planning to use Arch Linux The next MinimStreamer update will provide an option for you to select libsoxr (if it is installed) as the ffmpeg resampler. There shouldn't be any problem with installing libsoxr on Arch Linux. RE: Resampling - krutsch - 20-03-2015 19:25 (20-03-2015 12:25)simoncn Wrote: The next MinimStreamer update will provide an option for you to select libsoxr (if it is installed) as the ffmpeg resampler. There shouldn't be any problem with installing libsoxr on Arch Linux. That's great news... one valuable use case for resampling is when playing a playlist with mixed sample rates; this avoids delays/clicks when switching sample rates between tracks. Are you also going to include Sox options, like quality and filter type? RE: Resampling - simoncn - 20-03-2015 20:41 (20-03-2015 19:25)krutsch Wrote: That's great news... one valuable use case for resampling is when playing a playlist with mixed sample rates; this avoids delays/clicks when switching sample rates between tracks. You will be able to specify any additional ffmpeg output options that you want. This can include custom options for libsoxr. |