4

Encoding multiple videos together

view full story
linux-howto

https://bbs.archlinux.org – Trilby wrote:The simplest to just append videos together, that works at least with mpg files is cat file1.mpg file2.mpg file3.mpg > file_new.mpgThis will cause problems with the headers of the files. The output and the primary header will not be the same often causing issues with the timestamps.There are tools to do just this depending on the format. If mkv is the target container, I would use mkvmerge from mkvtoolnix. In fact, I'd probably use that anyway as it's rock solid in its handling of timestamps which keeps audio and video in sync. If another format is later desired, then (HowTos)