Want to Merge several movie videos into one

Off-topic discussion/chat/argue area with special rules of engagement.
Forum rules
The Off-Topic area is a general community discussion and chat area with special rules of engagement.

Enter, read and post at your own risk. You have been warned!
While our staff will try to guide the herd into sensible directions, this board is a mostly unrestricted zone where almost anything can be discussed, including matters not directly related to the project, technology or similar adjacent topics.

We do, however, require that you:
  • Do not post anything pornographic.
  • Do not post hate speech in the traditional sense of the term.
  • Do not post content that is illegal (including links to protected software, cracks, etc.)
  • Do not post commercial advertisements, SEO links or SPAM posts.
We also ask that you keep strongly polarizing topics like politics and religion to a minimum. This forum is not the right place to discuss such things.
Please do exercise some common sense. How you act here will inevitably influence how you are treated elsewhere.
tman801
Fanatic
Fanatic
Posts: 144
Joined: 2014-10-26, 18:50
Location: Gilbert, Wv.

Want to Merge several movie videos into one

Unread post by tman801 » 2024-05-25, 14:58

I dual boot both W11 and Ubuntu 22.04.
I recently d/led a 6hr+ movie from the internet and used VLC to only record the parts that I wanted. It is in several videos but it fits nicely on a DVD+R DL. I would like to merge it into one Video. I am not technically smart when it comes to doing this. Is there a simple tool that I could use to merge a 6hr video into one video? All the videos are MP4.

Thanks for any replies.

Lucio Chiappetti
Keeps coming back
Keeps coming back
Posts: 774
Joined: 2014-09-01, 15:11
Location: Milan Italy

Re: Want to Merge several movie videos into one

Unread post by Lucio Chiappetti » 2024-05-25, 15:41

I did once (a couple of years ago) with OBS Studio a presentation for a meeting (42 min total). I recorded several scenes with OBS, and at the end concatenated them using FFmpeg (all under Ubuntu),
The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. (G.B. Shaw)

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37762
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Want to Merge several movie videos into one

Unread post by Moonchild » 2024-05-25, 15:48

I always use virtualdub for these kinds of simple editing operations, but I'm not sure how easy to use it would be for you.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
RealityRipple
Keeps coming back
Keeps coming back
Posts: 862
Joined: 2018-05-17, 02:34
Location: Los Berros Canyon, California

Re: Want to Merge several movie videos into one

Unread post by RealityRipple » 2024-05-25, 18:36

Can't you just toss them all into MKVToolNixGUI? No re-encoding necessary.

User avatar
suzyne
Astronaut
Astronaut
Posts: 736
Joined: 2023-06-28, 22:43
Location: Australia

Re: Want to Merge several movie videos into one

Unread post by suzyne » 2024-05-25, 20:13

I like using Avidemux for simple operations, and anything more complicated with lots of cuts or resizing the final video, Shotcut does the job.
Laptop 1: Windows 11 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.
Laptop 3: Linux Mint 20.3 64-bit, i5 @ 2.5GHz, 8GB, Intel HD Graphics 620.

User avatar
Ghostwalker
Moongazer
Moongazer
Posts: 8
Joined: 2016-03-03, 13:05

Re: Want to Merge several movie videos into one

Unread post by Ghostwalker » 2024-05-26, 21:03

Depending on how much power your PC/Laptop has will of course determine how long it will take to merge them together. Be wary about the heat produced by hours of merging. Avidemux is perfect for this, if there is an overabundance of heat you can pause it and resume later. Make sure all your mp4 clips have the same dimensions (1980x1020 or 1280x720, etc.) If they are the same size, merging them will be fast with no re-encoding necessary. If they are different you will have to use Avidemux to resize a video to make sure they are all the same. Drag and drop all the clips, 1st, 2nd, 3rd... in order into Avidemux and it will merge them together when you click the 'Save Video' button. But first you have to go up to the 'Audio' tab on top and make sure the audio is identical across all yours clips: Audio > Select Track > Track 1 - then look across to where it says 'copy' and click the drop down and choose a compatible audio codec. AC3 (lav) is high quality and once you choose it the next button to the right is 'Configure' and you can choose a bitrate. This will ensure all audio across your merged mp4's are identical.
Hope this helps :thumbup:

tman801
Fanatic
Fanatic
Posts: 144
Joined: 2014-10-26, 18:50
Location: Gilbert, Wv.

Re: Want to Merge several movie videos into one

Unread post by tman801 » 2024-05-27, 17:01

Thanks to all who replied with suggestions. Sorry to take so long to reply. I had promised someone special that I would record Band of Brothers for them by Veterans Day. I had 9 of the episodes and finally after much surfing found episode 10 and all were mkv. I had found a program that would convert mkv's to mp4's & then merge them into one. It was Aiseesoft video converter and it was very simple to operate for me. After converting them I saved them to a special folder. I used VLC to record just what I wanted and each was saved as mp4's. I then used Video Recorder to relist the mp4s and set "save to special folder", clicked merge and then convert. I then let it do it do its thing and later I had a continuous movie that I downloaded to a flash drive. The program is free for up to 2 gb(I believe). Yes I did choose to pay for 1 month to record 13gbs. Considering the reason I was doing all this as the saying goes "It was money well spent".
Now I can spend some time learning how to use Avidemux thanks to Ghostwalker.
Again Thanks to all who replied.

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2900
Joined: 2012-08-19, 20:32

Re: Want to Merge several movie videos into one

Unread post by back2themoon » 2024-05-28, 15:10

There's also LosslessCut for you to try.

User avatar
suzyne
Astronaut
Astronaut
Posts: 736
Joined: 2023-06-28, 22:43
Location: Australia

Re: Want to Merge several movie videos into one

Unread post by suzyne » 2024-05-28, 20:50

back2themoon wrote:
2024-05-28, 15:10
There's also LosslessCut for you to try.
While Avidemux can do lossless operations, LosslessCut look like it is more actively being worked on, and even though it is an Electron app ;) , I don't hold that against it. It looks like a good alternative!
Laptop 1: Windows 11 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.
Laptop 3: Linux Mint 20.3 64-bit, i5 @ 2.5GHz, 8GB, Intel HD Graphics 620.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5605
Joined: 2015-12-09, 15:45

Re: Want to Merge several movie videos into one

Unread post by moonbat » 2024-05-29, 12:29

suzyne wrote:
2024-05-28, 20:50
even though it is an Electron app
:sick:
Which automatically makes it far more bloated than any desktop application, let alone video editing tool needs to be.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2900
Joined: 2012-08-19, 20:32

Re: Want to Merge several movie videos into one

Unread post by back2themoon » 2024-05-29, 15:09

suzyne wrote:
2024-05-28, 20:50
It looks like a good alternative!
To be honest, I use a paid program for lossless video editing but the few times I've tried LosslessCut, it worked.
moonbat wrote:
2024-05-29, 12:29
:sick:
Which automatically makes it far more bloated than any desktop application, let alone video editing tool needs to be.
I don't see why Electron should be an issue here. Lossless operations are usually simple, involving few clips you might want to join, or a single clip to trim/cut. You are not going to make an entire film "losslessly".

Bloated or not, if it works then by all means use it. It's not easy to find reliable lossless video editing software.

User avatar
andyprough
Board Warrior
Board Warrior
Posts: 1118
Joined: 2020-05-31, 04:33

Re: Want to Merge several movie videos into one

Unread post by andyprough » 2024-05-29, 17:24

moonbat wrote:
2024-05-29, 12:29
:sick:
Which automatically makes it far more bloated than any desktop application, let alone video editing tool needs to be.
Anything more than reading the ffmpeg man page and writing your own concatenate command is bloat. But of course, ffmpeg itself is bloat.

User avatar
suzyne
Astronaut
Astronaut
Posts: 736
Joined: 2023-06-28, 22:43
Location: Australia

Re: Want to Merge several movie videos into one

Unread post by suzyne » 2024-05-29, 20:47

andyprough wrote:
2024-05-29, 17:24
Anything more than reading the ffmpeg man page and writing your own concatenate command is bloat.
I had a reason to do this a few years back, and read that by putting the list of video files into input.txt and running this command I produced my single file.

Code: Select all

ffmpeg -f concat -safe 0 -i input.txt -codec copy output.mp4
I think I learnt this because at the time I had many files to process, and finding out how to do it from basic principles was more satisfying (and ultimately much quicker) than using the lossless feature of Avidemux.
Laptop 1: Windows 11 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.
Laptop 3: Linux Mint 20.3 64-bit, i5 @ 2.5GHz, 8GB, Intel HD Graphics 620.

User avatar
andyprough
Board Warrior
Board Warrior
Posts: 1118
Joined: 2020-05-31, 04:33

Re: Want to Merge several movie videos into one

Unread post by andyprough » 2024-05-29, 23:01

suzyne wrote:
2024-05-29, 20:47
I had a reason to do this a few years back, and read that by putting the list of video files into input.txt and running this command I produced my single file.

Code: Select all

ffmpeg -f concat -safe 0 -i input.txt -codec copy output.mp4
I think I learnt this because at the time I had many files to process, and finding out how to do it from basic principles was more satisfying (and ultimately much quicker) than using the lossless feature of Avidemux.
That's pretty cool! Anytime I learn a new command with ffmpeg I write it down for future safekeeping. Last year I had someone sending me video files that were each multiple GB's in size, and I found ffmpeg was the best tool for quickly converting them to a much smaller size while remaining clearly viewable. Learning and trying all the codecs and their conversion options was quite a task though.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5605
Joined: 2015-12-09, 15:45

Re: Want to Merge several movie videos into one

Unread post by moonbat » 2024-05-30, 01:23

back2themoon wrote:
2024-05-29, 15:09
I don't see why Electron should be an issue here.
It's an issue everywhere, thanks to shipping a whole Chrome instance to render a webpage locally, when the native toolkit of the platform or something cross-platform like Qt would suffice. And also the long persistent issue of completely ignoring desktop UI conventions because you're just rendering a goddamn webpage and calling it a day.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2900
Joined: 2012-08-19, 20:32

Re: Want to Merge several movie videos into one

Unread post by back2themoon » 2024-05-30, 10:19

I don't disagree moonbat, just sayin' that if the only free alternative to a fairly reliable Electron "app" would be editing video files (and not just simple joining) with the command line, I'd rather use the Electron monstrosity.

As for paid programs, I prefer TMPGEnc MPEG Smart Renderer which is a joy to use. Also knew of VideoReDo software, but looks like that is over. More info and alternatives discussion, here:


User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5605
Joined: 2015-12-09, 15:45

Re: Want to Merge several movie videos into one

Unread post by moonbat » 2024-05-30, 10:42

back2themoon wrote:
2024-05-30, 10:19
I don't disagree moonbat, just sayin' that if the only free alternative to a fairly reliable Electron "app" would be editing video files (and not just simple joining) with the command line, I'd rather use the Electron monstrosity.
But that has never been the case, many of the other tools mentioned here are FOSS and have been around for decades.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net