[FFmpeg-user] Cut out middle of a video?

Alexander Bokovikov openworld at uralweb.ru
Fri Dec 9 16:48:45 CET 2011


On 09.12.2011, at 20:09, . 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 believe you need mencoder for that + batch file, cutting off both  
parts of the source.
AFAIK ffmpeg can't join videos.



More information about the ffmpeg-user mailing list