Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
convolution with acourate fir filter
28-03-2018, 22:35
Post: #1
convolution with acourate fir filter
I understand I can use convOut to apply the convolution filter produced by Acourate. Acourate has given me a stereo wav file for 192kHz (Cor1S192.wav).

In stream.transcode I have entered flac:wav24;192 so all the files are converted to 192KHz.

I'm running minimserver on a QNAP TS-253 Pro.

minimstreamer-0.7.6 is in the list of installed packages.

What do I need to enter in stream.options?

Many thanks

Mark
Find all posts by this user
Quote this message in a reply
30-03-2018, 12:54
Post: #2
RE: convolution with acourate fir filter
This should be possible but it requires some changes to MinimStreamer to make it work. I will post back here when I have more information.
Find all posts by this user
Quote this message in a reply
30-03-2018, 15:47
Post: #3
RE: convolution with acourate fir filter
Thank you Simon

Note I don't have to convolve at 192kHz, if that is the problem. 96 or 44.1 are also possibilities.

Mark
Find all posts by this user
Quote this message in a reply
30-03-2018, 16:37
Post: #4
RE: convolution with acourate fir filter
This isn't the problem. The issue is related to how MinimStreamer handles the stream.options property. I will keep you informed of progress.
Find all posts by this user
Quote this message in a reply
30-03-2018, 20:58
Post: #5
RE: convolution with acourate fir filter
PM sent.
Find all posts by this user
Quote this message in a reply
01-05-2018, 09:25 (This post was last modified: 01-05-2018 09:25 by zizione.)
Post: #6
RE: convolution with acourate fir filter
Hi Simon,
I would be interested as well. Do you have any update on this possibility ?
thanks
David
Find all posts by this user
Quote this message in a reply
01-05-2018, 10:38
Post: #7
RE: convolution with acourate fir filter
Testing is in progress. If and when there is a solution, I will post an update here.
Find all posts by this user
Quote this message in a reply
17-06-2018, 22:12
Post: #8
RE: convolution with acourate fir filter
Support for FIR convolution files is available now in MinimStreamer 0.7.7. For this to work, you must be using FFmpeg 3.4.0 or later.

A simple way to apply a FIR convolution file is to specify the following in stream.options:

convOut=-i f:\mark_gb\Cor1S44.wav -lavfi afir

where f:\mark_gb\Cor1S44.wav is the convolution file. Unfortunately, this introduces a delay in each track which is heard as a slight gap between tracks. This delay can be eliminated by configuring FFmpeg to remove the initial portion of each track, as follows:

convOut=-i f:\mark_gb\Cor1S44.wav -filter_complex [0]apad=pad_len=32768[2];[2][1]afir[3];[3]atrim=start_sample=32768

This eliminates the gap by removing the first 32768 samples of each track but there is still a slight click between some tracks. I don't how how to stop this happening.
Find all posts by this user
Quote this message in a reply
19-06-2018, 23:56
Post: #9
RE: convolution with acourate fir filter
(17-06-2018 22:12)simoncn Wrote:  Support for FIR convolution files is available now in MinimStreamer 0.7.7. For this to work, you must be using FFmpeg 3.4.0 or later.

A simple way to apply a FIR convolution file is to specify the following in stream.options:

convOut=-i f:\mark_gb\Cor1S44.wav -lavfi afir

where f:\mark_gb\Cor1S44.wav is the convolution file. Unfortunately, this introduces a delay in each track which is heard as a slight gap between tracks. This delay can be eliminated by configuring FFmpeg to remove the initial portion of each track, as follows:

convOut=-i f:\mark_gb\Cor1S44.wav -filter_complex [0]apad=pad_len=32768[2];[2][1]afir[3];[3]atrim=start_sample=32768

This eliminates the gap by removing the first 32768 samples of each track but there is still a slight click between some tracks. I don't how how to stop this happening.

This looks very interesting. Thank you.
Does this feature now provide a need to invoke transcoding for wav files? Or have I missed the obvious?
Find all posts by this user
Quote this message in a reply
20-06-2018, 07:27 (This post was last modified: 20-06-2018 07:34 by simoncn.)
Post: #10
RE: convolution with acourate fir filter
This feature can be used only when FFmpeg transcoding is in effect and this is supported only for the filetypes shown as input types in this section. Because wav isn't one of these input types, you can't use this feature with music stored in .wav files. You can use it for any other filetype that can be transcoded to wav.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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