Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
How do I merge 4 videos into one? #10054
Comments
|
Use ffmpeg/avconv. |
|
@dstftw thanks. but what do I type in to merge them using ffmpeg? |
|
@dstftw Thanks for those instructions. This is what I am supposed to do right? It seems to work now that I updated the last line but it is converting mp4 to ts, then ts back to mp4, is that necessary? ffmpeg -i 1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts |
|
You have 3 mp4-files, or rather mp4-containers, each with a H264-videostream and an AAC-audiostream inside: Btw, if you clearly specify |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2016.07.09.2. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add
-vflag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):Description of your issue, suggested solution and other information
When I am downloading the video above, it brings out 4 different files, I just want 1 file. I guess it is doing that because there are ad breaks in between but I don't want ads either.