[FFmpeg-user] trim video in C code

Roger Pack rogerdpack2 at gmail.com
Mon Jul 9 20:24:20 CEST 2012

> I am asking this question as I could find no useful information in hours of
> searching. I would like to use ffmpeg in its C library code form to write a
> program that can trim a video, extract a portion, possibly mix it with
> other portions and re-encode the final result.

It may be possible to use some of the "filters" that ffmpeg has to
accomplish your end goals:
Since you're wanting to use ffmpeg as a C library,
https://github.com/FFmpeg/FFmpeg/tree/master/doc may help you get started
https://github.com/FFmpeg/FFmpeg/tree/master/doc/examples has some
examples of embedding them.

More information about the ffmpeg-user mailing list