added the ability to identify an audio stream (uses first in variable stream files) and use it with encode. noticed a subtle difference in end frames, may be related to the lenght of the separate audio and video streams