MakeMKV causing audio sync issues

Please post here for issues related to DVD discs
Post Reply
Chris Hooper
Posts: 4
Joined: Sat Nov 02, 2024 4:02 am

MakeMKV causing audio sync issues

Post by Chris Hooper »

Does anyone know what would cause MakeMKV to rip a DVD that was originally 29.97 FPS to 29.761 FPS?
I de-interlaced the first DVD of 4 from the 1st season of the 1988 television show of War of the Worlds using QTGMC in AviSynth+ via VirtualDub2 and even an FFmpeg batch filed script after ripping it with MakeMKV with no problem, but on this 2nd DVD it won't rip it correctly, so when I de-interlace, it throws the audio completely out of sync.
Here's the media info from the ripped from DVD MakeMKV file:

Code: Select all

General
Unique ID                                : 77710513387320379362954125602378630439 (0x3A76801EF97DEDD12F98773BA32A4527)
Complete name                            : C:\Users\chris\Videos\MakeMKV Rips\A1_t00.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 1.89 GiB
Duration                                 : 45 min 15 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 5 981 kb/s
Frame rate                               : 29.761 FPS
Encoded date                             : 2024-11-01 00:44:06 UTC
Writing application                      : MakeMKV v1.17.8 win(x64-release)
Writing library                          : libmakemkv v1.17.8 (1.3.10/1.5.2) win(x64-release)

Video
ID                                       : 1
ID in the original source medium         : 224 (0xE0)
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@Main
Format settings                          : CustomMatrix / BVOP
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Custom
Format settings, GOP                     : Variable
Codec ID                                 : V_MPEG2
Codec ID/Info                            : MPEG 1 or 2 Video
Duration                                 : 45 min 14 s
Bit rate mode                            : Variable
Bit rate                                 : 5 783 kb/s
Maximum bit rate                         : 9 800 kb/s
Width                                    : 720 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Variable
Frame rate                               : 29.761 FPS
Original frame rate                      : 29.970 (30000/1001) FPS
Standard                                 : Component
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.562
Time code of first frame                 : 00:59:59;00
Time code source                         : Group of pictures header
Stream size                              : 1.83 GiB (97%)
Language                                 : English
Default                                  : No
Forced                                   : No
Color primaries                          : BT.601 NTSC
Transfer characteristics                 : BT.601
Matrix coefficients                      : BT.601
Original source medium                   : DVD-Video

Audio
ID                                       : 2
ID in the original source medium         : 189 (0xBD)128 (0x80)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 45 min 15 s
Bit rate mode                            : Constant
Bit rate                                 : 192 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 62.1 MiB (3%)
Title                                    : Stereo
Language                                 : English
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No
Original source medium                   : DVD-Video
Dialog Normalization                     : -27 dB
compr                                    : 6.02 dB
dynrng                                   : 6.02 dB
dsurmod                                  : Not Dolby Surround encoded
dialnorm_Average                         : -27 dB
dialnorm_Minimum                         : -27 dB
dialnorm_Maximum                         : -27 dB

Menu
00:00:00.000                             : en:Chapter 01
00:01:29.355                             : en:Chapter 02
00:04:26.633                             : en:Chapter 03
00:10:26.492                             : en:Chapter 04
00:19:09.047                             : en:Chapter 05
00:27:25.110                             : en:Chapter 06
00:38:26.304                             : en:Chapter 07
00:44:24.662                             : en:Chapter 08
Chris Hooper
Posts: 4
Joined: Sat Nov 02, 2024 4:02 am

Re: MakeMKV causing audio sync issues

Post by Chris Hooper »

2 weeks later and no reply.
I didn't think anyone would know why or have an answer. :lol:
dcoke22
Posts: 3322
Joined: Wed Jul 22, 2020 11:25 pm

Re: MakeMKV causing audio sync issues

Post by dcoke22 »

I have no idea why you're seeing what you're seeing. I wonder, however, if you could use ffmpeg or Handbrake to force the frame rate to 29.97?
flojo
Posts: 142
Joined: Thu Jun 22, 2023 4:27 am
Location: El Paso

Re: MakeMKV causing audio sync issues

Post by flojo »

I assume the first/last field for the file is being discarded but, why would this cause audio sync problems? The only framerate'ish like attribute of audio is the bytes per second, i.e. 2 * 44100 * 2 = 176400. If there is a correlation created by the container, then the muxer should account for this (or preferably not if you think about it). Could you possibly have a player problem?
Chris Hooper
Posts: 4
Joined: Sat Nov 02, 2024 4:02 am

Re: MakeMKV causing audio sync issues

Post by Chris Hooper »

Definitely not a player problem. I check everything with the latest version of VLC before sending it over to be scanned in my PLEX folder. I tried several different players, all with the same result.
I currently use QTGMC and Vapoursynth via Hybrid to de-interlace, as it's the best way to de-interlace. I don't use Handbrake or anything else because I want it to be de-interlaced the best way properly.
It's weird because when I look at the MediaInfo of the Disc image itself directly from the disc, and the iso itself if I create an iso image, everything is showing correctly. But the minute I create the mkv file using MakeMkv, it changes the FPS.
It seems to be on the two DVD discs that I've tried so far from this DVD collection of the 1988 TV series War of the Worlds.
The first DVD disc was no issue at all. the 2nd and 3rd discs however, do this. I gave up on it after weeks of trying everything and went onto doing other media. Such as right now I'm doing the 1987 TV Series of Friday the 13th, having no issues at all.
I've tried asking around everywhere and no one seems to know any answer, so they'll give suggestions on things that I've already tried, or just completely avoid it because they themselves have no idea.
kaysee
Posts: 22
Joined: Wed Apr 07, 2021 12:22 am

Re: MakeMKV causing audio sync issues

Post by kaysee »

What happens if you use MKVMerge (in the MKVToolNix package) to create the MKV file from the relevant VOB files?
Chris Hooper
Posts: 4
Joined: Sat Nov 02, 2024 4:02 am

Re: MakeMKV causing audio sync issues

Post by Chris Hooper »

The exact same thing. I've tried that.
kaysee
Posts: 22
Joined: Wed Apr 07, 2021 12:22 am

Re: MakeMKV causing audio sync issues

Post by kaysee »

It would be easier to debug this if you were first copying the DVD as DVD files, not immediately converted to MKV files. Then you could get an ffprobe report for the VOB files to check the first copies. You might try ffprobe on the relevant VOB files as they exist on the DVD before copying.
dcoke22
Posts: 3322
Joined: Wed Jul 22, 2020 11:25 pm

Re: MakeMKV causing audio sync issues

Post by dcoke22 »

I still don't know why MakeMKV does what it does. However, I was recently reading Joel Hruska's writings about trying to upscale Star Trek: Deep Space Nine. He uses DVD Decrypter to get data off the DVDs. He mentions that if you use MakeMKV with DS9, most of the time the episodes run at 23.976fps but occasionally there are sections that go to 29.97fps. When that happens, his whole workflow breaks.

Far Beyond the Stars: Improving Motion, Image Quality in the DS9 Upscale Project

See the section titled: Why Starting With MKV Files Won't Work
Post Reply