[ffmpeg] fix: number of frames computation.