Kamis, 16 April 2020

FFMPEG: extract video

We will use:
- to
- t
- ss

Three of them are can be used as input and output parameter.
All of them use time duration specification https://ffmpeg.org/ffmpeg-utils.html#time-duration-syntax

Extract only 1 minute:
ffmpeg -t 00:01:00 -i 2020-04-16 04-36-06.mkv output1.mkv

Extracting only 1 minute and 30 seconds:
ffmpeg -i 2020-04-16 04-36-06.mkv -t 00:01:30 output2.mkv

Extracting using -ss and -t (if you know the start time and stop time that you like):
ffmpeg -i 2020-04-16 04-36-06.mkv -to 00:01:30 output3.mkv

Extracting using -ss and -t



Tidak ada komentar:

Posting Komentar