Steps to achieve AV sync - please tell me I'm missing something (1 Viewer)

oldskoolhtpc

New Member
July 29, 2020
1
0
Home Country
United Kingdom United Kingdom
Country flag
Hello!!!

I use a handy app called catchin' sync to roughly check the AV sync of audio/video on my HTPC/TV. It's not as accurate as a dedicated opto-electronic calibrator but it's more than adequate for this application and much better than trying to do things by eye (even when the lack of sync is massively obvious, subjective tweaking is a rough ride ;-)

After setting up MP2 (auto refresh rate changing enabled) I checked how far ahead or behind audio is for different FPS/refresh rates.

This is what it (consistently and clearly) told me:
23FPS offset = 90 ms out of sync
24FPS
offset = 170 ms out of sync
25FPS
offset = -30 ms out of sync
29.97FPS
offset = -90 ms out of sync

These massive (and more importantly massively different) figures are not all that surprising IMHO. Most displays seem to perform very differently at different refresh rates (and that's even with most - if not all - configurable processing disabled).

The thing is, I couldn't find any way in MP2 to set different audio delays depending on the refresh rate.

Instead i had to come up with a ludicrous workaround (see end of post in case you really want to know!!!)***

The thing is, this isn't a subtle effect. This isn't even arguing the virtues of MadVR vs LAV. This is a massive/obvious/very annoying problem that probably affects anyone who has refresh rate switching enabled, so I have to ask:

(1) Are people just disabling refresh rate switching, sticking to one refresh rate and setting one offset value in LAV Audio if needed? (Simple life but not exactly videophile :) )
(2) Are people using a similarly convoluted workaround to me! (You poor fellow OCD suffering people!)
(3) Are people actually tolerating/not noticing as much as 100+ ms of sync disparity (need glasses, much???!!!!)
(4) Something else? Am I missing something? Is there an easier way to achieve this? (I am quite stupid.)

I'm confident the answer is (4) and someone will enlighten me :) ... Because I'm struggling to believe (1) when we all go to such great lengths to optimise our setups, yet even MP1 doesn't seem to have a built-in method to resolve this pretty major requirement after years and years and years (and years and....) of development.

I also struggle to believe (3). Again, this is a massive/obvious/very annoying problem that probably affects anyone who has refresh rate switching enabled. It's a show-stopper. Perhaps people just give up with HTPC or give-in to compromise? I still find that all hard to believe....

One further question:

(5) Whilst looking at this it became apparent that not only is it essential to solve this problem to resolve very significant lip sync issues, but that reclock (or something similar) is absolutely critical to solve another sync issue: drift in sync due to the inevitable mismatch between GPU and audio clocks. I believe J River has the ultimate solution in VideoClock, which uses the madVR info about the display clock to keep things completely in sync end-to-end. And note, this has nothing to do with the other intended functions of reclock but it is another thing that, surely, should just be part of any serious HTPC software?????

Anyway, please help me out here with this big (if not THE biggest ) first wold question of all time :)

ATB,
JC

***
(1) Install reclock and make it the audio renderer in MP2, set output to directshow and use it's trigger VBScript function
(2) Install EqualizerAPO (AFAIK sits between audio renderer and audio driver and allows a delay, specified in a text file in ms, to be added to the audio path and can be changed in real-time at any point)
(3) Create VBScript to change the delay setting in the EqualizerAPO text file depending on the fps reported by reclock
(4) If a negative delay is needed this must be set in LAV Audio (see below), so pick the highest figure. A simple calculation is then needed to achieve the required overall offset for each fps

Note:
  • One reason this is necessary is because LAV Audio delay cannot be changed during playback - hence the need for something like EqualizerAPO to adjust the delay once the refresh rate is known.
  • If negative settings are needed (audio is late compared to video) - as in my case for 29.973 - you have to do this in LAV Audio. Not sure how it achieves this as presumably it actually means delaying the video (maybe it 'talks' to LAV Video?)
  • Reclock has to output to directsound for EqualizerAPO to work (hence WASAPI exclusive/bit perfect is not possible unfortunately)
  • From what I gather, reclock messes up live TV as it has no knowledge of the broadcaster clock, so this method may be a non-starter for people with TV cards (including me!), but I need to look into this.
  • There's no x64 version of relock so this method dies with x86?
  • This workaround only addresses the need to establish a fixed offset for different fps/refresh rate combinations. One improvement would be to, say, make on the fly adjustments with a remote to allow one-off av sync adjustments (i.e. for poorly produced videos) whilst watching. The delay could be stored in a config file that’s associated with the video (for subsequent recall). Though I haven’t established whether I can do this yet.
 

Users who are viewing this thread

Similar threads

Hi @azzuro, I don’t know what was wrong with loading onto my new HTPC. After many days of trying to get MePo to work, I’m afraid I gave up and jumped ship to Kodi - which worked first time without problems. After 10 years with Mediaportal, it was a huge shame to leave but I couldn’t get it to work at all with my new PC with integrated...
Hi @azzuro, I don’t know what was wrong with loading onto my new HTPC. After many days of trying to get MePo to work, I’m afraid I...
Hi, I've been using MediaPortal 1 for many years on an HTPC with a graphics card, but since switching to a Dell Optiplex 5080 with...
Replies
20
Views
641
MP1 MP2 New to Media Portal DE
Thank you for the reply. It looks like a codec mess. the LAV audio decoder / playback has a -350 delay on the audio on one set of channels and is +150 on the others lol. Thats so strange! I didn't have time to mess with it much yesterday but I was able to see where the problems are more. Updated drivers for AMD Radeon V5800 but...
Thank you for the reply. It looks like a codec mess. the LAV audio decoder / playback has a -350 delay on the audio on one set of...
Hello Media Portal people! I was running windows 7 box with Silicone Dust tuner & WMC. Worked great for many years. I tried KODI...
Replies
2
Views
861
Been testing and mostly solved by using Automatic - yet this morning the TV recording of BBC1 Andrew Marr went out of sync. Windows 7 worked lovely windows 10 on Intel NUC seems to have all sorts of issues (Mostly Windows 10 - MS deciding that it knows best and I got a update/reboot when I'd told it not too!)
Been testing and mostly solved by using Automatic - yet this morning the TV recording of BBC1 Andrew Marr went out of sync...
Have an issue with several AAC 2.0 files going out of sync Video plays fine, audio gets delayed. that is video is ahead of sound -...
Replies
2
Views
2K
Updated with the guide to install an Intel HDMI audio Device that can stream 192kHz/24bit. If you have any question, feel free to reply here.
Updated with the guide to install an Intel HDMI audio Device that can stream 192kHz/24bit. If you have any question, feel free to...
I switched to MePo 2 with the release of MePo 2.1.1, and in the last months I focused on learning the program and fine tuning it...
Replies
8
Views
2K
  • Locked
So I started testing on a fully patched/updated Windows Server 2016 and so far no blockyness or stuttering! I know it is not officially supported, but since it is a souped-up version of Windows 10 I think it will basically be the same ... At my first attempt of installing MP2.1 I got an error message - I forgot the exact number - but...
So I started testing on a fully patched/updated Windows Server 2016 and so far no blockyness or stuttering! I know it is not...
So I waited about a month till I decided to bite the bullet and upgrade from Spring 2016 to MP2.1 Release candidate, hoping it...
Replies
33
Views
5K
Top Bottom