[FFmpeg-devel] Mixing Two Video Files into One File

nikhil parvatikar nikhil_parvatikar
Mon Mar 16 13:48:42 CET 2009

Hi All,

I would like to know if its possible to do the following in FFMPEG:

1. Read two video files of same resolution, say QCIF resolution (codec can be H.264 or YUV 4:2:0)

2. Mix the above two video files into a CIF resolution (resulting video can be H.264 or YUV 4:2:0) such that the first video file is located at X=0, Y=0 and second video file is located at X=176, Y=0 in the corresponding CIF output.

The idea is basically to mix two streams on the fly into a stream that contains mixed output. 

Can you share the options to generate such a mixing?


      Check out the all-new Messenger 9.0! Go to http://in.messenger.yahoo.com/

More information about the ffmpeg-devel mailing list