[FFmpeg-user] Cutting out part of a video does not work

Peter White peter.white at posteo.net
Fri Mar 26 12:05:01 EET 2021


On Fri, Mar 26, 2021 at 10:59:23AM +0100, Peter White wrote:
> If you can live with further quality loss in the video, you can
> transcode it, i.e. -c:v libx264.

Forgot one thing. You can, and maybe should, use -ss as an input option.
This way ffmpeg does not decode the whole file until it reaches the cut
point. It will be an accurate cut if you use a real codec as opposed to
the copy codec. Again, see -ss and -accurate_seek for more details.


Cheers,
Peter


More information about the ffmpeg-user mailing list