get x264 latency
take into account latency when present