I have a series of clips that I want to join together. I'm just importing the clips using AVISource, trimming as needed, and attempting to splice together using AlignedSplice. Nothing unusual there. The problem happens once I include more than one segment. I then get the error (video is divx5, audio is mp3) If I demux the audio, and use AudioDub(video,MPASource(demuxedAudio)), I can then splice everything together normally. Obviously, having to demux the audio only to feed it right back is less than ideal. Anyone know what I'm doing wrong that I can only get it to work in such a manner?
I believe the problem is that the audio is "VBR MP3" and when This audio Is read by Most Programs the audio Length and Sample Rate Changes (Because VBR audio is Not Supported in the Microsoft AVI Standard) which makes the File Impossible to Join and it causes them to go out of Sync also..... To Fix this Problem the audio in both AVI files has to be Fully Decompressed... You can use this Tool Here to decompress the audio in the AVI files before you load them into your Script.. http://www.megaupload.com/?d=J7HNW11I It also might be easier to Do the Joining and Filtering and Frameserveing in V-Dub.... Cheers
I neglected to mention that the audio for these is CBR mp3. Thanks for the suggestion of using vdub, but I've got a large number of files (approx 100) that all need the same settings. I just felt it was easier to write a script to generate the AVS scripts for me than to open each one in vdub. Besides, I'm transcoding to mpeg2, so I'd have to frameserve from vdub to tmpg anyways. Since the audio is indeed CBR, do you have any other ideas why this doesn't work as planned?
Well even if the Audio is CBR Decompressing it would probably still solve the Problem because then the audio would Not have to be Decompressed with AVISynth hence the "error initializing audio stream decompression: the requested conversion is not possible" Error becomes Mute because AVISynth doesn"t have to decompress the audio because it is allready decompressed...