Posts: 2,809
Threads: 50
Joined: 2015 Jan
Thanks: 1876
Given 1010 thank(s) in 648 post(s)
Good.
One thing you can do is restore every track with the SC logo included.
Once you mux, just put on a delay of -21s or whatever the time is in the mkv. This will hide the SC logo from playing, and leave all audio and video untouched.
Posts: 1,224
Threads: 51
Joined: 2019 Oct
Thanks: 943
Given 663 thank(s) in 385 post(s)
Country:
2020-04-19, 05:57 AM
(This post was last modified: 2020-04-19, 06:33 AM by pipefan413.)
Posts: 1,224
Threads: 51
Joined: 2019 Oct
Thanks: 943
Given 663 thank(s) in 385 post(s)
Country:
Yeah, so I really don't think adjusting pitch in Audacity is going to work here. It sounds absolutely atrocious not matter what I do. It probably doesn't help that it sounded extremely tinny to begin with, but it's even worse after the pitch correction.
Hopefully the NTSC DVD audio isn't pitch-shifted so I can trim that down instead.
Posts: 2,809
Threads: 50
Joined: 2015 Jan
Thanks: 1876
Given 1010 thank(s) in 648 post(s)
2020-04-19, 12:43 PM
(This post was last modified: 2020-04-19, 01:19 PM by Stamper.)
Posts: 1,224
Threads: 51
Joined: 2019 Oct
Thanks: 943
Given 663 thank(s) in 385 post(s)
Country:
2020-04-19, 03:08 PM
(This post was last modified: 2020-04-19, 03:27 PM by pipefan413.)
Posts: 2,809
Threads: 50
Joined: 2015 Jan
Thanks: 1876
Given 1010 thank(s) in 648 post(s)
As you will be syncing tracks from the NTSC disc, will you sync all of them? They should all play with the same delay.
Keep the Dolby Digital as it makes your project universal, and also the NTSC DTS as it may be differently encoded from the DTS-HD (which I don't trust).
Posts: 1,224
Threads: 51
Joined: 2019 Oct
Thanks: 943
Given 663 thank(s) in 385 post(s)
Country:
2020-04-19, 04:33 PM
(This post was last modified: 2020-04-19, 04:54 PM by pipefan413.)
The main problem to solve is the inability to trim off the precise number of frames for the two respective logos.
To sync the audio with the old logo to video with the new logo without re-encoding anything, I have to trim off precisely the right number of video frames' worth of time from each (e.g. in the 2018 French BD, 517 frames = 21.563208333 seconds). However, you can only trim video at keyframes, which are determined by the encoder, because all the resulting split parts need to begin on a keyframe to be decoded correctly. In my Snowpiercer resyn this is a non-issue because I got lucky and there happens to be a keyframe at precisely the correct place, but with Near Dark, *none* of the sources have a keyframe in the right place. This is less problematic for the audio sources because I can trim them more precisely using ms timestamps instead, but they still need to sync with the video track which I can't trim 100% accurately.
I therefore need to either:
1. Not trim the video track at all, and instead losslessly join appropriately encoded versions of the trimmed out 2018 SC logo audio to the start of each accurately-trimmed audio track (so it has the right audio for the new logo and syncs properly with the film itself), which is what I've been doing thus far, OR
2. Trim the video less accurately by working out where the earlier keyframe is and leaving some extra black frames in from after the SC logo, and trim & resync all audio to match that (removing the SC logo but leaving in some black frames due to the less accurate video trim).
I think I prefer option 1, but that potentially rules out using the old DTS track as I don't have a 5.1 DTS version of the 2018 SC logo audio, only one trimmed from the French DTS-HD MA 5.1 (which is pitched incorrectly apart from the logo), two AC3 ones I encoded at the appropriate bitrates to concat to the AC3 commentary and 2.0 main audio, and PCM ones to concat to the pitch-corrected lossless 2.0 tracks that I'm likely abandoning due to artefacting. Although, in fairness, I could probably encode a 5.1 DTS version of the logo audio if I really wanted.
I appear to be able to concatinate PCM (which makes sense because it's raw data) and AC3 (which is apparently headerless) without any issues, but concatinating DTS-HD Master Audio in either .dtsma or .dtshd containers seems to have failed, perhaps because the second part (the film audio) has a header on it. I've read elsewhere that this can be removed by eac3to by remuxing it with a -21 ms "delay", although I didn't expect it to be necessary in this case because the source for all the DTS-HD audio was Blu-ray Discs, which I thought had the header removed already (I guess eac3to maybe adds one back on). I'm about to try that and see what happens, but I'm not that hopeful because this seems to be significantly more than 21 ms out of sync (though I guess it might add more delay than that for the header after remuxing, idk).
Posts: 2,809
Threads: 50
Joined: 2015 Jan
Thanks: 1876
Given 1010 thank(s) in 648 post(s)
No one cares about the SC logo. In fact if the music don't match, the better LOL, just sync the tracks with different opening logos.
Posts: 1,224
Threads: 51
Joined: 2019 Oct
Thanks: 943
Given 663 thank(s) in 385 post(s)
Country:
2020-04-19, 05:27 PM
(This post was last modified: 2020-04-19, 07:05 PM by pipefan413.)
Posts: 2,809
Threads: 50
Joined: 2015 Jan
Thanks: 1876
Given 1010 thank(s) in 648 post(s)
I think you're complicating it. Simply remux the tracks, no need to touch them.
All you have to do is find one point in the film, find the same point in the DVD, calculate the difference in ms between the two points, and remux.
|