ffmpeg

Convert from .mov to .mp4

-vcodec codec

Force video codec to codec. Use the "copy" special value to tell that the raw codec data must be copied as is

-acodec codec

Force audio codec to codec. Use the "copy" special value to specify that the raw codec data must be copied as is.

Extract portion of video

-ss position

Seek to given time position in seconds. "hh:mm:ss[.xxx]" syntax is also supported.

-t duration

Restrict the transcoded/captured video sequence to the duration specified in seconds. "hh:mm:ss[.xxx]" syntax is also supported.

-i filename

input file name

Eg. Extract video portion from 10 minutes 05 seconds to 10 minutes 20 seconds (15 seconds video length from -t flag) from test.mp4, and store to output file output.mp4.

Last updated