Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've had a little mishap with the external harddisk and I've had to restore some files.
Now I have a bunch of video fragments that I'd like to join up again.

I can play the fragments using VLC just fine.
So I went here: https://wiki.videolan.org/How_to_Merge_and_Transcode_Multiple_Videos/
and followed the instructions.

The commandline for joining 2 files with the same encoding is:

vlc c:\file1.avi file2.avi 
  --sout "#gather:std{access=file,mux=ts,dst=all.ts}" 

However nothing happens; an empty all.ts file gets created.

 Directory of C:\PROGRA~1\VideoLAN\VLC

               1 File(s)              0 bytes
               0 Dir(s)  108,900,364,288 bytes free

How do I get vlc to actually create a file with data in it?

If I use the transcoding option:

vlc -vvv c:\dir24.avi\fil57.avi c:\dir24.avi\fil58.avi

I get the following error: enter image description here

How do I get vlc to join the two files? Note that I do not know the actual encoding of the files.

share|improve this question
Note that free video joiner: softsea.com/download/Free-Video-Joiner.html does the job (it uses ffmpeg internally). But I'd like to see it working with vlc. –  Johan Apr 1 at 11:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.