Group: linux.gentoo.user
From: Florian Philipp
Date: Sunday, March 23, 2008 3:00 PM
Subject: Re: [gentoo-user] Basic video editor in portage?


--=-d6Z9TI7yZ17llCkx53zl
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


On Sun, 2008-03-23 at 12:22 -0700, Grant wrote:
> I have some video clips I'd like to trim the beginning and end from.
> Is there a simple tool that will do this? I'm emerging lives but I
> think it's overkill for this.
>=20
> - Grant

You could use mencoder (part of mplayer):

mencoder -ss 1:10 -endpos 1:10:00 -oac copy ovc copy -of avi -o\
truncated.avi original.avi

Explanation:
-ss 1:10 skip the first 1 minute and 10 seconds
-endpos 1:10:00 finish at file position 1 hour and 10 minutes (so the
truncated video would be 1:08:50 long)
-oac copy do not transcode the audio
-ovc copy do not transcode the video
-of avi write everything into an avi-container
-o truncated.avi output file

Warning: This simple example doesn't handle additional streams like a
second audio or subtitles. Please refer to mencoder's man-page for
additional options, or ask here ;)

Hope this helps


--=-d6Z9TI7yZ17llCkx53zl
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQBH5rYDqs4uOUlOuU8RAif5AJ98hPZt4AGPCkT8UkSGaKuGnwygHQCfaGUt
GmSE3BmwOjg1gzjpEP+Owwg=
=RtZR
-----END PGP SIGNATURE-----

--=-d6Z9TI7yZ17llCkx53zl--

--
gentoo-user@lists.gentoo.org mailing list