vmd: drop incomplete chunks and spurious samples