тна Back to MegaDB Search

TheEvenDarkerKnight | 4 points | Mar 23 2017 02:12:16

[META] How to merge video files | Megalinks MegaDB [META] How to merge video files

So I was downloading a season of a tv show and one of the episodes is split into two parts, but neither files works on their own. Therefore, I was thinking I needed to merge them to get it to work. How do I do this?

permalink


[-] Apocalypse_Gladiator | 3 points | Mar 23 2017 02:45:37

Did they come in .rar format and were they named .part1 and .part2? If so, while they're in the same folder, just extract the first one with winrar and it should automatically unpack both parts as one.

permalink

[-] eightballthrowaway | 3 points | Mar 23 2017 02:56:03

alternatively, with 7zip installed, select them both and right click > 7zip > extract. theyll merge into one

permalink

[-] TheEvenDarkerKnight | 1 points | Mar 23 2017 13:58:26

this worked, thank you

permalink

[-] vcdupper | 3 points | Mar 23 2017 03:04:55

And thirdly, if you actually need to merge 2 video files together Movavi Video Editor works very well

permalink

[-] Seegras1 | 3 points | Mar 23 2017 08:48:21

As said, all you probably need is to use the correct packer like rar or 7z. But here's how to do it otherwise:

Merging files:

on Unix (Linux, MacOS, Android): cat input1 input2 > output

on Windows: copy input1+input2 output

Merging movies:

mencoder -forceidx -ovc copy -oac copy -o out.avi in1.avi in2.avi

ffmpeg -i "concat:input1.mpg|input2.mpg" -c copy output.mpg

avimerge -o target.avi -i source1.avi source2.avi

ogmmerge -o target.ogm source1.ogm source2.ogm

mkvmerge -o target.mkv source1.mkv + source2.mkv

All of these programs are available on modern Linux distributions, probably also on MacOS.

permalink

[-] zbxr81 | 1 points | Mar 24 2017 04:49:10

On Windows you have to use the /b (binary) switch. Otherwise COPY "treats a Control-Z [EOF] in a text file as marking the end of meaningful data, and appends a Control-Z [EOF] to the end when writing a text file" (Wikipedia), so you will end up with truncation or insertion of garbage EOF characters. The EOF character is obsolete nowadays...

copy /b input1+input2 output

permalink

[-] TheGoodSheep | 1 points | Mar 24 2017 16:45:25

Maybe they used HJ split, but I doubt that, last time I used it was 10 years ago or so.

permalink

[-] Lemongreen201503 | 1 points | Jun 02 2017 00:56:42

There are many video joiner software that allows you to join separate video together: Windows Movie Maker(only available on Windows) Freemaker (only available for Windows) Avidmux (for Windows, Mac OS X and Linux) VLC (for Windows, Mac and Linux) iMovie (for Mac) Pavtube Video Converter Ultimate for Windows/Mac

permalink