[FFmpeg-user] problems with cutting a video - resulting file is 254 bytes of size

Gyan Doshi gyandoshi at gmail.com
Thu Jun 14 17:11:59 EEST 2018

On 14-06-2018 06:37 PM, Adi Marvillo wrote:

> I am trying to shorten a video to the relevant part - cut the first 25
> seconds at the beginning and cut/stop at 01min 25secĀ  - output is a file

> ... -ss 00:24:50 -t 00:01:25 ...

This tells ffmpeg to start at 24m50s and extract 1m25s of output. Your 
file is just under 7 minutes long.

It should be,

     -ss 25 -to 1:25

Depending on where the nearest keyframe is, your output may not include 
a few seconds near the start point. Decrement the start time by a few 
seconds to accommodate that, or keep it the same and transcode (drop 
-c:v copy).


More information about the ffmpeg-user mailing list