Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Hardware & Software > Software players

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 27th August 2007, 21:02   #10  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,643
Quote:
Originally Posted by madshi View Post
Can anybody with SVN access please upload a little patch for me? I've done the changes to Casimir's SVN, but I don't know SVN well enough to "upload" something.

http://madshi.net/dtsac3source.zip

Contained is a new version of DTSAC3Source.cpp (together with a new compiled dtsac3source.ax). There are 3 changes in the source code:

(1) m_AvgTimePerFrame calculation was incorrect for AC3.
(2) m_AvgTimePerFrame calculation was incorrect for DTS.
(3) Fix for problems with audio sync with Blu-Ray/HD DVD DTS files.

The problem with (3) is this: Usually 1536kbit/s DTS tracks have 2013 bytes per frame. But DTS tracks taken from HD DVD and Blu-Ray strangely only have 2012 bytes per frame. DTSAC3Source handled this mathematically correctly. But audio sync slowly drifted away from the video. We have to mathematically handle the 2012 frames as if they were 2013 bytes long to keep audio sync while seeking.
I would like to include this patch in my patched MPC build. I have looked at the code changes (compared to guliverkli SVN). Are you sure your patch doesn't break parsing of regular AC3/DTS stuff? Because framesize and bytesperframe values are much bigger now (multiplied by magic numbers).
__________________
MPC-HC 2.1.7.2
clsid is offline  
 

Tags
dxva, h264, home cinema, media player classic, mpc-hc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:08.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.