Wednesday 14 March 2018

macos - Cutting AVI videos in Mac OS X


Is there a tool for Mac OS X which supports cutting .AVI files, but doesn't re-compress them? Command-line tools are also welcome.



Answer



Install FFmpeg through Homebrew:


brew install ffmpeg

Then cut the video starting from the position specified with -ss for a duration specified with -t. copy ensures that video and audio are not re-encoded.


ffmpeg -i video.avi -c:v copy -c:a copy -ss 00:01:30 -t 0:0:20 output.avi

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...