问题
I want to extract a small portion of video from a large video file on the basis of a given start and end time.
My internet search shows that many suggest using Xuggle to do this, but I am unfamiliar with this library, its use, or how one can use it to achieve my goals. Please help me with this.
回答1:
try reading the manual!
-ss and -t will start at ss and copy for '-t'...
ffmpeg -i test.mpg -r 25 -ss 00:00:10 -t 00:00:05 images%05d.png
starts 10 seconds in for 5 seconds
来源:https://stackoverflow.com/questions/11177747/how-to-extract-a-sub-portion-of-a-large-video-file