Text this: Semi-fragile video watermarking algorithm for H.264/AVC based on cost strategy