Multiple commits - lots of fixes for FFMPEG processing.