This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] MKV (H.264/ACC) for Plex audio sync issues
#9
While encoding a 34gb file I created by appending these two files I thought I found the problem.
Those files seem to be vfr and interlaced which is a bad combi.
Looking at the time codes of the file Toki.avi file:
# timecode format v2
timecode  displaytime
  0 + 33
  33 + 34
  67 + 33
  100 + 33
  133 + 34
  167 + 33
  200 + 34
  234 + 33
  267 + 33
  300 + 34
  334 + 33
  367 + 33
  400 + 34
  434 + 33
  467 + 34
  501 + 33
  534 + 33
  567 + 34
  601 + 33
  634 + 33
  667 + 34
  701 + 33
  734 + 33
  767 + 34
  801 + 33
  834 + 34
  868 + 33
  901 + 33
....
(added the display time of each frame)
Everything seems to be okay since in average one would still get 33.6ms per frame (= 3000/1001 fps), but my guess is that your source might have larger glitches in the time codes which might be what causes the problem. Since the source isn't flagged as vfr Hybrid assumes it to be cfr and uses the average fps.
So the obvious solution would be to tell Hybrid to simply use the time codes of the input and be done with that. Problem is that as soon as you change the frame count that isn't possible any more. So whenever you bob or interpolate to another frame rate and thus change the frame count the input frame count would be ignored by Hybrid.
Since Hybrid handles audio and video separately it's not really capable of compensating this delay FFmpeg or Handbrake based tool might be better suited for this, but my guess is that anything that is Vapoursynth or Avisynth based won't be able to bob and keep the content sync.

So now after encoding the file I looked at the output and the output plays sync here. (I looked at the woman speaking at the end of the clip.)
Here's a link:
https://drive.google.com/open?id=1mWwA1x...iWCZzIEi0r
to the 4,4GB file I encoded.

Some glitches in the time codes might still be the cause of your sync issues, but with the given files I'm not able to reproduce the issue. So my recommendation would be to try a Handbrake or FFmpeg based tool which encodes Audio&Video at the same time and thus can to better error handling.

Cu Selur

Ps.: To be sure that you can use the same tools I used I'll send you a link via PM to my current dev version that I used to encode the file.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
RE: MKV (H.264/ACC) for Plex audio sync issues - by Selur - 13.05.2020, 19:42

Forum Jump:


Users browsing this thread: 4 Guest(s)