Audio/video delay values work in MKV but not in MP4? >>

techna.site

Our Forum Techna



SearchSearch   Users   Registration   Entrance
Today: 12.09.2025 - 06:34:57
Pages:  1  

Audio/video delay values work in MKV but not in MP4?

AuthorMessage

Club E31

users




Statistics:
Messages: 96
Registration: 06.06.2001

Hello everyone. I need help syncing a video stream with an audio stream that don't come from the same source. So here's what I've done so far: I have video.mp4 and audio.mp4. I muxed them with 0 delay using yamb to get muxed.mp4 I opened muxed.mp4 with MPC-HC and VLC and after some guessing I finally concluded that the delay is +1700ms. That value works great throughout the stream using both players. I muxed video.mp4 and audio.mp4 with yamb and megui mp4 muxer using the guessed value of 1700ms, but the resulting mp4 file is unsynced on both cases, using both MPC and VLC. In fact, it's not taking the delay into account at all, because when I manually set the delay to +1700ms again from the players the sound is in sync with the video again. I did the same thing but muxing to MKV instead, and it worked perfectly. Am I doing something wrong, or is audio/video delay not supported by the MP4 container? Thanks in advance!

---------------------
Message # 1 21.05.23 - 12:15:55
RE: Audio/video delay values work in MKV but not in MP4?

saidgee

users




Statistics:
Messages: 129
Registration: 04.07.2002

A while ago I think I found a problem with MPC-HC and MP4 audio delays but never got around to investigating because about the only time I'd open an MP4 with anything is to remux it as an MKV. Your post prompted me to check though, and yes, there seems to be an issue with MPC-HC. Anyway.... Yamb seems to do some odd things. In fact it's got me close to suicidal trying to create an MP4 in the past. I just tried remuxing using YAMB and couldn't get it to apply an audio delay no matter how I went about it. It doesn't seem to be an MP4Box problem as I replaced those files in YAMB's installation folder with the ones MeGUI uses and Yamb still crashed every second time a tried to create an MP4 and still no audio delay...... Edit: Further investigation (checking the log file) indicates Yamb simply isn't adding the delay to the MP4Box command line. There's probably other MP4Box GUIs which actually work properly, but I tried the Adaptive Muxer and the MP4 muxer built into MeGUI and they both worked as they should. According to MeGUI's log file the audio delay was being used in the MP4Box command line. Finally I checked the MP4s using MediaInfo and there was no audio delay specified for the MP4 Yamb created but there definitely was one for the MP4 MeGUI created. Only problem is, MPC-HC completely ignored it. I tried using Haali media splitter instead of the internal one and nothing changed. VLC played the MP4 using the correct delay though. I tried the same MP4 on another PC and MPC-HC ignored the delay then too. I've not had that problem with MKVs. Maybe it's a bug. I'm using MPC-HC 1.6.5.6366. If it is a bug I'd assume someone else has reported it already given I found it and I probably only open a handful of MP4s files using MPC-HC over a year.

---------------------
Message # 2 21.05.23 - 12:25:22
RE: Audio/video delay values work in MKV but not in MP4?

gateguardian

users




Statistics:
Messages: 10
Registration: 09.01.2003

Aha! So it's a software bug and not some container shortcoming. I guess I'll stick with MKV for the time being then when I face this issue. Thanks a lot, I was really starting to lose my mind over this!

---------------------
Message # 3 21.05.23 - 12:32:14
RE: Audio/video delay values work in MKV but not in MP4?

MikeP@Autogeek

users




Statistics:
Messages: 278
Registration: 03.25.2003

I posted a question regarding MPC-HC and MP4 audio delay in the MPC-HC thread but so far my post must be invisible to others. ;)

---------------------
How-To Videos Articles I've Written Mike Phillips Director of Training 1-800-869-3011 ext 206 "Find something you like and use it often"
Message # 4 21.05.23 - 12:37:12
RE: Audio/video delay values work in MKV but not in MP4?

LittleBlueBMW

users




Statistics:
Messages: 2,558
Registration: 12.11.2003

cool, let's hope someone answers :) link?

---------------------
"If you go backwards through the Pearly Gates in a giant fireball, that's a cool way to die." -Richard Hammond
Message # 5 21.05.23 - 12:45:05
RE: Audio/video delay values work in MKV but not in MP4?

Deutscher Konnt

users




Statistics:
Messages: 577
Registration: 11.09.2002

Post numbers 111 and 114.

---------------------
Message # 6 21.05.23 - 12:51:15
RE: Audio/video delay values work in MKV but not in MP4?
New to DivX 6 : Previous topicNext topic: MPEG to DVD question
Pages:  1  

Message
Name
Message

Click on the dot next to the name to address the participant

           
   
The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants