I can guarantee you that you are setting reading fromthe wrong field (probably always metadata/video/duration).