Is there a good application in linux for attaching mkv videos. mkvmerge corrupts the videos with unusable output. Openshot has predefined output size while I have videos with non-standard dimensions.

1 Answer 1


You can use FFmpeg:

With a text file called mergelist.txt (or whatever you want to call it), i.e.:

file './file1.mkv'
file './file2.mkv'
file './file3.mkv'

you can use that as the input:

ffmpeg -f concat -i mergelist.txt -c copy merged.mkv
  • 1
    unfortunaley ffmpeg is not available in Ubuntu Trusty. I had to compile it. it works now. Oct 14, 2014 at 18:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.