问题
I am trying to do an application in which I would like to give option to user to clip a video using double seekbar so that video can be cropped.
I had hassle importing FFmpeg into Eclipse. However, that pain is over, and I got two points of video and can instantiate FFmpeg's instant.
My focus is to know to know the method and procedure to crop a video.
I got the command of cutting it, that is,
ffmpeg -ss [start] -i in.mp4 -t [duration] -c:v copy -c:a copy out.mp4
However, how do I use this in code?
来源:https://stackoverflow.com/questions/28360691/trim-video-with-reference-to-a-start-time-and-end-time-using-ffmpeg