FFMPEG not extracting part of the video
        Posted  
        
            by 
                DNA
            
        on Ask Ubuntu
        
        See other posts from Ask Ubuntu
        
            or by DNA
        
        
        
        Published on 2012-03-31T01:10:50Z
        Indexed on 
            2012/03/31
            5:41 UTC
        
        
        Read the original article
        Hit count: 337
        
video-editor
|ffmpeg
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....
© Ask Ubuntu or respective owner