Implemented output stream from media file