Added add_tag_at_offset to add a tag to a stream after a given number of samples