some minor changes and improved codec and container detection via FFmpeg