24p and audio sync issues - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Windows support (/forumdisplay.php?fid=59)
+---- Thread: 24p and audio sync issues (/showthread.php?tid=80247)
- neil.j1983 - 2010-11-13 18:55
gav1577 Wrote:Ok i stand corrected i can confirm using mpchc i have no sync problems
but then it puts 25fps videos out of sync. living in pal land, there's no ideal fix. i have mapped a button to audio sync adjust as my work around.
I imagine the devs will leave it till the new audio branch is done?
- Voyager - 2010-11-14 09:36
a11599 Wrote:To stress again, this is not a nice solution, just a dirty workaround to fix the behavior on my system, but might also be useful to others. Not tested on anything other than windows, but I think it should work on other platforms also.I tried this and it works very nicely for me. I don't have to configure the audio delay anymore for my HD 24p movies manually.
I think this workaround could be improved by taking parameters from advancedsettings.xml, e.g. the magnitude of the delay in ms (0 means that it's turned off) and the threshold (which you coded at 26). This way such solution could actually make it into SVN...
the fix - mikenova - 2010-11-14 09:55
Here comes a newbie question..
Where do i put the fix?
- Voyager - 2010-11-15 11:52
you can only apply such fixes (patches) if you have an SVN client and your own build environment.
- gav1577 - 2010-11-15 17:03
After doing some testing with a 250ms audio delay i found i would get random stutters and alot of dropped frames. Especially after skipping through a movie
about a second after i skip forward the video would stutter and drop about 3-5 frames sometimes more. If i reset the delay back to 0 no more dropped frames and smooth video again. Although setting the delay fixes the problem with sync
the random stutters/dropped frames are annoying so went back to using 50hz
refresh and and video (resync audio) i can live with the 4% speed up don't really notice it tbh
- Voyager - 2010-11-16 11:40
gav1577 Wrote:After doing some testing with a 250ms audio delay i found i would get random stutters and alot of dropped frames. Especially after skipping through a movie
does the stuttering also happen when you do not have "sync playback to display" turned on?
- Lister of Smeg - 2010-11-16 12:53
I have been having this same problem now since the Dharma Beta's.
It only occurs with DXVA2 & "auto adjust refresh" selected. So far i can only confirm that it affects 24p content as i don't have any others.
Mine is about a 200ms delay as far as i can tell and its with all 24p content.
P.S. I have turned off all post processing on my TV
Created trac ticket - Voyager - 2010-11-30 23:30
with all credits to a11599 I have updated his patch to be configurable through advancedsettings.xml and posted it on trac as a potential patch - to be looked at by the devs.
- a11599 - 2010-12-01 00:27
Wow, cool, I totally forgot about this thread. Nice addition with advancedsettings.xml. It would be better to find the root cause of this phenomenon, but in the meantime, this workaround will do it just as well.
As far as I can tell, it does not depend on DXVA, it happens with all 24p content here, "regular" 24p XviD SD .avi-s as well. (Maybe only with auto refresh rate enabled? Have not tested that.)
- KennethC - 2010-12-02 20:15
I am having this same issue. It would be great if this bug could be resolved before Dharma gets released or if the code change for advancedsettings.xml could be implemented.