this sample doesn't demonstrate the “frozen frame” issue, however the AV sync still isn’t correct. When these samples are played with ffplay, the AV sync is perfect. I only see the AV sync issue with ffmpeg.