• AnyStream is having some DRM issues currently, Netflix is not available in HD for the time being.
    Situations like this will always happen with AnyStream: streaming providers are continuously improving their countermeasures while we try to catch up, it's an ongoing cat-and-mouse game. Please be patient and don't flood our support or forum with requests, we are working on it 24/7 to get it resolved. Thank you.

Reclock's Resampler version 0.1.7 ICL11

yesgrey3

Well-Known Member
Thread Starter
Joined
Sep 10, 2008
Messages
448
Likes
0
Reclock's resampler is an independent part of Reclock. So, I think it's better keeping any discussions about it in a separate thread.

Ogo used the Secret Rabbit Code resampler, also know as libsamplerate.
The official page is here.

The original resampler, part of ogo's reclock's versions, was based on libsamplerate version 0.1.2.
A few months back, I realized that a new version of libsamplerate was available (0.1.4) that improved greatly the quality of the three best resampling modes, and suggested to James to update the resampler's code. He accepted my offer, and the current resampler distributed with reclock is based on libsamplerate version 0.1.4.

A few days back, I was informed that a new version of libsamplerate will be available soon (0.1.5). This new version has several code optimizations to increase the speed. We should expect double the speed (or half the cpu load) when comparing with the previous version, but the quality is exactly the same. Once again, this only affects the three best modes (Excellent, Very Good and Good).

As soon as the code is officially released, I will post here the source to let James include his own build in reclock's installer.
Until then, I will post here my builds only for testing purpose...

Here is a file with several builds, with different compiler options. I use only ICL10.1 (Intel C++ compiler). I would like if you could test all the builds (including the previous 0.1.4) and post your results here. Please use only Reclock's cpu load meter.
For now, I only have created generic (for all cpus) builds, and Intel Core2 Duo (only for Intel Core2 Duo cpus and up) builds.
The MT suffix indicates a build with some multi-threading performed automatically by the compiler.
The SSSE3 suffix indicates a build only for Intel Core2 Duo processors and up.

EDIT: Updated resampler to version 0.1.7. Some bugs correction.
You can download here the Intel C compiler 11.0 build:View attachment Resampler.0.1.7_ICL11.0.zip
Download it. Unzip it. Substitute the Resampler.dll file in Reclock's install directory.
 
Last edited:
Here are my test results...

Windows XP, Intel E2160@3.15GHz(9*350) - 1MB cache

dvd movie: 6 channels ac3 448kbps 48kHz 32 bit pcm - Quality: Excellent

0.14 ICL10.1_O2 : 51%
Resampler_ICL10.1_O2 : 40.5%
Resampler_ICL10.1_O2_MT : 40.8%
Resampler_ICL10.1_O2_SSSE3 : 44.0%
Resampler_ICL10.1_O2_SSSE3_MT : 46.0%
Resampler_ICL10.1_O3 : 39.7%
Resampler_ICL10.1_O3_MT : 39.3%
Resampler_ICL10.1_O3_SSSE3 : 44.2%
Resampler_ICL10.1_O3_SSSE3_MT : 45.3%

dvd movie: 6 channels ac3 448kbps 48kHz 32 bit pcm - Quality: Very Good

0.14 ICL10.1_O2 : 9.1%
Resampler_ICL10.1_O3 : 4.2%
Resampler_ICL10.1_O3_MT : 4.3%

dvd movie: 6 channels ac3 448kbps 48kHz 32 bit pcm - Quality: Good
0.14 ICL10.1_O2 : 4.3%
Resampler_ICL10.1_O3 : 2.2%
Resampler_ICL10.1_O3_MT : 2.4%

dvd movie: 6 channels ac3 448kbps 48kHz 32 bit pcm - Quality: Medium
Resampler_ICL10.1_O3 : 0.9%

dvd movie: 6 channels ac3 448kbps 48kHz 32 bit pcm - Quality: Low
Resampler_ICL10.1_O3 : 0.8%


The quality "Excellent" is too cache intensive. So, my results with the new release are not half the cpu load...
With the other quality modes, I get half the cpu load.

Comparing the cpu loads of Good vs Medium vs Low, maybe it's time to consider removing the Medium and Low quality modes and keep only the qualities Excellent, Very Good and Good...
 
Last edited:
so here we go, on XP SP3 & a Q6600@3.3GHz(8*415) w/ heavy ffdshow/avisynth post-processing...Quality: Excellent :

stereo ac3 32/96

0.14 ICL10.1 : 21
Resampler_ICL10.1_O2 : 13.5
Resampler_ICL10.1_O2_MT : 12.5
Resampler_ICL10.1_O2_SSE3 : 18
Resampler_ICL10.1_O2_SSE3_MT : 19.5
Resampler_ICL10.1_O3 : 11
Resampler_ICL10.1_O3_MT : 11.5
Resampler_ICL10.1_O3_SSE3 : 18
Resampler_ICL10.1_O3_SSE3_MT : 19

6 channels 1.5mbit dts 32/96

0.14 ICL10.1 : 61
Resampler_ICL10.1_O2 : 21
Resampler_ICL10.1_O2_MT : 21.5
Resampler_ICL10.1_O2_SSE3 : 30
Resampler_ICL10.1_O2_SSE3_MT : 29
Resampler_ICL10.1_O3 : 21
Resampler_ICL10.1_O3_MT : 21
Resampler_ICL10.1_O3_SSE3 : 33
Resampler_ICL10.1_O3_SSE3_MT : 35

compares between the 2 fastest builds on several movies :

6 channels 1.5mbit dts 32/96

Resampler_ICL10.1_O3 : lowest 20.4 / sits at 21
Resampler_ICL10.1_O3_MT : lowest 20.3 / sits at 23

6 channels 1.5mbit dts 32/96

Resampler_ICL10.1_O3 : lowest 20.6 / sits at 23.5
Resampler_ICL10.1_O3_MT : lowest 20.6 / sits at 24

2 channels 1.5mbit dts 32/96

Resampler_ICL10.1_O3 : lowest 10.8 / sits at 15
Resampler_ICL10.1_O3_MT : lowest 10.7 / sits at 14

2 channels 1.5mbit dts 32/96

Resampler_ICL10.1_O3 : lowest 10.9 / sits at 15
Resampler_ICL10.1_O3_MT : lowest 10.4 / sits at 16

2 channels 1.5mbit dts 32/96

Resampler_ICL10.1_O3 : lowest 11.3 / sits at 17 bbb2d421497038.gif

Resampler_ICL10.1_O3_MT : lowest 10.8 / sits at 16

2 channels 1.5mbit dts 32/96

Resampler_ICL10.1_O3 : lowest 10.3 / sits at 13.8 0ae0a221497048.gif

Resampler_ICL10.1_O3_MT : lowest 11.7 / sits at 13.8 4f26b421497047.gif
 
Last edited:
The SSSE3 builds allow the creation of code using all SIMDs up to SSSE3. It doesn't mean that SSSE3 are used, but that could be used...

I think this is an algorythm that doesn't benefit from the SIMDs.

From my tests, and leeperry tests, I think it's better keeping just the generic O3 build. It will run in all cpus and will perform the best.
 
Hi. All these are the software resampler, right? So it's normal that using "Do hardware resampling" I don't notice anything?
 
I have just done a shortened test as my results mirror those above :
XP3 E5200 @2.5Ghz

Xvid mp3 2 channel audio.

0.14 ICL10.1 : 14.9
Resampler_ICL10.1_O2 : 9.8
Resampler_ICL10.1_O2_MT : 9.9

Resampler_ICL10.1_O3 : 9.7
Resampler_ICL10.1_O3_MT : 9.8
Resampler_ICL10.1_O3_SSE3 : 12.8
 
Hi. All these are the software resampler, right? So it's normal that using "Do hardware resampling" I don't notice anything?

Yes. Hardware resampling bypasses the software resampler.
 
Yes. Hardware resampling bypasses the software resampler.

Just a quick question. I am currently using hardware resampling (I have a Sondigo analog soundcard). Would I get better sound using sofware resampling or there won't be much difference.

Thanks

edit: I did not meant to hijack the thread. I can start a new thread if more appropriate
 
Just a quick question. I am currently using hardware resampling (I have a Sondigo analog soundcard). Would I get better sound using sofware resampling or there won't be much difference.

Thanks

edit: I did not meant to hijack the thread. I can start a new thread if more appropriate

Well, try it out. Use whatever pleases your ears.
 
I did not meant to hijack the thread. I can start a new thread if more appropriate

You haven't hijacked the thread. My original idea was creating this thread to discuss reclock's resampler, and all stuff related to it. I think hardware resampling also fits here. Unfortubatelly, all the discussion keeps going in the main sticky thread...
 
imho the very good level is the best choice.
the difference between two resample in cpu load terms is important. :)
with an mvk 1280x720 with 6 ch. in dxva mode. the cpu load was 15% with old resample. 9% with new resample . 3% with hw resampling
(looking the cpu graph and cpu medium load value in the Vista monitoring)

a question: the audio video desynch using audio timestreching and ac3 encoder is related to resample, the audio timestreching , the encoding or the sum of these processes?
 
Last edited:
imho the very good level is the best choice.

Yes, I think it would be a good idea if James removes the Medium and Low quality modes, and set the Very Good as the Recommended. It would simplify Reclock configuration, and would be more indicated for the current resampling speeds and cpus.

@James
With Christmas, maybe the release of the new version will be a little delayed by the author. Do you want me to upload now the current source code, so you could compile your own build? I believe it will not change and apparently is working good with everyone who have tested it...
 
Yes, I think it would be a good idea if James removes the Medium and Low quality modes, and set the Very Good as the Recommended. It would simplify Reclock configuration, and would be more indicated for the current resampling speeds and cpus.

@James
With Christmas, maybe the release of the new version will be a little delayed by the author. Do you want me to upload now the current source code, so you could compile your own build? I believe it will not change and apparently is working good with everyone who have tested it...

and the cpu load indicate in reclock is not related to its player task.
so the resample spent really low cpu resources

 
@James
With Christmas, maybe the release of the new version will be a little delayed by the author. Do you want me to upload now the current source code, so you could compile your own build? I believe it will not change and apparently is working good with everyone who have tested it...

I can hold out a little... I am busy with BD+ & Co. at the moment anyway. ;)
 
Hi Yesgrey3,

Can you link to the final, agreed, optimised, compiled version of the Resampler? I'm using the one you posted in the Reclock support thread shortly before this thread was opened. Not sure if the source or the compiler choices have changed since.
 
@James
With Christmas, maybe the release of the new version will be a little delayed by the author. Do you want me to upload now the current source code, so you could compile your own build? I believe it will not change and apparently is working good with everyone who have tested it...

With BD+ and Sony Arccos off my back for a little moment, now would be the perfect time for a new ReClock release. Could you post the current sources? Thanks a lot!
 
Back
Top