[mad-dev] How to know the frequency of a frame