i have one video about 80 min.
i need to extract some clip at specific time, ex:
00:04:05 -to 00:05:44
00:20:19 -to 00:22:13
00:45:09 -to 00:48:33
00:54:37 -to 00:55:48
01:00:08 -to 01:03:42
how to get with ffmpeg?
i've try this but not work:
Code:ffmpeg -i video.mp4 -ss 00:04:05 -to 00:05:44 -ss 00:20:19 -to 00:22:13 -ss 00:45:09 -to 00:48:33 .......... -acodec copy -vcodec copy -y output%2d.mp4
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 4 of 4
Thread
-
-
-
Try this to create one file comprising the separate clips
#1 Create a text file .... Change the timings to suite your needs
file video.mp4
inpoint 34.5
outpoint 55.1
file video.mp4
inpoint 111.0
outpoint 155.3
file video.mp4
inpoint 278
outpoint 316.4
The inpoint/outpoint directives specify the trim in and out points in seconds for the file listed above them.
#2a Create the joint file
ffmpeg -f concat -i list.txt combined.mp4
Similar Threads
-
Can't extract webvtt subtitle with ffmpeg
By [ss]vegeta in forum SubtitleReplies: 3Last Post: 18th Jun 2021, 17:20 -
I have been using 'ffmpeg' to extract Audio from Videos
By robertdaleweir in forum Newbie / General discussionsReplies: 8Last Post: 28th Feb 2021, 17:23 -
Need ffmpeg help. Extract frame every 10 sec and do it in a batch.
By widuljewic in forum Newbie / General discussionsReplies: 5Last Post: 16th Jun 2020, 07:12 -
ffmpeg: Extract Video and KLV Metadata
By leket in forum Newbie / General discussionsReplies: 2Last Post: 5th Sep 2018, 06:12 -
ffmpeg: most efficient way to extract frame ranges?
By chconnor in forum Video ConversionReplies: 6Last Post: 27th Feb 2018, 02:16