make options immutable in reader
Fix documentation
Added libav support, this is still failing at the end of the stream