Log in

View Full Version : Audio sync Problem with my script


Catprog
30th November 2006, 06:57
Here is my script. I have a problem with audio being out of sync.

With video2 I have part of the 1st cut in the start of the second.

With video the sound cuts in too early.

Any one know why?

# Created by AVSEdit

video = AVISource("M:\Videos\Scrubs\Season 1\Special Features\Deleted Scenes_agk.avi").AddBorders(32,8,32,8)
video2 = AVISource("M:\Videos\Scrubs\Season 1\102.avi")


output = Trim(video2,0,4187) + Trim(video,39,256) + Trim(video2,4187,0)

return(output)

Guest
30th November 2006, 07:09
Did you try an aligned splice:

output = Trim(video2,0,4187) ++ Trim(video,39,256) ++ Trim(video2,4187,0)

Catprog
1st December 2006, 03:50
Tried that and did not work.

Also tried just using the first cut
output = Trim(video2,0,4187)

The audio was out of sync there too