How to Merge Multiple Video Clips with VLC player
HTML-код
- Опубликовано: 13 сен 2024
- Merge multiple video clips easily: www.winxdvd.co...
Learn how to merge multiple video clips with VLC player.
TEXT:
vlc [first filename] [second filename] --sout "#gather:std{access=file,dst=[new filename]}" --sout-keep
SUBSCRIBE FOR MORE TUTORIALS
► bit.ly/subscrib...
MORE VLC TIPS & TRICKS
How To Cut Split Or Trim Videos In Vlc Media Player
► • How To Cut Split Or Tr...
How to Zoom Videos in VLC Media Player
► • How to Zoom Videos in ...
Convert MKV to MP4 using VLC Media Player
► • Convert MKV to MP4 usi...
How to Rip a DVD to your PC with VLC
► • How to Rip a DVD to yo...
Convert Video To Images With VLC
► • Convert Video To Image...
How To Hardcode Subtitles With Vlc Media Player
► • How To Hardcode Subtit...
SHARE THIS VIDEO:
► • How to Merge Multiple ...
To merge multiple videos into one go to media and click open multiple files.
Now click the plus button to add videos.
Now on the dropdown menu click convert.
Choose mp4 format.
Select this append converted to the filename so you know the difference between the old and the new videos.
Click Start.
We are doing this because we want videos to be the same format and same frame rate otherwise it won’t work.
Now open your notepad and paste this text inside.
You can copy it from the description of this video.
Now go to start and type vlc.
Right click and open file location.
Now right click on the vlc media player and select properties.
Copy file location and paste it instead of vlc in notepad.
Instead of the first file name add name of your first video.
And for the second filename add the name of your second video.
Now replace the new filename with the final name you want for the merged video.
Ok.
Now go where your videos are.
And in the address bar type cmd.
It will open the command line.
Paste the text from the notepad and press enter.
Wait for the merging to finish.
And hopefully if you done it right you will have your videos merged into one video.
And this is it.
This is How to Merge Multiple Video Clips with a VLC player.
Thanks for watching, drop some comments below if you find this helpful and have a nice day.
Merge multiple video clips easily: www.winxdvd.com/video-transcoder/?ttref=2404-ytb-wvx-ezt-incl-3l
Thank you for your great video tutorials EZ Tutorial 🙂 Yours are the BEST, shortest and most to the point on using VLC on RUclips.
You're very welcome! glad you think so!
If you want a smaller file size without sacrificing qualify, choose "Video - H.265 + MP3 (MP4)". You can still get 4K videos and it streams better. Choose H.265, instead of H.264. [Edit: I'm doing it right now, turned my 132MB AVI file into a 30MB MP4 file.]
thanks for the tip
VCL just as easy and user-friendly as ever.
except for having it play the next video
Brilliant; complicated but brilliant - thanks!
Glad it helped!
If you are having issues make sure this is done.
1.there is no space in the titles of your files. the out put filename can have spaces.
2. VLC Path is in quotations
3. Space between "--" and sout-keep in the end.
4.Run from CMD not power shell.
"C:\Program Files\VideoLAN\VLC\vlc.exe" nospace_part1.mp4 nospacepart2.mp4 --sout "--#gather--:std{access=file,dst=Space and time.mp4}" -- sout-keep
Thanks for the tip!
thank you. I was using right click "open terminal" instead of CMD, and by default the terminal is powershell, not CMD. thanks.
Result at the cmd one is always a screenless mp3 with the filetype of mp4
Thanks!!! you just got a new sub. This video saved my ass. Thanks again!!
Thanks
in search of an easy way to combine videos, and i run into this lol. the search continues!
oh grow up dude its not that hard
Well done set of instructions. Short and sweet, but most importantly WORKS!!! Thank you Sir ☺🙏🏽👍🏽
You're welcome!
Just what I was looking for, precise and simple. Thank you, man! 👍
You're welcome!
Seems like it worked after I realized I needed to deleted the [ ] around the file names. But, the second video is stuck on the last frame of the first video and I get audio only on the second. Guh, why is this so hard?!
Precise to the point. Saved my day. I actually used to merge two MP3 files and it worked . Thank you and God Bless.
Glad it helped
Thank you for the video. I followed your instructions. I have four .mp4 format files converted by VLC from .mpg format and they are over 400Mb each. When I combine them using your instructions, it does go through the process however the final file is much smaller than the two source files combined and it is not playable. I am using 64bit VLC also tried the 32bit. Your help is appreciated. Thank you.
It works great! Thank you for the video.
You're welcome!
Very nice, it worked like a charm! Thanks for sharing!
thanks!
Amazing tutorial video! Thank you :)
Glad it was helpful!
Nice tutorial, but what in the world??? Why would this be the method for joining videos? I think I'll look for a different program
It's because this allows someone to repeat the shown process hundreds/thousands of times by scripting...
Works but sadly no audio on second clip on final video. Very technical and one small mistake can break the entire solution but it does the job. Thanks for the video! :)
Yes, you are right
@@EZTutorialsOnline Is there a workaround for the audio?
same problem! did you figure out how to fix this?
Same issue here with the audio
my god wow thank you so much , easy to leaarn too , i have been doing it the hard way wow
You're very welcome!
Perfect - does just what I needed. Thank you.
You're welcome!
Almost thought this didn't work... since had a type like twice with a space between the "--" and "sout-keep" Then saw the typo and still wasn't opening the final.mp4 file. Though either had to wait a little more patiently or close VLC player, since once I closed I saw the final.mp4 file thumbnail appear and the file opened with video and audio. Thanks for sharing! Was about to install Windows Movie Player on the Win7Pro machine... until I downloaded and while downloading I thought... I think VLC has options to do some minor editing. Searched and found this. Thanks again!
Hey, thanks for the great feedback. Glad you liked it. You're welcome, and good luck in future with vlc.
@@EZTutorialsOnline Thanks man and subscribed. You have some excellent tutorials.
ruclips.net/video/hNWnI0DwdrU/видео.html
@@aathmam8044 et.al. Wound up downloading and playing around with VideoPad, avidemux, Windows Movie Player, Roxio Game Capture HD (forgot I had and editor with that), VSDC Free, OpenShot and kdenlive video editors. VSDC isn't loading now for some reason. avidemux is kind of a hassle like all the others beside VideoPad which seems really intuitive. Roxio wouldn't load AC3 audio or mp4's. OpenShot has some awesome Title Screens and Transition... with even more if you have Blender installed. Windows Movie Player doesn't offer much like avidemux. I'm still trying to get used to OpenShot and Kdenlive since they seem to have options worthwhile using. VideoPad still from my skill level as a newbie wanna-be... seems the best. OpenShot is making sense for rotations now where the property needs to be manually entered as 0.0001 or some number if you have a 90 degree rotation that only rotates 180 degrees. Guessing there is some format the video editors use that is different that using the audio editing software that seems more like how VideoPad is designed.
@@EZTutorialsOnline hey I have tried it numerous time but it is always showing file is corrupted or non supportive...can you please help me?
Awesome, it works splendid. However for non-IT person it will be little difficult to remove typo errors in command.
Thanks. yeah, it's a bit hard.
Thanks, IT person, for pointing out “typo errors in command.” Very helpful…
Hi What is the error. How to correct it?@@egorbrandt
Thanks. Is there no way to simply do it within VLC without having to use the command prompt?
GPT tells me you can put your files into a VLC playlist then convert the playlist into a single file, but the last step does once again involve command prompt:
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --sout "#gather:std{access=file,dst=walkmyddfai.mp4}" --sout-keep playlist.m3u vlc://quit
You are great my friend!
Thank you! Cheers!
Great! it worked as explained. Thx!
You're welcome!
Thank you for making the s video
Thanx for the video! Was really helpful
You're welcome!
For my merge attempt I end up with an ENDLESS LOOP, where the same 10 mp4 files keep merging over and over. I eventually have to manually close vlc for it to stop. When i check the merged file its 5GB when the 10 videos individually are only about 50mb. The final video does show the clips but they are out of order and doubled/tripled clips.
What can i do so that the 10 mp4 files merge only with out duplicates?
I'm also having this problem, not sure how to prevent it. It would fill my whole disk if I let it.
@@teivosenol I figured this out by default of VLC has a repeat button that is set to on. You need to disable this. The button looks like circled arrows near the play button. Turn this off and try again and it should prevent it.
@@GuevaraGarden thank you
Did you miss a step here? You gave instructions to convert the file but did you forget to tell everyone to delete the original video1.mp4 files and rename the converted ones to the original deleted name? Did you? Otherwise what was the point to create the converted files?
Thank you so much ...You save my lots of time ...thanks again :)
You're welcome!
Brilliant, thanks for this. The only issue is that both on the conversion and merge steps my VLC keeps getting stuck in an infinite loop, but it is working (I just have to shut down VLC each time). Any idea if there is some setting I have on that is causing this? Thanks again
Thank you!
You're welcome!
Simply great. thanks man!
Glad you liked it!
Thanks for the video. It works very well. Thank you very much you saved me from downloading any ither application. I needed it to merge some lectures that I recorded together.
Thank you very much.
Just one question will the VLC close by itself after completing?
You're welcome! Glad video helped. Hmm. i don't know, let me know if you manage to find out.
@@EZTutorialsOnline I don't actually know. It took a lot of time and was not closing so I forced stop it through task manager.
@@arya5 Hi Friend, After conversion done, VLC remains opened. You have to close it manually.
I tried the merge with two files as directed, and when playing back the combined file, the result is that the first video plays through fine but when it gets to the second video, the audio was cut out. Just to try it again without conversion first (since that step takes so long), I tried the combine script with the two original files since they were created using the same screen capture feature of my Nvidia video card (Shadow Play). The recording should have the same frame rate and dimensions, but the result was that when the combined played back and reached the second video only the audio was there, not the video. It just paused the video at the end of the first file. My theory with this is that Shadow Play is using some kind of variable frame rate to improve performance so I might have to mess with that a bit. But for recordings without audio, this method works well. This is with VLC "3.0.12 Vetinari"
Hey Joseph thanks for the tip.
Thanks man.
No problem!
Once I figured out there can't be any spaces in the filenames, it worked. However, it combined two files of 1.5GB each into a 47GB file, which VLC won't play.
Thank you so much! I merge my two converted videos from video editor, but it has no sound. Your method worked perfectly.
Subbed.😉
Great to hear!
Thanks Philip!
I wish there was some sort of progress bar. I’m trying to merge 5 files that are all 1+ GB. The command runs quickly on small files, but I have no idea how long this will take to merge these larger files. . .
Thank you, really helpful. However, I lost the voice of the second video
For everyone running into problems - you need to update your VLC media player to the latest version.
thanks for sharing!
@@EZTutorialsOnline I update my vlc but not working after merge video not playing
@@Khyalia05 I have the same issue.
Thanks, does this work with mkv files though?
I think yes
@@EZTutorialsOnline Unfortunately it didn't work for me. Will have to re-encode into mp4 I guess.
What if I am trying to combine 7 videos onto 1?
The first two turn out OK, but after that there is no audio. How can I fix this?
Worked very well for 4 files. Thanks
You're welcome!
thanks EZ!
Welcome
It opens up my VLC after the last step and nothing happens, video is not anywhere.
Hello, I did the same steps as you described but the final file can not be open correctly with mp4a issue, any idea about that? Thanks for support.
Converting the files via VLC causes laggy playback issues. They're all .mp4 files anyhow so I skipped the first step and tried the second. I don't seem to be able to merge them. I don't see a completed/merged file in the folder.
This doesn't work at all for me. The first conversion using the GUI causes all subtitles to be lost. The command line step does nothing but put the two files into the GUI's "Playlist" - no merge happens.
After doing this I found just icon of merged file of 4kb. There is no data in the file. Would you please help and solve my problem.
"C:\Program Files\VideoLAN\VLC\vlc.exe" 1.mp4 2.mp4 --sout "#gather:std{access=file,dst=ok.mp4}" --sout-keep
We can’t open final file. This may be because the file type is unsupported, the file extension is incorrect, or the file is corrupt.
i did but only the first file has sound and others are silent
After trying to use this VLC utility for a few days on numerous video files, I find it to be wonky and inconsistent. On some of my conversions, the audio was removed on the last input video clip. On others, if the output video was longer than 44.34 minutes, the video would cut out or the playback would halt as if the file was corrupted. I guess you get what you pay for. I have looked into other third party utilities that append video files, but none I've found will save in 4k. I wish VideoLan would fix this - obviously it is a function that has user demand.
If I had several of these merges to do, could I create a batch text file and run it in command line?
I think it should work.
@@EZTutorialsOnline Yes I tried it and it worked. You just enter the commands in notpad and save the file as *.bat, then enter the file name at the cmd prompt.
Thanks
Welcome
It worked but the sound disappeared from the second video
@EZ Tutorials... I did everything right but then nothing happens for a long time and VLC screen remains idle without doing anything.. This is becoming confusing. Please help
Thanks bro
Welcome
can it be done for more than 2 videos ?, because i did the same thing and my third video is not included despite the final video having the sum times of the three, like that ( "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" 1.mp4 2.mp4 3.mp4 --sout "#gather:std{access=file,dst=Final.mp4}" --sout-keep )
I didn't try that, but if it works, that would be awesome!
Broken in Win 11. CMD does not appear from file browser
I did this on windows 7 and latest VLC downloaded from official website, I had 3x mp4 videos merged, the first video is ok, audio ok, but second and third videos are upside down and no audio!
Thanks! But I think you could mention there is no need to convert, if they are already the same format.... wasted 1hr to convert from mp4 to mp4 hehehe
Sorry for criticism, thanks again!
Yes, you are right. omg :)
ruclips.net/video/hNWnI0DwdrU/видео.html
The line you in the notes and the line you show in your video are different now. and if I follow the one you typed in VLC just keeps rewriting it over and over and over until I have to close CMD
Which text to paste in notepad ??
Don't mind the comments saying it doesn't work, brother--they're just plain stupid.
Tried 3x until I made it work, and it's all my fault why.
Thanks for the support! You made my day :D
watch out people we got a smartass over here!
do you have any options?? an easy option to megre all 457 videos. i download this movie but the movie is cut into 467 pieces its hard to watch cut movie because it stop or it freeze. i want it to megre in easy ways that i dont have to arrange all or what you've been doing in this video toturial...
Oh, I don't think that is possible with VLC. Maybe to use DaVinci resolve free version and there drop all your videos and produce final version...
Some files that need to be converted need 'interlace' activated, while others will only properly convert with 'interlace' off, if not properly converted as just described, when you go to play your converted file you will only have sound while displaying a black screen. That's a problem, because when you go to merge all the files together you're only going to have the choice of 'interlace' being off, or on, which means some of the files that make up your combined larger file will be fine, while other portions of the combined file will have a black screen with sound only when you go to play it. I don't see any way around that obstacle using VLC, maybe some third party converting software like WinX addresses that problem?
Updated VLC, converted from mkv to mp4 (videos were recorded sequentially, with no configuration changes). Changed line with proper names and VLC filepath, got a file, but it doesn't run. File 01 was 47MB, File 02 was 9MB, merging created 8MB file. Something is not working. Any ideas?
interesting but when i do same im seeing same files with converted name on it ?
this is a scam video
Would have liked to see the RESULTS... side by side... Just saying. Thank you however.
I did not understand what you copied into notepad. I did not see any description for my file to copy...
what did you copy?
Thank but it didn't work for me . When it supossed to have the merged file at the end a window popped up as a playlist on VLC .
wont work i get an error message saying it cannot be opened even when i changed the file name to the entire directory of it, it makes since too, how is VLC going to locate the files and combine them?
where i find the text , I can't find it
Didn't work or me. dang. I did learn no spaces or characters allowed in filename to be converted. Just got a 0 byte file at first - then eventually got a piece of the concatenated files. Stopped somewhere in the middle I guess.
Video is Merged but only audio not video .also both vdos are in same format
Hmmm, that's strange. let me check it out.
doesn't work. no audio on the next file.
Hi, I tried that with 2 MP4 files, VLC version 3.012 and I also get only an empty file (probably containing some file headers). Maybe the latest version of VLC are buggy?
"C:\Program Files\VideoLAN\VLC\vlc.exe" "1.mp4" "2.mp4" --sout "#gather:std{access=file,dst=12_converted.mp4}" --sout-keep
I got the same thing. I tried to combine 6 mp4's and just got a zero byte file. When I closed VLC, the zero byte became 84 MB's. Give it some time I guess.
Which text to copy ?
Are you sure the dos line is correct. I used "C:\Program Files\VideoLAN\VLC\vlc.exe" vid1.mp4 vid2.mp4 --sout "#gather:std{access=file,dst=combined.mp4}" --sout-keep and go lots of errors such as Unexpected token in vid1.mp4
Will this work for windows 7 too?
Yes, it should.
failed but I tried it with mp3 files. does it have to be mp4?
i wonder what i do wrong it doesnt work
How do you do this on MacOS?
I've been searching the web, but all the results I see are tutorials on Windows OS.
Please help.
You don't, just as Mac doesn't offer the option for skinning VLC, but Windows does. I'm typing this reply on a Mac right now, but I used Syncthing to transfer my files over to my Windows PC to accomplish the task. It's always good to have a Mac, Windows, and Debian, so that no matter what task comes up, you can always quickly accomplish your goal. Don't have an alternate computer? Download different video editing software from the Mac store and try out different things. *shrug*
I have 900 videos to merge, I think this version is too much work for me, but thanks
I understand
can also mention the Notepad pre-written Command on notepad in your comments section
Sure
doesn't work for me, nothing seems to chance. And I really did every step that you said.
please provide text which we should type in notepad
Hi, this was great. My problem is that the video converted but with no audio....how can I fix this?
Thanks! Did you check your audio drivers?
doesnt work....
Have a little issue , after i merge it the file size is super huge
What if I have 19 videos and they all are of 1 or 2 hr long...How much time will it take
it depends on your pc configuration
ruclips.net/video/hNWnI0DwdrU/видео.html
Only Works For Two Videos
??
Thanks a lot
Most welcome
I tried to merge 8 mp4 converted files. It didn't work
Any way to do this on a Mac?
it you apply that code it turns out into a giant file in size. Very bad solution to merge videos.
How long does the merge part take as I did every step just the names of my first that I'm wanting to merge are lengthily in titles does that matter and I did the conversion so they're on the same format and rate but the merged video isn't showing
Looks like something got bugged. Try to download latest VLC version.
I have a similar question - does the merge time scale up with significantly with the length of the videos? I've got 2 33 minute mp4's to merge and it is taking a while. The new file is queued in my directory, which is good, but it's been merging for several minutes now.
I can't get them to play in the right order. The one I want last keeps going first. It's very frustrating as I know it is something simple.