Hello,

I'm looking for some tips on how to trim a video using the ffmpeg
APIs. Using the command line version, I would do something like this:

           ffmpeg -i "input.avi" -vcodec copy -acodec copy -ss
00:00:20 -t 00:00:30 "output.avi"

where -ss indicates the start time and -t indicates the duration of the video.

I've been looking through the ffmpeg source but I was hoping there
would be a simpler set of APIs to call. Any suggestions?

Thanks in advance,

Simon
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to