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

Yohann Martineau yohann.martineau
Mon Mar 16 14:00:02 CET 2009


On 3/16/09, nikhil parvatikar <nikhil_parvatikar at yahoo.com> wrote:
>
> Hi All,
>
> I would like to know if its possible to do the following in FFMPEG:

It's a user-related question. Ask on ffmpeg-user mailing list.

>
> 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?

I think I've tried this a few months ago, and did not found how to do
it. I think it's not possible.




More information about the ffmpeg-devel mailing list