public static int qtPlayerFrameNo ( MovieBox movie , int mediaFrameNo ) { TrakBox videoTrack = movie . getVideoTrack ( ) ; long editedTv = mediaToEdited ( videoTrack , frameToTimevalue ( videoTrack , mediaFrameNo ) , movie . getTimescale ( ) ) ; return tv2QTFrameNo ( movie , editedTv ) ; }
Calculates frame number as it shows in quicktime player