Hi,
I'd like to know if it's possible to merge or join a few mp4 files without reencoding with Virtualdub.
Please let me know if we can do it, thank you.
+ Reply to Thread
Results 1 to 30 of 44
-
-
You can't save as/output as mp4 directly in virtualdub.
Merge with avidemux or mp4box instead. -
And if they are completely unrelated videos(not from the same camera - not from the same encode)....you will be re-encoding no matter what you use.
-
-
About Mp4box :
What's mux and demux, please ?
Unfortunately with Mp4Box, I hear that it lacks a video preview function with GUI timecode selector.
Do I need previously installed Mp4box, if I install Mp4Box GUI ?
-
As long as you don't mind MKV as the output, MKVMergeGUI will open MP4s (and other file types), append and split them etc and save the output as MKV. It's pretty easy to use.
-
Why do you need a preview ? Are you editing as well ? or only appending them end to end ? What do you mean exactly by "merge" ?
Are your MP4 files using different specs ? Check with mediainfo (view=>text)
Since you said they were "coming from the same video" , how were they "cut" in the first place ?
mux is shorthand for "multiplex" or putting elementary audio & video into a container like MP4
demux is short for "demulitiplex" or extracting elementary audio & video -
Hi ramaflore :
Try :
Code:ffmpeg -y -i "source1.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts "source1.ts" ffmpeg -y -i "source2.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts "source2.ts" ffmpeg -y -i "source3.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts "source3.ts" ffmpeg -y -i "source4.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts "source4.ts" ffmpeg -y -i concat:"source1.ts|source2.ts|source3.ts|source4.ts" -absf aac_adtstoasc -c copy -f mov "destination.mp4"
-
@aazerty: why '-f mov' in combination with .mp4 as extension? Wouldn't that create a .mov file with a .mp4 extension?
Why not use '-f mp4' ?users currently on my ignore list: deadrats, Stears555, marcorocchini -
Hi ,
That is what it is said , in the page ( in french ) :
http://hd3g.tv/b/2012/08/coller-des-fichiers-mp4-entre-eux-avec-ffmpeg
Under "Assemblage" .
Cheers . -
This is what I do. Then I either use MP4Box or ffmpeg to copy AVC/AAC to mp4 container. Usually not neccessary but some media players expect to see aac in mp4 and will refuse to play the file. If I'm converting a file that I've ripped from disc then I use the original ac3 and create avc/ac3 mkv. I try and steer clear of mp4 if possible.
-
I need the preview to cut manually with the marker while I'm watching the video. No, I'm not editing the video, I only need a direct copy without loss of
quality.
Merge or join files are the same for me.
Same specs.
The first time I cut was with Boilsoft splitter.
-
-
You are not going to be able to get a precise cut without using a pay program like VideoReDo TV Suite. You can try Free Video Editor but be careful when installing or you'll get adware. It seems to be the easiest to use and will work for other formats also. Not guaranteed to get frame accurate editing but it does save without re-encoding. Avidemux is way to buggy for me. Especially with mp4.
-
Hi ramaflore ,
Code:Create a batch file : 'xxx.bat' , put it in the same directory where are *.mp4 @echo on copy /B *.mp4 fusion.mp4 pause :fin OR Create a batch file : 'yyy.bat' , put it anywhere ( original files are at 'C:\Users\Gerard\Desktop\videos' ) ( final file will be on your desktop 'C:\Users\Gerard\Desktop' ) @echo on copy /B C:\Users\Gerard\Desktop\videos\*.mp4 C:\Users\Gerard\Desktop\fusion.mp4 pause :fin
-
That's "editing" . Merging implies joining videos together. "cut manually with a marker" implies editing . (Cutting is not the same thing as merging)
Anyways, try videoredo, solveigmm video splitter, tmpgenc smart renderer -
ramaflore: The videotovideo media converter program has a joining feature. If the specs match up completely you should be able to join the videos and by using the direct stream option there would be no re-encoding.
-
I use MpegStreamClip to cut and join mp4 (no re-compression).
1) File > Open Files
2) Control-click to select multiple clips
3) File Save As > .mp4Got my retirement plans all set. Looks like I only have to work another 5 years after I die........ -
-
-
I use QuickTime Alternative. It works well with mp4, mov files. There are better tools for other types.
Got my retirement plans all set. Looks like I only have to work another 5 years after I die........ -
Just had occasion to do this (add mp4's together) and found that if you use the Binary method to join (copy /b video.ext + video2.ext output.ext) you will get a video that has 2 mdat,2 moov, etc. This result may play in some but not all players and some streaming Servers like Plex wil stop after the first video plays.
What does work is if you join with FFMPEG type editors.
This video will have 1 Mdat and 1 Moov atoms with 2 trak atoms that will play on most if not all players/Servers. FFMPEG is fairly easy to use and requires no installation and since you have a 'Few' to join it should work well for this.
UPDATE: EXAMPLE WRONG WILL POST CORRECT LATER... SORRY about that.
Correct method would be to be sure only video/audio present and use the concat method with file list. Make a text file with a file similar to this and give it a name such as Filelist.txt:
file 'C:\Users\Bud\Desktop\[dp]Manjandani-1_Extract_1.mp4'
file 'C:\Users\Bud\Desktop\[dp]Manjandani-1_Extract_2.mp4'
Then concat with:
ffmpeg -f concat -i FileList.txt -c copy "C:\Users\Bud\Desktop\_Joined_2.mp4"
Last edited by Budman1; 28th Nov 2014 at 02:34.
-
Because WMP and VLC are designed to deal with borked files. MPC-HC, which uses LAV Splitter, is not.