Log in

View Full Version : Add watermark on-fly without transcoding h264


maxlapshin
19th September 2012, 06:38
Hi. Is it possible to append some macroblocks to each h264 slice so, that watermark will appear on screen?

I.e. something like "absolutely positioned image with alpha channel".

Asmodian
19th September 2012, 19:32
I am pretty sure this is not possible. So many reasons why not.

The more advanced editors allow you to only re-encode around the edit points (they just re-encode that GOP). I think this is as far down that road as you can go though. It isn't possible to only re-encode a slice, or if you did you would be able to notice the line between slices. You cannot just add "extra" macro blocks, you would need to re-encode something.

edison
20th September 2012, 16:02
bitmap subtitle ?

maxlapshin
21st September 2012, 02:13
bitmap subtitle means adding other stream in the same container. For example add metadata to FLV or add subtitles to MPEG-TS. It can be easily removed and I want to "embed logo" in video stream.

natt
22nd September 2012, 14:36
bitmap subtitle means adding other stream in the same container. For example add metadata to FLV or add subtitles to MPEG-TS. It can be easily removed and I want to "embed logo" in video stream.

So your criteria is not "easily removed". But if there were a way to add a burned in logo without reencoding existing video and by just adding new blocks, wouldn't it be just as easily removed?