PDA

View Full Version : Losing Half of Audio in join


psybert
29th November 2007, 19:19
Hello. This is pretty much my first complicated script that i've written. I have a problem now that I lose about half of the audio when joining clips, meaning: the audio plays for 1:25, then stops until the next clip in the sequence comes on. Is it the ++? I heard that it's used to keep the audio sync on. It's a 2 hour encode process, so i'm hoping i can get this right before too many iterations. Here's my script: (I'm using TMPG to encode)

video=avisource("fs01.avi")++avisource("fs02.avi")++avisource("fs03.avi")++avisource("fs04.avi")++avisource("fs05.avi")++avisource("fs06.avi")++avisource("fs07.avi")++avisource("fs08.avi")++avisource("fs09.avi")++avisource("fs10.avi")++avisource("fs11.avi")++avisource("fs12.avi")++avisource("fs13.avi")
audio=wavsource("fs01.avi")++wavsource("fs02.avi")++wavsource("fs03.avi")++wavsource("fs04.avi")++wavsource("fs05.avi")++wavsource("fs06.avi")++wavsource("fs07.avi")++wavsource("fs08.avi")++wavsource("fs09.avi")++wavsource("fs10.avi")++wavsource("fs11.avi")++wavsource("fs12.avi")++wavsource("fs13.avi")
resizedVideo=LanczosResize(video, 648, 432)
borderedVideo=Addborders(resizedVideo, 36,24,36,24)
getLow=Amplify(audio,0.5,0.5)
return AudioDub(borderedVideo,getLow)

sh0dan
29th November 2007, 20:43
How long is your audio?

If it is very long (>12h), you might need to export the mp2 sound from SoundOut and mux with video later.

psybert
29th November 2007, 21:13
well this video is 30 minutes long.

I will edit my first post later, but I isolated the problem. The joining has nothing to do with it. I changed the paramaters to exlude the join, but had dropped audio in the same place with just one clip.

To get this project going, I wound up just removing the audio processing from the script or the time being.