use OMXmediatime and convert to seconds