switched to ffmpeg for encoding.