1. A method for detecting video frame types with median filtering, comprising steps of: inputting pixels in a frame into a processor in order; calculating comb factor values of the pixels in the frame with a function; proceeding median filtering step to determine the comb factor value of each pixel; adding 1 to a counter if the pixel is comb factor; keeping the counter unchanged if the pixel is not comb factor; determining frame types according to the counter value and counter threshold value; and ending the detection flow.