How to merge and trim video using VLC command line

A command line example of merging multiple video:

where in1.mp4 and in2.mp4 are the file to merge, and out.mp4 is the result video.

A command line example of trimming video (time is expressed in seconds):

where in1.mp4 is the file to trim, and out.mp4 is the result video.

Please notice:
Both procedures, once task is finished, require vlc to be closed, otherwise file won’t open correctly.

Leave a Reply

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

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax