framedbridge decoding working in python