View Full Version : ReClockOrNot: Support Thread

2011-10-11, 03:10 PM
This is the (new) support thread for ReClockOrNot (http://www.gbpvr.com/nwiki/pmwiki.php?n=Plugin.ReClockOrNot), a plugin that allows ReClock (http://forum.slysoft.com/forumdisplay.php?f=85)to work with NPVR by disabling it during Live TV and Recordings where it would ordinarily be incompatible with the multiple audio codecs in use simultaneously.

If posting bug reports, please ensure to include the log files from either C:\Users\Public\NPVR\Logs or C:\Documents and Settings\All Users\Application Data\NPVR\Logs.

Please note that although ReClockOrNot hasn't changed for a while, updated - and simpler - installation instructions have been posted to the wiki for it. Thanks to Lao Pan (http://forums.gbpvr.com/member.php?19801-Lao-Pan) for working them out.


2012-01-04, 03:25 PM
ReClockOrNot was updated today to version

This version adds support for running batch files whenever the audio renderer changes. I needed the ability to toggle whether ac3 encoding was used by ac3filter; I wanted it on without ReClock, and off with ReClock (because it can do it instead). Simply place batch files called SetDefault.bat and SetReClock.bat into its installation directory and they will be called if found. You should be able to tweak most audio decoders this way by making regedit calls to change their settings.


2012-01-11, 10:33 PM
ohh...first post in the forum!

[edit: updated post after more poking around]
I am happily playing around with AutoRefresh and RCON to try and optimise my playback, given that I have g/card that can do 23.976/24/25 and a TV that can autoswitch 24/25.

I can't seem to get reclock to load when playing the video "Blitz" while it loads fine for the video Cowboys and Aliens.
I am not sure whether this is expected behaviour.
Log is attached.

2012-01-12, 08:44 AM
So it's definitely not running for the second video, because according to that log it should be? The audio renderer is switched to ReClock for Cowboys and Aliens, and would stay as ReClock because you don't play anything with a .ts extension after that. The only difference I can see in the logs is Blitz has an additional "Default DirectSound Device" in the graph, but ReClock is there too. I'm not sure how this would affect things.

Try playing Cowboys and Aliens, confirm ReClock is running, then exit playback and look at NPVR's settings to see if ReClock is listed as the audio renderer before starting Blitz.


2012-01-12, 12:40 PM
I play C&I, reclock is running. return to npvr, reclock is the def. renderer.
play blitz, reclock never runs. same thing if I play a .ts 1st to reset renderer and then play blitz, reclock never actually runs.

Are there situations in which reclock might decide it is not needed or will refuse to play? (I don;t think so but I am very new to this)
The fact that blitz shows Default DirectSound Device is probably at the heart of this and may be linked to some attribute of the video (such as audio encoding) that I have not yet compared with C&I.
I will poke around some more tonight and compare the video file properties and perhaps find some more examples.

2012-01-12, 12:57 PM
Are there situations in which reclock might decide it is not needed or will refuse to play? (I don;t think so but I am very new to this)
Not that I'm aware of, but you never know. Could you get a dump of info about the video from MediaInfo and post it?

I'd also forget about ReClockOrNot for a moment (disable or uninstall it), and just reset ReClock's settings back to their defaults (ensuring it *always* loads with NPVR, even with the renderer set to default), and see if it works with Blitz that way?


2012-01-12, 07:09 PM
nailed it.

the files that weren't loading reclock had multichannel AC3 audio.
I had to enable "Accept bitstream formats" for it to load but reclock does not recommend this, nor enabling media speed correction for bitstream so perhaps I should just let it be for these files.

off to play some more.. cheers.

2012-01-12, 07:27 PM
You've got two choices.

1) Tell it to accept the bitstream formats and then try it with and without media speed correction: if your refresh rate is close enough chances are you won't notice any audio drop outs and everything will be fine. If your refresh rate is nowhere near what it needs to be (eg 50Hz when it should be playing at 23.976), then:

2) Change your audio decoder so it does the decoding itself rather than outputting a bitstream pass-thru. That'll feed ReClock with PCM and it can work its magic perfectly on it.

Option 2 is the ReClock author's preferred method. Which you pick depends on your circumstances and how much you care about the DolbyDigital/DTS/etc lights showing up on your amp. The audio quality will be the same in both cases.


2012-01-12, 09:32 PM
got it. I disabled all the bitstreaming passthrough in the LAV decoder and it works. I also disabled the auto A/V sync option as well whilst I was at it.
Now I understand the chain better, I will play around with the options as I would like to get a better downmix to stereo with more prominent voices through the TV.
I feed the HDMI from the graphics card into the TV, no fancy AV amp here, just 2 channel for music only.

Many thanks for your help on this.

2012-01-27, 07:36 PM
For various reasons, I was running a slightly older version of ReClock, but messing about today with the latest release (which has been out for ages), it appears to behave properly with NPVR. This means ReClockOrNot *might* not be needed anymore. Yay (if true).

The specific change in its logs might be this one: - 10/05/2011
* New: Allow more than one instance of ReClock (experimental)

In the past, I would see two instances of AC3filter in the system tray (one for mpeg audio, one for ac3), but only one copy of ReClock. If it didn't "get lucky" and be matched up with the instance of AC3filter actually in use for the current channel, then you got no sound. But now there seems to be two instances of ReClock too. And - so far - always sound.


2012-01-28, 04:21 PM
well it runs with 4 instance (1 green, 3 red) but I get bad audio stuttering with live BBC HD. The audio in renderer info keeps dropping out of "Dsound (bit perfect)" to "Dsound".

2012-01-28, 04:28 PM
Yeah, I was getting bad stuttering with it active over Live TV too. Had to re-enable ReClockOrNot :rolleyes:

I think the 1 green, 3 red will be because only one of them was linked to the active decoder and hence the graph. I only have decoders set for AC3 and mpeg, so only see two instances.


Lao Pan
2012-08-05, 10:59 AM
Hi Iain
Been using reclockornot since you released it but have been getting crashes on skipping which I reckon is a reclock problem - pity there is not much development going on.
Just installed NPVR 2.5.5 and found that it would no longer connect with files on the video server - looks as though reclock was hanging.
I was wondering if with using autorefresh and now having a TV with 600Hz refresh (I think) it was probably no longer necessary to use reclock, I never did use it for PAL speeddown. So uninstalled it for now - and files on server are loading OK now.

2012-08-05, 11:23 AM
I haven't used it myself (with NPVR) for a good few months now. AutoRefresh seems to get things fairly spot on, so the need for ReClock is greatly reduced.

I do miss is WASAPI audio support and auto toggling Windows audio between stereo and 5.1 depending on the source, but I can workaround that with ac3filter encoding Live TV to DD.