make sure we have enough audio in a frame before we try to encode.

For this checkin, the testfile in the encoder has correct audio. video
is a little off -- but this is likely to do the video path (given that
the output video has an incorrect starting frame or two). That's next
to debug.