DCP's Audio out of sync

Anything and everything to do with DCP-o-matic.
Sam
Posts: 9
Joined: Tue Jul 23, 2024 11:41 pm

DCP's Audio out of sync

Post by Sam »

Hello,

I am trying to figure out why my DCPs consistently have sync issues with the audio. I have tried downloading the test version of DCP-o-matic and adding delay to the audio which does help but I have to trial and error the delay time wasting hours of time and generating multiple DCPs. Is this a common problem? I can't figure why it happens with multiple different sources.

Thank you
Sam
Posts: 9
Joined: Tue Jul 23, 2024 11:41 pm

Re: DCP's Audio out of sync

Post by Sam »

If this offers any clue, my process is:
DVD (external Blu-ray drive) -> MakeMKV -> DCP-o-matic
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: DCP's Audio out of sync

Post by carl »

Are you seeing the bad sync on a projector, or some other way? Which exact version numbers of DCP-o-matic have you tried?
cvila
Posts: 8
Joined: Tue Jul 16, 2024 11:54 am

Re: DCP's Audio out of sync

Post by cvila »

What is the amount of out-of-syncness? Barely noticeable (1-2 frames) or more obvious (seconds)?
Does it go more out of sync as the movie advances or does the delay stay the same troughout? There could be multiple causes
Are the DVDs PAL or NTSC? what framerate?
I woud first convert the mkv to more "pro" format like ProRes + wav and check sync before using DoM.
Kewl
Posts: 114
Joined: Mon Jan 17, 2022 5:13 pm
Location: Montreal, Canada

Re: DCP's Audio out of sync

Post by Kewl »

What does Mediainfo say about the file out of MakeMKV?
Sam
Posts: 9
Joined: Tue Jul 23, 2024 11:41 pm

Re: DCP's Audio out of sync

Post by Sam »

carl wrote: Wed Jul 24, 2024 8:18 am Are you seeing the bad sync on a projector, or some other way? Which exact version numbers of DCP-o-matic have you tried?
Hi Carl,

Thank you for the reply. I am seeing a bad sync on the projector and in the DOM player. I am using 2.17.19 but I was getting the same problem with 2.16.x
Sam
Posts: 9
Joined: Tue Jul 23, 2024 11:41 pm

Re: DCP's Audio out of sync

Post by Sam »

cvila wrote: Wed Jul 24, 2024 10:38 am What is the amount of out-of-syncness? Barely noticeable (1-2 frames) or more obvious (seconds)?
Does it go more out of sync as the movie advances or does the delay stay the same troughout? There could be multiple causes
Are the DVDs PAL or NTSC? what framerate?
I woud first convert the mkv to more "pro" format like ProRes + wav and check sync before using DoM.
Hi cvila,

Of the 2 DCPs I am working on, one shows a slight (couple frame) sync issue and the other is way off - like over 10 seconds. Both seem to maintain the level of sync without drifting throughout.

I am not sure if the DVDs are PAL or NTSC - I will try and figure that out though. The DCP with slight issue has a framerate of 24 fps while the bigger sync issue DCP has a framerate of 30 fps. Here is a potential theory: I am using an external Blu-Ray drive to read the discs. But I am trying to rip DVDs, not Blu-Rays. Could that have something to do with it?

I will try and figure out how to convert my MKV file into ProRes + wav.

Thank you for your reply.
Sam
Posts: 9
Joined: Tue Jul 23, 2024 11:41 pm

Re: DCP's Audio out of sync

Post by Sam »

Kewl wrote: Wed Jul 24, 2024 11:10 am What does Mediainfo say about the file out of MakeMKV?
Hi Kewl,

Here is the Mediainfo for one of my MKV files:

Is it odd that there are 5 different audio streams and only one video stream?

General
Unique ID : 19039017386331365853151300459306792938 (0xE52C807D6A152BA7F00DB0BB8A9B7EA)
Complete name : C:\Users\sb15\Videos\MKV Files\A4_t00.mkv
Format : Matroska
Format version : Version 2
File size : 4.00 GiB
Duration : 1 h 53 min
Overall bit rate mode : Variable
Overall bit rate : 5 062 kb/s
Frame rate : 23.976 FPS
Encoded date : 2024-07-23 07:13:40 UTC
Writing application : MakeMKV v1.17.7 win(x64-release)
Writing library : libmakemkv v1.17.7 (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 : M=3, N=12
Codec ID : V_MPEG2
Codec ID/Info : MPEG 1 or 2 Video
Duration : 1 h 53 min
Bit rate mode : Variable
Bit rate : 3 832 kb/s
Maximum bit rate : 9 800 kb/s
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 23.976 (23976/1000) FPS
Original frame rate : 29.970 (30000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.462
Stream size : 3.03 GiB (76%)
Language : English
Default : No
Forced : No
Original source medium : DVD-Video

Audio #1
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 : 1 h 53 min
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 363 MiB (9%)
Title : Surround 5.1
Language : English
Service kind : Complete Main
Default : Yes
Forced : No
Original source medium : DVD-Video
Dialog Normalization : -26 dB
compr : 8.79 dB
dynrng : 5.60 dB
cmixlev : -3.0 dB
surmixlev : -3 dB
dialnorm_Average : -26 dB
dialnorm_Minimum : -26 dB
dialnorm_Maximum : -26 dB

Audio #2
ID : 3
ID in the original source medium : 189 (0xBD)129 (0x81)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Format settings : Dolby Surround
Codec ID : A_AC3
Duration : 1 h 53 min
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 : 156 MiB (4%)
Title : Stereo
Language : English
Service kind : Complete Main
Default : No
Forced : No
Original source medium : DVD-Video
Dialog Normalization : -29 dB
compr : 10.56 dB
dynrng : 5.74 dB
dsurmod : Dolby Surround encoded
dialnorm_Average : -29 dB
dialnorm_Minimum : -29 dB
dialnorm_Maximum : -29 dB

Audio #3
ID : 4
ID in the original source medium : 189 (0xBD)130 (0x82)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Format settings : Dolby Surround
Codec ID : A_AC3
Duration : 1 h 53 min
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 : 156 MiB (4%)
Title : Stereo
Language : French
Service kind : Complete Main
Default : No
Forced : No
Original source medium : DVD-Video
Dialog Normalization : -31 dB
compr : 4.86 dB
dynrng : 2.57 dB
dsurmod : Dolby Surround encoded
dialnorm_Average : -31 dB
dialnorm_Minimum : -31 dB
dialnorm_Maximum : -31 dB

Audio #4
ID : 5
ID in the original source medium : 189 (0xBD)131 (0x83)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Format settings : Dolby Surround
Codec ID : A_AC3
Duration : 1 h 53 min
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 : 156 MiB (4%)
Title : Stereo
Language : English
Service kind : Complete Main
Default : No
Forced : No
Original source medium : DVD-Video
Dialog Normalization : -24 dB
compr : 11.18 dB
dynrng : 6.02 dB
dsurmod : Dolby Surround encoded
dialnorm_Average : -24 dB
dialnorm_Minimum : -24 dB
dialnorm_Maximum : -24 dB

Audio #5
ID : 6
ID in the original source medium : 189 (0xBD)132 (0x84)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Format settings : Dolby Surround
Codec ID : A_AC3
Duration : 1 h 53 min
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 : 156 MiB (4%)
Title : Stereo
Language : English
Service kind : Complete Main
Default : No
Forced : No
Original source medium : DVD-Video
Dialog Normalization : -24 dB
compr : 11.76 dB
dynrng : 6.02 dB
dsurmod : Dolby Surround encoded
dialnorm_Average : -24 dB
dialnorm_Minimum : -24 dB
dialnorm_Maximum : -24 dB

Text #1
ID : 7
ID in the original source medium : 189 (0xBD)32 (0x20)
Format : VobSub
Codec ID : S_VOBSUB
Codec ID/Info : Picture based subtitle format used on DVDs
Duration : 1 h 46 min
Bit rate : 3 558 b/s
Frame rate : 0.225 FPS
Count of elements : 1431
Stream size : 2.70 MiB (0%)
Language : English
Default : Yes
Forced : No
Original source medium : DVD-Video

Text #2
ID : 8
ID in the original source medium : 189 (0xBD)33 (0x21)
Format : VobSub
Codec ID : S_VOBSUB
Codec ID/Info : Picture based subtitle format used on DVDs
Duration : 1 h 44 min
Bit rate : 3 026 b/s
Frame rate : 0.194 FPS
Count of elements : 1219
Stream size : 2.27 MiB (0%)
Language : Spanish
Default : No
Forced : No
Original source medium : DVD-Video

Text #3
ID : 9
ID in the original source medium : 224 (0xE0)
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Duration : 1 h 46 min
Bit rate : 113 b/s
Frame rate : 0.223 FPS
Count of elements : 1420
Stream size : 88.2 KiB (0%)
Language : English
Default : No
Forced : No
Original source medium : DVD-Video

Menu
00:00:00.000 : en:Chapter 01
00:04:15.388 : en:Chapter 02
00:08:21.367 : en:Chapter 03
00:15:21.287 : en:Chapter 04
00:21:36.628 : en:Chapter 05
00:23:56.268 : en:Chapter 06
00:26:07.599 : en:Chapter 07
00:34:14.352 : en:Chapter 08
00:36:43.401 : en:Chapter 09
00:39:59.864 : en:Chapter 10
00:44:50.387 : en:Chapter 11
00:50:01.932 : en:Chapter 12
00:53:13.223 : en:Chapter 13
00:56:40.997 : en:Chapter 14
01:01:27.717 : en:Chapter 15
01:06:12.468 : en:Chapter 16
01:09:58.360 : en:Chapter 17
01:15:06.902 : en:Chapter 18
01:16:57.145 : en:Chapter 19
01:20:54.549 : en:Chapter 20
01:22:38.286 : en:Chapter 21
01:25:47.509 : en:Chapter 22
01:29:45.279 : en:Chapter 23
01:31:55.877 : en:Chapter 24
01:32:51.732 : en:Chapter 25
01:36:53.507 : en:Chapter 26
01:42:34.848 : en:Chapter 27
01:47:02.783 : en:Chapter 28
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: DCP's Audio out of sync

Post by carl »

Can you send the metadata.xml and log files from the project where you made the one that's 10s out of sync? carl@dcpomatic.com
Sam
Posts: 9
Joined: Tue Jul 23, 2024 11:41 pm

Re: DCP's Audio out of sync

Post by Sam »

carl wrote: Thu Jul 25, 2024 6:47 pm Can you send the metadata.xml and log files from the project where you made the one that's 10s out of sync? carl@dcpomatic.com
Hi Carl,

Yep here are the files:

https://drive.google.com/drive/folders/ ... sp=sharing