Transcoder: use av_q2d to compute progress duration