[MEncoder-users] Joining different video files together

Dieter freebsd at sopwith.solgatos.com
Wed Aug 22 17:46:16 CEST 2007


> and something similar with ffmpeg.

> Is it possible to put every video file into one frame. Lets say 4:3 is 
> my targettet ratio. So if the next file is in 16:9 there are simply 
> added som black rows in top and bottom. In the end every file has the 
> same dimension.

For ffmpeg, look at

	-padtop	number_of_pixels
	-padbottom number_of_pixels
	-padleft number_of_pixels
	-padright number_of_pixels
	-padcolor color  ( 000000 = black , 00ff00 = green, ... )

Setting the padcolor to something like green is an easy way to see what you
are getting.  Also useful for figuring out how much overscan a display has.

If they are already letterboxed/pillerboxed and you want to remove it,

	-cropleft
	-cropright
	...

> The files are different in fps and dimension. Some are 4:3, some 16:9 
> and so on.

I'd guess you need to process each piece individually into a common
format, then splice them together.



More information about the MEncoder-users mailing list