ffprobe: refactor frames decoding.