Cookie

Caution


This article was published more than a year ago, there may have been developments.
Please take this into account.

The article by vuol'essere today a reference for those who want cut a video from one point to another with ffmpeg ( then using the terminal). Strange, true? To change what products we use highly graphical far more graphics you can imagine.

Often the video is too long to be cut, and a full program (with gui and all) consumes too many resources and slows down the system.

The syntax is very simple, in a single line of terminal

specify all.

ffmpeg -ss [seconds from the beginning] -t [duration in seconds] -i [input_file] [outputfile]

Is to accommodate this value relative to the elapsed time from the beginning of the video (It will be the beginning of the new video) related to the topic “-ss“. This command also supports the syntax “hh:mm:ss[.xxx]“.

The argument “-t” indicates the length of the video, This argument also supports the format “hh:mm:ss[.xxx]“.

Not enough?


TheJoe

I keep this blog as a hobby by 2009. I am passionate about graphic, technology, software Open Source. Among my articles will be easy to find music, and some personal thoughts, but I prefer the direct line of the blog mainly to technology. For more information contact me.

2 Comments

Edoardo Osti · 13 March 2014 at 9:53 AM

Thanks for the article.
I have a question: the syntax of the input file which must be? work with wndows

    Giovanni Mauri · 17 March 2014 at 2:07 PM

    Hello Edward, and thanks for the comment.
    In fact, the syntax is the standard unix… “/home/user/Musica/file.avi”.
    Non ho Windows, but from my recollections should be “C:Documents and SettingsutenteDocumentifile.avi”.
    Visto che usi Windows, if the file is not too heavy, I advise you to MovieMaker. Name and open source, but in the end neither is Windows.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.