Post Reply 
Resampling
02-04-2015, 20:40
Post: #41
RE: Resampling
(02-04-2015 15:15)granosalis Wrote:  In fact I have made some listening test with ffmpeg standard re-sampling algorithm and I have to say that I'm not impressed at all ... That's why I'm using my time trying to find a better alternative to ffmpeg.

I haven't tried FFmpeg re-sampling, but, in my researches, I have come across a number of posts which make similar criticisms to yours. This is why 'embedding' soxr in FFmpeg seems to be thought of as a good thing.

David
Find all posts by this user
Quote this message in a reply
05-04-2015, 13:29
Post: #42
RE: Resampling
(29-03-2015 18:34)krutsch Wrote:  
(29-03-2015 17:01)simoncn Wrote:  
(29-03-2015 01:55)krutsch Wrote:  Checked my build. I am able to run:

ffmpeg -i Sample.wav -af aresample=resampler=soxr -ar 48000 Sample-48.wav

...and it does produce a 48 kHz up-sampled WAV file. So, it looks like ffmpeg is built with libsoxr support. Not sure what else to try, but I think I am done futzing with this for now.

Thanks for your help.

Thanks for checking and apologies for putting the wrong syntax in the User guide (now fixed). You need this:

convOut=-af aresample=resampler=soxr

No worries. Headed out to NL for the week, but will check in on this when I get back. Thanks, Ken.

Wow... MimimStreamer + libsoxr for the win!

I'm back to transcoding my ALAC / iTunes Playlists library and (a) no more garbling at the start of tracks and (b) I've never heard my streamer sound so smooth.

Nice work, Simon!
Find all posts by this user
Quote this message in a reply
07-04-2015, 09:01
Post: #43
RE: Resampling
Dears,
there is a good news this morning. I have requested to John Van Sickle to include libsoxr in the next release of his static builds of FFmpeg for Linux (QNap).
He was so kind to satisfy my request. I'm not at home, so I can't verify if it works, but you can download the GIT version of FFmpeg with Libsox at the following address:
http://johnvansickle.com/ffmpeg/

Regards,
Giuseppe
Find all posts by this user
Quote this message in a reply
07-04-2015, 20:04
Post: #44
RE: Resampling
Yeah!
With the new build of FFMpeg (Thanks to John Van Sickle), lib sox works perfectly with minim server and the quality (believe me) is impressive and far away better than standard FFMPeg. Please consider donation to John if you use his static library, as I'll do.

Unfortunately the convolution is not working with Tidal integration in Linn Kazoo.

Now I have a question for simoncn.
There is a parameter that can be passed to SOX for best performance and it is: precision=28. Is there a way to pass this parameter to sox ?

Thanks, my system sounds like never before.

Regards,
Giuseppe
Find all posts by this user
Quote this message in a reply
07-04-2015, 21:27
Post: #45
RE: Resampling
(07-04-2015 20:04)granosalis Wrote:  Yeah!
With the new build of FFMpeg (Thanks to John Van Sickle), lib sox works perfectly with minim server and the quality (believe me) is impressive and far away better than standard FFMPeg. Please consider donation to John if you use his static library, as I'll do.

Unfortunately the convolution is not working with Tidal integration in Linn Kazoo.

Now I have a question for simoncn.
There is a parameter that can be passed to SOX for best performance and it is: precision=28. Is there a way to pass this parameter to sox ?

Thanks, my system sounds like never before.

Regards,
Giuseppe

I believe the correct syntax for stream.options is:

-af aresample=resampler=soxr:precision=28

If this doesn't work, you could try:

-af "aresample=resampler=soxr:precision=28"
Find all posts by this user
Quote this message in a reply
08-04-2015, 13:28
Post: #46
RE: Resampling
(07-04-2015 21:27)simoncn Wrote:  I believe the correct syntax for stream.options is:

-af aresample=resampler=soxr:precision=28

If this doesn't work, you could try:

-af "aresample=resampler=soxr:precision=28"

Thanks, the first method seems to have worked
Find all posts by this user
Quote this message in a reply
16-04-2015, 14:53
Post: #47
RE: Resampling
Just curious if more people have tried this and what they think? I am going to try today.
Find all posts by this user
Quote this message in a reply
16-04-2015, 19:59
Post: #48
RE: Resampling
(16-04-2015 14:53)tboooe Wrote:  Just curious if more people have tried this and what they think? I am going to try today.

20 is the standard value.
In my opinion 28 sounds more smooth, while 20 is more sharp.
Find all posts by this user
Quote this message in a reply
16-04-2015, 20:45
Post: #49
RE: Resampling
(31-03-2015 10:48)simoncn Wrote:  
(31-03-2015 00:10)bobxsherman Wrote:  I downloaded and installed it. ffmpeg works I do not have a path for ffmpeg using JPlay. Do I need more path info for sox to work. This is what I downloaded.
ffmpeg-20150218-git-8bc8001-win32-static.7z

thanks
Bob

What exactly do you have in the stream.converter property of MinimServer?

What is the exact folder location of the downloaded version of ffmpeg?

Hi Simon,

I was incorrect as there is no Soxr in any Synology compatible builds. Trying to see if that can be updated.

This does work perfectly on MS platform though. Smile

Is there a way to re-sample a WAV file? Cannot do wav:wav;96 etc.

thanks
Bob
Find all posts by this user
Quote this message in a reply
16-04-2015, 22:21
Post: #50
RE: Resampling
(16-04-2015 20:45)bobxsherman Wrote:  Hi Simon,

I was incorrect as there is no Soxr in any Synology compatible builds. Trying to see if that can be updated.

If you have an Intel model of Synology NAS, you should be able to use the build linked from this post.

Quote:This does work perfectly on MS platform though. Smile

Is there a way to re-sample a WAV file? Cannot do wav:wav;96 etc.

thanks
Bob

This isn't possble at present. You could convert the WAV file to FLAC offline (lossless) and then do on-the-fly transcoding from FLAC to WAV with resampling.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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