Make media object fom data ptr