Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Resampling
14-03-2015, 18:38
Post: #1
Resampling
HI,

Any plans to support resampling within the server?

Arthur
Find all posts by this user
Quote this message in a reply
14-03-2015, 22:57 (This post was last modified: 14-03-2015 22:58 by simoncn.)
Post: #2
RE: Resampling
(14-03-2015 18:38)ackcheng Wrote:  HI,

Any plans to support resampling within the server?

Arthur

It is already supported using MinimStreamer and an external converter (ffmpeg or avconv).
Find all posts by this user
Quote this message in a reply
15-03-2015, 02:29
Post: #3
RE: Resampling
(14-03-2015 22:57)simoncn Wrote:  
(14-03-2015 18:38)ackcheng Wrote:  HI,

Any plans to support resampling within the server?

Arthur

It is already supported using MinimStreamer and an external converter (ffmpeg or avconv).

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?
Find all posts by this user
Quote this message in a reply
15-03-2015, 08:52
Post: #4
RE: Resampling
(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?
Find all posts by this user
Quote this message in a reply
18-03-2015, 16:28 (This post was last modified: 18-03-2015 16:29 by ackcheng.)
Post: #5
RE: Resampling
Sox is supposed to be an excellent SRC . http://src.infinitewave.ca
Find all posts by this user
Quote this message in a reply
18-03-2015, 16:41
Post: #6
RE: Resampling
(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?
Find all posts by this user
Quote this message in a reply
19-03-2015, 12:13
Post: #7
RE: Resampling
(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

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?

Thanks. Indeed they are the same! I am planning to use Arch Linux
Find all posts by this user
Quote this message in a reply
20-03-2015, 12:25
Post: #8
RE: Resampling
(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.
Find all posts by this user
Quote this message in a reply
20-03-2015, 19:25
Post: #9
RE: Resampling
(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?
Find all posts by this user
Quote this message in a reply
20-03-2015, 20:41
Post: #10
RE: Resampling
(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.

Are you also going to include Sox options, like quality and filter type?

You will be able to specify any additional ffmpeg output options that you want. This can include custom options for libsoxr.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)