Post Reply 
Resampling
07-01-2016, 01:59 (This post was last modified: 07-01-2016 03:49 by tboooe.)
Post: #51
RE: Resampling
Sorry to revive an old thread but I am having some issues getting this to work on my QNAP TS-131 nas which has an ARM processor. I have extracted the ffmpeg file from the GIT build in link posted above http://johnvansickle.com/ffmpeg/. I've tried downloading both the 32bit and 64bit version of ffmpeg and copied it to the /share/Public folder on my nas. In the stream.converter field I changed the value from:"ffmpeg" to "/share/Public/ffmpeg". I also changed the permissions to allow execute. However, when I try to use the stream.options that I've been using for a while on my Windows machines I get an error. This is what I have in stream.options:

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

The error I get is "convout setting incorrect for converter."

Not sure what I am doing wrong. Perhaps ffmpeg is not supported by the ARM processor?

Thank you in advance.
Find all posts by this user
Quote this message in a reply
07-01-2016, 04:21
Post: #52
RE: Resampling
https://forum.minimserver.com/showthread...9#pid17549
Find all posts by this user
Quote this message in a reply
07-01-2016, 04:58
Post: #53
RE: Resampling
(07-01-2016 04:21)Mihaylov Wrote:  https://forum.minimserver.com/showthread...9#pid17549


Thank you. I tried pointing stream.converter to /mnt/ext/opt/medialibrary/bin/ffmpeg which worked fine. I then restarted Minimserver. But when I use this in stream.options convOut=-af aresample=resampler=soxr:precision=28 I still get the same error.
Find all posts by this user
Quote this message in a reply
07-01-2016, 08:43
Post: #54
RE: Resampling
(07-01-2016 04:58)tboooe Wrote:  Thank you. I tried pointing stream.converter to /mnt/ext/opt/medialibrary/bin/ffmpeg which worked fine. I then restarted Minimserver. But when I use this in stream.options convOut=-af aresample=resampler=soxr:precision=28 I still get the same error.

This means that the version of ffmpeg that you are using was built without libsoxr.
Find all posts by this user
Quote this message in a reply
07-01-2016, 15:04
Post: #55
RE: Resampling
(07-01-2016 08:43)simoncn Wrote:  
(07-01-2016 04:58)tboooe Wrote:  Thank you. I tried pointing stream.converter to /mnt/ext/opt/medialibrary/bin/ffmpeg which worked fine. I then restarted Minimserver. But when I use this in stream.options convOut=-af aresample=resampler=soxr:precision=28 I still get the same error.

This means that the version of ffmpeg that you are using was built without libsoxr.

I thought based on reading this thread that the ffmpeg file found at the following site has libsoxr: http://johnvansickle.com/ffmpeg/
Find all posts by this user
Quote this message in a reply
07-01-2016, 15:38
Post: #56
RE: Resampling
(07-01-2016 15:04)tboooe Wrote:  I thought based on reading this thread that the ffmpeg file found at the following site has libsoxr: http://johnvansickle.com/ffmpeg/

This build is for Intel machines only and won't run on an ARM machine.

If you are able to find an ARM build with libsoxr support, I would be very interested to hear about it.
Find all posts by this user
Quote this message in a reply
07-01-2016, 15:42
Post: #57
RE: Resampling
(07-01-2016 15:38)simoncn Wrote:  This build is for Intel machines only and won't run on an ARM machine.

If you are able to find an ARM build with libsoxr support, I would be very interested to hear about it.

Yeah, thats what I assumed last night. Oh well. The search continues (or I get a new NAS).
Find all posts by this user
Quote this message in a reply
04-10-2016, 16:18
Post: #58
RE: Resampling
tboooe,

I have armhf and armel FFmpeg static builds with libsoxr support at https://www.johnvansickle.com/ffmpeg/

I'm not sure which your machine supports, but one of them should do the trick. Let me know if you run into any problems.


Thanks,
John Van Sickle
Find all posts by this user
Quote this message in a reply
12-03-2017, 00:09 (This post was last modified: 15-03-2017 10:12 by Mihaylov.)
Post: #59
RE: Resampling
I have installed minimserver version 0.8.4 instead 0.8.3 and could apply new upsampling opportunities - Input type filters: now all input flac files are converted to wav24;176 or wav24;192 with streaming option: convOut=-af aresample=resampler=soxr:precision=28 (SoX resampler VHQ).
In spite of the fact that the Linn has own upsampler, the sound of my streamer Linn Renew Klimax DS noticeably became better - audio resolution and details increased. Somebody has a similar experience?
Find all posts by this user
Quote this message in a reply
05-11-2018, 09:40
Post: #60
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


Pls. With Qnap HS-251 wich is the correct git builds ?

x86 or x86_64 ?

2gb of ram are enough to transcode flac to wav 24 ?

thank you
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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