add AVReaderWriter for OSX