how to merge video files

Two ways:

1) via terminal

you can use this code

mkvmerge -o outfile.mkv infile_01.mp4 \+ infile_02.mp4 \+ infile_03.mp4

2) graphically

by using f.e. Avidemux:

  • open the first video file
  • go to the end of that file
  • append the second, and go to the end
  • then append all other possible video files
  • if you plan to merge several video (such as several films), you can queue instead of save (immediately) the files

avidemux too slow

It’s better use (one of) the following codecs for encoding

  • x264
  • libavcodec MPEG-1/MPEG-2
  • libavcodec MPEG-4
  • Xvid 

so Avidemux will be able to optizmize the CPU usage and will be much faster. And the CPU temperature will be lower.
Cfr.here.

sincronizzare audio e video (con avidemux)

Abbiamo avuto problemi di audio non sincronizzato col video, dopo aver effettuato un taglio a un film, e abbiamo invano provato più volte a risolvere il problema.
Niente. Finche non abbiamo trovato la risposta in questo forum: si trattava di controllare il Frame Rate dal menu Video (era settato, non si sa perché su 23.000 e l’abbiamo messo su standard framerate (25 FPS).