exposed av_rescale_q
better duration detection
renamed pts_to_frame,frame_to_pts to ts_to_frame, frame_to_ts
renamed forward to step_forward