Penance optimizes edge inference cost for video semantic segmentation by leveraging softmax outputs and H.264/AVC codecs.