﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
13494	Add framerate-based sync setting	madscientist159	Peter Bennett	"I have a bit of an oddball setup* where the audio always leads the video by a specific number of frames, not by a fixed number of milliseconds.  As I also use variable refresh rates (set automatically by the recording being played) this can range from annoying to completely unwatchable, unless one keeps a table of known offsets and adjusts the audio sync for each recording when it starts.

Needless to say this is a pain and makes MythTV nearly unusable.  I've put together this patch to make it all work again -- it adds a new (hidden) per-frontend setting to the database called VideoSyncDelayFrames, and automatically combines it with the existing audio sync setting.

It's fairly crude, this is my first time hacking on the MythTV codebase.  If there's a better way to do what I'm trying to do suggestions are quite welcome -- at least my old TV recordings are watchable again in the meantime!

Note this has the side effect of showing the ""base"" A/V sync value when you go to the Adjust Audio Sync screen.  I'm torn -- I like seeing the starting value, but at the same time it makes adjusting A/V sync more complex since you need to know the FPS of the recording to make an informed adjustment.

* It's a projector and custom (homebrew) 8 channel speaker system hung directly off the frontend.  The translator boxes between the frontend and the projector (and maybe the logic board in the projector too) are what seem to be buffering enough frames to cause a very noticeable A/V desync."	Patch - Feature	closed	minor	unknown	MythTV - Video Playback	v29-fixes	low	Won't Fix		Mark Kendall	0
