Sub-frame latency in FFmpeg