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 > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd October 2019, 21:36   #1  |  Link
Danette
Registered User
 
Join Date: Apr 2013
Posts: 346
Reversing Audio Delay In MKV File

I have numerous x264 MKV files where an audio delay was applied during muxing (accidentally left the box checked in MKVBatch). Unfortunatley, demuxing the MKV and then muxing it with the opposite audio delay (a negative) does not quite do it, in either MKVBatch or MKVToolNix.

Is there a code in the MKV file that can simply be removed to strip out any delay instructions ...or is this too much wishful thinking?

Any suggestions would be appreciated.

Last edited by Danette; 23rd October 2019 at 21:40.
Danette is offline   Reply With Quote
Old 23rd October 2019, 21:45   #2  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
I have no idea at all if this will work, but, have you tried muxing with delay of 0.0 ?,
It kinda depends on how the delay works.
(maybe delay is just a number, make it zero and maybe removed, try it).

EDIT: OK, Sneaker gave more informed answer below.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 23rd October 2019 at 21:48.
StainlessS is offline   Reply With Quote
Old 23rd October 2019, 21:46   #3  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Do not demux. Mux from mkv to mkv using mkvmerge with the negate of the delay you originally used.

If you demux all delay info gets lost. It will work only if all streams were aligned to each other to begin with and you only applied positive delays to the audio.

Last edited by sneaker_ger; 23rd October 2019 at 21:48.
sneaker_ger is offline   Reply With Quote
Reply

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 16:20.


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