This patch searches for aspect ratio changes in recorded stream and adds cutting mark when aspect ratio changes. No need to execute any commands - scanning is done during recording. For me it works for >75% of recordings (here all commercials are sent in 4:3).