I'm looking for a method to insert the images into a MPEG2 stream in a sort of automatic way. To be specific, I need a (Win32-)tool or set of tools that could be controlled by a command line or a script and do the following:
- load a VOB file
- load a CVS/TXT/whatever file that would tell it where in the stream (like frames) and where in the screen (like horizontal and vertical position) to place the pictures (PNG, GIF, BMP... whatever it wants); or maybe there could be just a bunch of command line parameters instead of loading CVS/TXT/etc.
- load and put the pictures into the stream and reencode only the parts where the frames were changed
I'm fairly sure that it's technically possible (e.g. TMPGEnc is capable of recompressing only parts of the video), but I'm just looking for an easiest way to do it. I can imagine first splitting the file (1st segment - 2nd segment/to be reencoded - 3rd segment - 4th segment/to be reencoded - etc.), put the pictures into the segments 2 and 4, reencode them and then merge all the segments back together without any more reencoding; I'm fine with that, as long as it can be done with some kind of a batch file or a script that would do all of that without any user intervention. But if there's a tool that would skip the splitting/merging part and just put the pictures in and reencode those few segments, it would be even better.
The biggest problem is to find a tool that's capable of putting something into a picture, while being cotrolled entirely by command line parameters or a script...
Do you know about any tool/method that would be of use to me?
Just an explanation why do I need this freaky thing and why do I need to do it that way: It's in fact my school art project, which is based on producing 200 unique DVDs with the same movie, but different pictures appearing in it - it's shot in a gallery with empty picture frames and I want to put a different paintings in the frames. So I need to mark the places where the pictures should appear, write them down (frame-begin, frame-end, coordinates) and use some kind of generator to make those 200 variations (the picture frames are exactly the same size). Then I need to convert those 200 variations into batch files or scripts that would produce 200 different DVDs.
+ Reply to Thread
Results 1 to 1 of 1