[MEncoder-users] Inserting image files at absolute time offset into video stream?

Terry Evans codetrix at gmail.com
Tue Nov 21 17:29:43 CET 2006


I'm really, really new to mencoder (just downloaded it yesterday in fact),
and through my searching I haven't been able to find a way to insert image
files at absolute offsets into the encoded video stream.

As a little background, here's what I'm trying to do:

On a Windows PC I'm recording the audio stream and then taking a screen
capture of the desktop about every second and saving all of those images and
the audio file to a directory.  The problem I'm having is that if I encode a
video with a fps=1 then the audio and video end up getting out of sync over
time.  After about two minutes the audio and video are off by about 7
seconds, for example.

What I'd like to be able to do is for each screen capture to specify the
absolute time when each image should be inserted into the video stream,
something like:

ScreenCapture1.png at 0.00 seconds
ScreenCapture2.png at 1.05 seconds
ScreenCapture3.png at 2.15 seconds
....

Is there any way of doing something like this?

Terry Evans



More information about the MEncoder-users mailing list