mecoder combine moviez

Ronny Haryanto ronnylist at haryan.to
Mon Apr 5 05:56:09 UTC 2004


On 05-Apr-2004, Ow Mun Heng wrote:
> > -----Original Message-----
> > From: fedora-list-bounces at redhat.com
> > [mailto:fedora-list-bounces at redhat.com]On Behalf Of S. Gongola
> > I have 10 mpeg files can I use mencoder to combine the files 
> > to one file?
> 
> You can try cat'ting them together
> 
> eg: 
> 
> cat 2.mpeg >> 1.mpeg
> cat 3.mpeg >> 1.mpeg

Or:

	cat 2.mpg 3.mpg 4.mpg ... > combined.mpg

after all cat is short for "conCATenate" :)

I think MPEG streams have a header of some sort. Although most players
are able to ignore headers in the middle of the stream, I'm not sure
it will work in all cases.

Ronny





More information about the fedora-list mailing list