Log in

View Full Version : How to add wtermark to mpeg2


xbox360
11th March 2007, 14:21
Hello to everyone, I would like to add a watermark to my mpeg2 video somewhere in the bottom left corner. Meaning Input mpeg2+watermark -> mpeg2 watermarked. How do I do so ? (while still retaining original input quality)

manono
11th March 2007, 16:17
while still retaining original input quality

Make a forced subtitle out of it. Otherwise you'll have to reencode it, and there goes your "original input quality".

If you don't mind reencoding, then making some kind of a picture from it (JPG or BMP, for example), and adding it to the video using AviSynth's Overlay command is one way. That way you can also control its transparency:

http://avisynth.org/index.php?page=Overlay

Another way is to make a subtitle out of it and "burn" or "embed" it into the video when reencoding. This can be done using the VSFilter of AviSynth or VDub's TextSub and VobSub filters.

Since I see way too many logos on the DVDs I buy, personally, I think logos and watermarks are really stupid ideas.

xbox360
12th March 2007, 04:18
I cant import mpeg2 & mpv files in VirtualDub, I keep getting this error -> MPEG Import Filter: Invalid pack at position 3: marker bit not set; possibly MPEG-2 Stream.

manono
12th March 2007, 05:36
VDub isn't an MPEG-2 encoder. You can frameserve to a real encoder, but not by trying to open MPEG-2 video in it.

The best way to frameserve is via AviSynth:

http://www.doom9.org/mpg/dgindex-frameserving.htm
http://www.doom9.org/mpg/dgindex.htm

An excellent encoder like HCEnc will require either AviSynth or D2V input. And since you want to add a logo, then that means AviSynth input.

With a different encoder, you can frameserve using VDubMod or VDubMPEG-2, together with Don Graft's Logo Filter:

http://www.neuron2.net/logo/logo.html

It's been years since I've used anything other than AviSynth for frameserving, so someone else may have to help with that.

setarip_old
12th March 2007, 06:45
@xbox360

Hi!I cant import mpeg2 & mpv files in VirtualDubPlease clarify:

1) Are you using VirtualDub because you want to convert your MPEG-2 file to a watermarked .AVI?

OR

2) Do you want to just add a watermark to an MPEG-2 file - and retain its MPEG-2 format?

manono
12th March 2007, 09:36
Meaning Input mpeg2+watermark -> mpeg2 watermarked.

From the first post. He wants to create a watermarked DVD, as near as I can tell.

xbox360
12th March 2007, 13:12
I want to just add a watermark to an MPEG-2 file - and retain its MPEG-2 format.

setarip_old
12th March 2007, 18:26
As an alternative to the methods suggested by "manono", you could re-encode using the "ancient" FlaskMPEG v.0.594PSX (which includes watermark application controls), with one of the available MPEG-2 plugins (BBMPEG, Panasonic, etc.)...

xbox360
13th March 2007, 10:20
FlaskMPEG keeps crashing recommend other software please.

manono
13th March 2007, 10:31
This might help, but you'll have to frameserve it out to your MPEG-2 encoder (or save as uncompressed AVI (Lagarith or HuffYUY, for example) and then use the AVI in your encoder):

http://forum.videohelp.com/viewtopic.php?t=248307

And I've already recommended the best way to do it (AviSynth using the Overlay command to put on the watermark).