Staredit Network > Forums > Technology & Computers > Topic: Merging 10 video files
Merging 10 video files
Mar 25 2011, 3:49 am
By: rockz  

Mar 25 2011, 3:49 am rockz Post #1

ᴄʜᴇᴇsᴇ ɪᴛ!

I have 10 xvid/mp3 avi videos which I would like to merge into one long video (each is like 10 minutes). I've successfully used avidemux to merge the video and the audio, but they get ridiculously out of sync as the video goes on. Does anyone know a simple way to do this? I suppose I could even just split each audio visual into its respective raw codec and copy /b the files together, but I'm not entirely sure how to extract the raw data stream, and I'm not entirely certain it will stay in sync.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Mar 25 2011, 4:00 am ShadowFlare Post #2



I'm not sure if it would work, but you could try chopping the last frame off from the end of each to be sure you get exactly the same length for the video and audio in each video before you combine them. You might need to convert the audio track to an uncompressed format before you do this.



None.

Mar 25 2011, 12:33 pm NudeRaider Post #3

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Manual correction isn't an option? I mean couldn't you use a video editing tool to add a few ms of silence, or another video frame where it gets out of synch?




Mar 25 2011, 2:57 pm IskatuMesk Post #4

Lord of the Locker Room

mkvtoolnix is your best bet. Vdub works too, really, but mkvmerge is much faster and more effective.

And, as SF says, make sure the audio/video streams are exactly the same length. This is a big deal for merging. If the audio is even a second longer/shorter major desyncing will occur.



Show them your butt, and when you do, slap it so it creates a sound akin to a chorus of screaming spider monkeys flogging a chime with cacti. Only then can you find your destiny at the tip of the shaft.

Mar 25 2011, 7:14 pm rockz Post #5

ᴄʜᴇᴇsᴇ ɪᴛ!

Alright, it looks like avidemux sucks for a lot of things, but mkvtoolnix worked perfectly.

I can't ever get things to import correctly into Vdub.

I'm actually cropping a TV show into a full length film and cutting out intro/commercials, so the audio should be lined up perfectly, assuming avidemux (what I used to crop) didn't fuck up the lengths of the video and audio track. What's really amazing is that one of the videos was on divx, but mkvtoolnix managed to make it work just fine. I'm not sure if it remuxed it, or if divx=xvid in some cases.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Mar 25 2011, 7:42 pm IskatuMesk Post #6

Lord of the Locker Room

Dvix should work fine.

If you want to be sure about cutting out commercials you could go through a (annoying) process of cutting stuff out of it using the split by time function in mkvmerge (through the Global) tab. It isn't always perfect (it seems to have a limit on how small of a section it can cut so it might be off by a few seconds), but I did this to cut parts out of videos before. The logistics could be irritating if you aren't accustomed to it.

Basically...

*Show*-commercial-*Show*

You split at the first show stream when the commercial begins, then split the second show stream when the commercial ends. Thus, cutting out the commercial and getting two show streams you can later merge back together.

There's faster/easier ways to do it but they would require other programs and re-encoding which can be annoying.



Show them your butt, and when you do, slap it so it creates a sound akin to a chorus of screaming spider monkeys flogging a chime with cacti. Only then can you find your destiny at the tip of the shaft.

Mar 25 2011, 7:46 pm NudeRaider Post #7

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

On that topic, if you allow my hijack, what's a good program to extract parts of the audio of avi files? (preferably without recoding)




Mar 25 2011, 7:52 pm IskatuMesk Post #8

Lord of the Locker Room

Audition can lift stuff from videos if you drag-drop the video onto it and it supports the codec. If it's something like AAC or whatever that is not natively supported, a google search can usually yield a plugin that enables that support.

I think mkvmerge can extract audio as well but I forget the exact process.



Show them your butt, and when you do, slap it so it creates a sound akin to a chorus of screaming spider monkeys flogging a chime with cacti. Only then can you find your destiny at the tip of the shaft.

Mar 25 2011, 9:37 pm Apos Post #9

I order you to forgive yourself!

Not sure if it would work for you, but you could try blender's video sequence editor.

I haven't watched the video (I have no sound on this computer), but it claims it could get you started





Mar 25 2011, 9:52 pm Jack Post #10

>be faceless void >mfw I have no face

Blender's video sequence editor is actually pretty good, I've used it for stop mo films among other things, mostly because vdub sux IMHO and the stop mo alternatives are extremely laggy.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Mar 25 2011, 10:41 pm Apos Post #11

I order you to forgive yourself!

When I first started to use blender's video sequence editor, I was also pretty amazed, I didn't think I would ever find something that good to edit my videos. Since it has a compositor, you can do a lot of cool things too.




Mar 25 2011, 10:57 pm SiberianTiger Post #12



windows live movie maker. it's the best thing ever. i made all of my youtube videos with it.



None.

Mar 25 2011, 11:25 pm rockz Post #13

ᴄʜᴇᴇsᴇ ɪᴛ!

I can't even figure out how to save an AVC video in movie maker.

Also nude, I don't think there's anything stuck in avi except for audio and video (though I wouldn't know because that's what mp4 and mkv are good at). So if you want to simply extract the video or the audio, you can use avidemux to copy the video stream and disable the audio, or save the audio.

There's a really nice flv splitter if you ever need to split flash, but often times the output data is containerless (.264 and .aac files).



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Mar 25 2011, 11:27 pm IskatuMesk Post #14

Lord of the Locker Room

Movie maker is awful. If you want to use an editor you should start with Vegas and then work up to After Effects, but the latter is considerably more difficult to break into.



Show them your butt, and when you do, slap it so it creates a sound akin to a chorus of screaming spider monkeys flogging a chime with cacti. Only then can you find your destiny at the tip of the shaft.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:00 pm]
lil-Inferno -- benis
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
Please log in to shout.


Members Online: Ultraviolet, Roy