[FFmpeg-user] Cut out middle of a video?
Jim Worrall
coniophora at gmail.com
Fri Dec 9 16:39:21 CET 2011
On Fri, Dec 9, 2011 at 8:09 AM, . <peace at aleksandrsolzhenitsyn.net> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
> On 12/08/2011 06:27 PM, Lou wrote:
> > On Thu, 8 Dec 2011 16:18:34 -0700
> > Jim Worrall <coniophora at gmail.com> wrote:
> >
> >> On Thu, Dec 8, 2011 at 3:45 PM, Lou <lou at lrcd.com> wrote:
> >>
> >>> On Thu, 08 Dec 2011 16:58:23 -0500
> >>> "." <peace at aleksandrsolzhenitsyn.net> wrote:
> >>>
> >>>> I have an mp4 that's 2 minutes long.
> >>>>
> >>>>
> >>>> - From the video I want to remove from 1 minute 10 seconds until
> >>>> 1 minute 50 seconds.
> >>>>
> >>>> How do I do it?
> >>>
> >>> ffmpeg -i input -ss 00:01:10.00 -t 00:00:40.00 -c copy output
> >>> or
> >>> ffmpeg -i input -ss 70 -t 40 -c copy output
> >>>
> >>>
> >> Wouldn't that KEEP only the middle part, rather than removing it?
> >
> > Yes.
> >
> >> It sounds like he wants to discard the middle and keep the rest.
> >
> > I was assuming the middle section was what he wanted.
>
> Anybody know how to do it?
>
>
> I'm no expert, but I'm guessing you would have to crop and save the
beginning
and end of the clip using the technique that Lou showed, resulting in two
files,
then join them using the instructions here
http://ffmpeg.org/faq.html#How-can-I-join-video-files_003f
Jim
More information about the ffmpeg-user
mailing list