https://clevershark.com/2007/08/a-cure-to-directshow-weirdness/
A cure to Directshow weirdness