Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2004 21:03:50 +1100
From:      Gautam Gopalakrishnan <gautam@inspired.net.au>
To:        Tsu-Fan Cheng <tscheng@ic.sunysb.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mp4 spliter
Message-ID:  <20040225210350.2ad0cbed.gautam@inspired.net.au>
In-Reply-To: <Pine.SOL.4.58.0402242258150.21839@sparky.ic.sunysb.edu>
References:  <Pine.SOL.4.58.0402242258150.21839@sparky.ic.sunysb.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 24 Feb 2004 23:00:20 -0500 (EST), Tsu-Fan Cheng
<tscheng@ic.sunysb.edu> wrote:

> Hi freebsders, I have a movie file ended with mp4 and it's bigger than
> 700mb, does anybody know how I can split the file into 2 so I can make
> a CD out of it? thanks a lot!

If you can play it with mplayer, then you can (assuming your movie file
is a.mp4 and length is 1000 secs)

$ mencoder -oac copy -ovc copy -ss 0   -endpos 500  -o first.mp4  a.mp4
$ mencoder -oac copy -ovc copy -ss 500 -endpos 1000 -o second.mp4 a.mp4

Or you could take the easy way out and run this to get split files.
$ split -b 700m a.mp4

Gautam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040225210350.2ad0cbed.gautam>