I'm having problems exporting the timeline in Premiere to TMPGEnc through the Video server plugin and AVIWrapper codec to create a VCD. The first sign of trouble is that when TMPGEnc finishes, the server still has a few more audio frames left in it that TMPGEnc never picked up. Eventually the server times out, but TMPGEnc is happy, thinking it has finished the project correctly.

Pressing on, I can create a VCD with the MPG file TMPGEnc made, but the audio stops at the end of the program for about the amount of time you'd guess is accounted for by the leftover audio frames in the server that TMPGEnc never picked up. I cannot detect any problems with audio sync; it's just that the audio stops a few frames before the end of the video. Examination of the MPG file in Premiere verifies the missing audo at the end.

I have tried several experiments with clips of different lengths, and in all cases I wind up with extra unserved audio frames. The number of extra frames varies, but I suspect I always wind up with less than a second's worth of frames (<30). Some actual counts of extra frames are: 1, 15, 20.

I have gone over all my settings many times but I don't notice anything that is out of whack, including the audio sampling frequency of 44.1 Khz everywhere. But since the audio sync doesn't drift from beginning to end, I didn't expect that to be the problem anyway.

It just seems that TMPGEnc is screwing up at the end of the program, failing to request the last few audio frames from the server. Anybody have any ideas what's causing this, and how to fix it?

Thanks!
-Murph