ivfenc: write duration for frame_cnt=1.