Sign In

Info: The SSE sync thread

Author
Time
 (Edited)

I love the SSE but it already has some pretty bad compression artifacts. Therefore I did not really like the idea of syncing the SSE video to the GOUT audio by inserting blank frames and re-encoding the thing. So I made an avisynth script (based on the script in The GOUT sync thread) that cuts down the NTSC GOUT to match the SSE. The advantage is you can add any GOUT synced audio, export it and mux it with the SSE video.

First I split the -1 intro and the film using MKVToolnix. In the output tab select Split mode ‘after field/frame numbers’ and enter the value 1005. This give you two separate clips, the -1 intro and the film itself.

Avisynth script:


LoadPlugin(“DGDecode.dll”)
video = mpeg2source(“Star Wars NTSC.d2v”)
audio = wavsource(“SW - 1977 Theatrical Dolby Stereo Mix.wav”)
AudioDub(video, audio)

duplicateframe(0)
duplicateframe(0)
loop(0,42593,42604)
loop(0,45143,45146)
loop(0,55732,55735)
deleteframe(56067)
deleteframe(56908)
loop(0,58456,58459)
deleteframe(60736)
deleteframe(64746)
loop(0,70480,70481)
deleteframe(78636)
loop(0,83419,83422)
loop(0,86625,86682)
loop(0,113559,113564)
loop(0,143954,143958)

For the wavesource you can choose any GOUT synced wave file. When you open the script in virtualdub click ‘File > Save WAV’ to save you SSE synced audio. Now all you have to do is mux it with the film you just split.

Author
Time

Seems like a good idea.

How jarring are these audio cuts, though? I have considered that adjusting the audio might indeed be a better idea. But sometimes that is done more smoothly with crossfades and such.

Author
Time
 (Edited)

Personally, I think you hardly notice the audio cuts and fading is not necessary. Even at the “That’s good. You’ve taken your first steps into a larger world. / doors open, officer enters in to deliver message to tarkin” reel change where you loose almost 60 frames I hardly notice it. That’s just my opinion but I think it’s much more noticeable to insert almost 60 blank frames.
But you can try for yourself if you notice the audio cuts 😃

Author
Time

Ofcourse you don’t even need the GOUT NTSC mpg. If you just want to process the audio you can replace this:

LoadPlugin(“DGDecode.dll”)
video = mpeg2source(“Star Wars NTSC.d2v”)

by this:

video = BlankClip(length=174156)

Author
Time

Arnied said:

Personally, I think you hardly notice the audio cuts and fading is not necessary. Even at the “That’s good. You’ve taken your first steps into a larger world. / doors open, officer enters in to deliver message to tarkin” reel change where you loose almost 60 frames I hardly notice it. That’s just my opinion but I think it’s much more noticeable to insert almost 60 blank frames.
But you can try for yourself if you notice the audio cuts 😃

Yeah, the ones between reel changes should definitely be fine. Was wondering about some of the others (mostly since I don’t know where they occur!).

Author
Time

towne32 said:

Arnied said:

Personally, I think you hardly notice the audio cuts and fading is not necessary. Even at the “That’s good. You’ve taken your first steps into a larger world. / doors open, officer enters in to deliver message to tarkin” reel change where you loose almost 60 frames I hardly notice it. That’s just my opinion but I think it’s much more noticeable to insert almost 60 blank frames.
But you can try for yourself if you notice the audio cuts 😃

Yeah, the ones between reel changes should definitely be fine. Was wondering about some of the others (mostly since I don’t know where they occur!).

The scenes are described in the comments of the script in The GOUT sync thread.

Author
Time

Thank you for the script. I will try it out!

Author
Time

Williarob said:

Please don’t waste too much time on this - a fully GOUT sync’d v1.5 is already completed, with all the missing frames restored, some additional cleanup, 35mm Spanish Audio, and some problem shots replaced from other sources.

Coming to a galaxy near you, very soon.

That sounds great. So this is closer to what was previously planned for 2.0, and 2.0 is now more of Poita’s scan?

Author
Time
 (Edited)

I think this is Poitas scan, when it includes Spanish audio?

Williarob said:

Please don’t waste too much time on this - a fully GOUT sync’d v1.5 is already completed, with all the missing frames restored, some additional cleanup, 35mm Spanish Audio, and some problem shots replaced from other sources.

Coming to a galaxy near you, very soon.

Great news!!!

Author
Time

Williarob said:

Please don’t waste too much time on this - a fully GOUT sync’d v1.5 is already completed, with all the missing frames restored, some additional cleanup, 35mm Spanish Audio, and some problem shots replaced from other sources.

Coming to a galaxy near you, very soon.

It was only 15 minutes work or so 😃
Awesome v1.5 is on the way. I guess we have to keep an eye on the spleen?

Author
Time

Williarob said:

Please don’t waste too much time on this - a fully GOUT sync’d v1.5 is already completed, with all the missing frames restored, some additional cleanup, 35mm Spanish Audio, and some problem shots replaced from other sources.

Coming to a galaxy near you, very soon.

That’s fantastic news!

“Yes, it speaks of the trinity; casting light at the sun with its wandering eye”

Author
Time

With this Avisynth script and VirtualDub, is it possible to plug in a multichannel audio bitstream (AC3, DTS, etc), edit it, and have it output in the same multichannel bitstream with no 2-channel downmix?

Author
Time
 (Edited)

alexp120 said:

With this Avisynth script and VirtualDub, is it possible to plug in a multichannel audio bitstream (AC3, DTS, etc), edit it, and have it output in the same multichannel bitstream with no 2-channel downmix?

I don’t think so.
If you convert the multichannel audio into separate wave files, you can edit them and turn them into a lossless DTS stream again.