refactor h264 stripper to make flv generator