PDA

View Full Version : Reclock v1.7b4 TimeStretch plug-in bug fixed & updated


posti
30th January 2008, 09:11
I noticed crackling sound when using timestreching in Reclock 1.7b4 with other than 2 channel audio. After searching through Timestrech plugin code i found a bug.

It appears that last sample was missing from every channel of every audio block streched if channel count was any other than two.

Anyway here is fixed version. Very simple fix. Also updated soundtouch library that is used for timestreching to latest v1.3.1.

avih
31st January 2008, 13:55
Cheers. Could you please point the exact file/s and line/s of your fix over soundtouch v1.3.1?

posti
31st January 2008, 14:31
Bug wasn't in soundtouch library. I just updated plugin to use new version of soundtouch library. Older version of that library that reclock used had some bugs one of them was a memory leak. Real bug was in file "TimestretchPlugin.cpp".

Buggy code how it is now.

for(i=0; i<SAMPLE_LEN;)
{
*osample++ = *isample;
isample += m_channelCount;
i++;
if (--l_inSamples == 0)
break;
}

This is how it was.

for(i=0; i<SAMPLE_LEN;i++)
{
*osample++ = *isample;
isample += m_channelCount;
if (--l_inSamples == 0)
break;
}

Author used "i" variable for later (bad code) for number samples. In buggy code if actualy number samples per channel was 1024 i would have been 1023.

avih
1st February 2008, 13:28
:) good job. ty.

Keepitsimple
7th February 2008, 00:45
Totally OT but still reclock. Is anybody working on reclock or equal functionality for vista? Its a _very_ useful program for us with 50/60 hz screens.

posti
10th February 2008, 11:29
Reclock works on vista. Use Enhanced video renderer to get smooth playback.
One player that can use it is Media Player Classic Home Cinema Edition. Use "EVR (Vista / .Net3).
The other EVR selection uses MPC to render and isn't as good.
Also EVR on XP .Net 3 is just a joke and doesn't work at all.

leeperry
3rd April 2008, 18:31
Reclock works on vista.

so Reclock works fine on Vista ?!

I'm sick and tired of the cr*ppy EVR support in MPC HC on XP.

it works fine for a while, then after 45/60' it starts dropping frames like crazy...it seems that it never remains tightly on the VSYNC synchronisation :eek:

KMPlayer works perfectly fine with EVR on XP, but it's giving tearing :(

hopefully KMP will be tearing-free on Vista, and I'll finally be able to enjoy my HTPC.........if Reclock works on Vista that is :devil:

some ppl on AVS said Reclock wouldn't even install on their Vista box :mad:

Jong
4th April 2008, 00:23
A new version of TheaterTek with EVR support on XP is promised by the end of April. May be worth a shot, although I am still not convinced EVR offers anything over VMR9 + ffdshow + reclock (except maybe simpler!).

kutjong
8th April 2008, 22:51
What makes EVR better than VMR9 anyway? Both use DX9.

Anyway, slysoft seems to have taken over Reclock development. Hasn't been much news about it, but it's confirmed. There's a thread about it on slysoft's forum: http://forum.slysoft.com/showthread.php?t=2337

leeperry
9th April 2008, 01:57
it's smoother and it does a bit a "unsharp masking" that increases the contrast :)

Jong
10th April 2008, 01:29
Both only apply if you do not use ffdshow and reclock IMO. In fact the sharpening bit can probably be done with the image adjustment options in the driver's control panel and even EVR cannot get over some of the timing issues that Reclock is needed to fix, so you really need that anyway!

But, I'm still capable of being convinced. Just not heard a good enough argument yet!

leeperry
10th April 2008, 02:12
well EVR is smoother and more 3D-like than any other renderer from my observations, and several other ppl on homecinema-fr.com agree w/ me on that :D

I also use the "unsharp masking" ffdshow filter set to 33 + EVR........amazing and deep picture :)

Reclock works perfectly fine with EVR and MPC HC :)

BTW, with MKV files containing several languages, I never get stable FPS in MPC HC ?!

if I remux with only one language, then all is fine.......I'm right on 24.000fps :D

look at Amelie Poulain in EVR + unsharp mask 33 :

http://pix.nofrag.com/4/2/3/2ce84a7dbbfc9bab48e19a16b91d7tt.jpg (http://pix.nofrag.com/4/2/3/2ce84a7dbbfc9bab48e19a16b91d7.html) http://pix.nofrag.com/7/9/2/3fd6ab8948752efeb2a8e5d1b46aatt.jpg (http://pix.nofrag.com/7/9/2/3fd6ab8948752efeb2a8e5d1b46aa.html)