I used FFmpeg to extract portion (5 seconds) of a video like this:
ffmpeg -ss 00:30:00 -t 00:00:05 -i original.avi cut1.avi
and also like this:
ffmpeg -ss 1800 -t 5 -i original.avi cut1.avi
But what FFmpeg did was create a file starting at 00:30:00 and included the rest of the file instead of just 5 seconds. So instead of having a 5 second video clip, I now have the whole file except the first 30 minutes.
What went wrong?
I tried this with mencoder
as well -- same result.
EDIT 1
Strangely, this worked on OS X....
EDIT 2
After rebooting Ubuntu, I found that FFmpeg worked fine. What process was turned off that did this though?
have you tried with this
for more information , look at this https://superuser.com/questions/138331/using-ffmpeg-to-cut-up-video