drawing video borders in ruby is too slow, do it in extension