Hello,
I'm new here but I'm using this site as a guest for about 10 years now. Now I have returned as a user with a problem, I haven't found a solution for, yet.
I've tried a few things but the last was to extract the audio track with VIRTUALDUB. I used "Full Processing Mode" and now I have a 648 MB mp3-file extracted from a 203 MB mp4-file. I would like to add this file to a 608 MB avi-file.
My sources:
These are the MP4 and the AVI-file. I need the audio file from the MP4-video for the larger AVI-video.
Is there a way to be shure they are in sync or do I have to this after I merged them?
If you need any additional information, please let me know.
Thanks in advance.
+ Reply to Thread
Results 1 to 10 of 10
-
Last edited by abrafax; 1st Oct 2012 at 13:03. Reason: Edited pictures.
-
you can use avimux-gui to replace the audio streams
or vdub:
audio => audio from other file
video => direct stream copy
I used "Full Processing Mode" and now I have a 648 MB mp3-file extracted from a 203 MB mp4-file.
If you wanted to re-encode it as MP3, use audio compression and lame in vdub, or another audio converter
They won't be in sync because the duration is differnt 1:04:22 vs. 1:04:16 . You might have to manually sync it or shift it, or even stretch it in an audio editor . These are different cuts of the movie - notice the framecount is different 96,382 vs. 96,545 (maybe one has some intro or ending credits cut off for example) -
Thanks a lot for this fast and efficient help.
It's very easy, when you know what to do. I've used VirtualDub and it's done. You were right, it is out of sync. The avi file had a few additional frames at the beginning. Another thing I noticed is that the new avi-file is much bigger now. Is this normal?
But more important for me: Which is the easiest way to sync the audio with the video? Should I use Audacity or another software?
Thanks again. -
how much bigger? is it 648 + 608MB ? or is it a lot bigger? Did you select video=>direct stream copy? If not you will get uncompressed video (very large)
But more important for me: Which is the easiest way to sync the audio with the video? Should I use Audacity or another software?
If it's ONLY extra frames in the beginning, you can mark the cuts with vdub , but do this BEFORE adding the new audio (maybe open 2 instances of vdub and swap back and forth to see where to make the cuts) . If there are other issues (maybe extra scenes, extra frames elsewhere), it will be harder to do -
Concerning the size. I made a mistake, the original was of 699 MB, 608 is the width of the video. Now it is 1,17 GB. I have used "direct stream copy" as you told me. Would be nice if we could solve it but this is not so important.
I will try to use VirtualDub, vegas is much too expensive for me. If it similar to the use of Subtitle Workshop I should manage.As far as I've seen it there are only a few additional frames at the beginning of the avi. I have to see though if there aren't any at the end to. But it should be the same procedure I guess. Is there a way to see the number of frames left while processing?
EDIT: At the end the audio file is longer. I probably have to delete the end with Audacity. Is there an easy way of finding out how much I have to cut off?
Thanks.Last edited by abrafax; 1st Oct 2012 at 13:43.
-
I already explained above, it's most likely a wav file , not mp3 . When you use full processing mode, but no compression, it will be uncompressed wav . Use mediainfo if you want to confirm it
Use audio compression to convert it to mp3, so the audio size will be smaller (e.g lamemp3)
I used "Full Processing Mode" and now I have a 648 MB mp3-file extracted from a 203 MB mp4-file.Is there a way to see the number of frames left while processing?Last edited by poisondeathray; 1st Oct 2012 at 13:42.
-
I think there is a missunderstanding. I've told you that I have done it, but I didn't use this huge audio file.
When choosing "Audio from another file" from the Audio menu, I chose an AVI conversion of the MP4-video I had done in one of the previous tries. Both of these have the German audio file I need, the one I want to use it instead of the original Russian audio.
In the following I refered to the audio I want to keep. It is not a separate audio file but the audio file from the video I want to use it from, the one in German. I only hope it's not too confusing.
EDIT: At the end the audio file is longer. I probably have to delete the end with Audacity. Is there an easy way of finding out how much I have to cut off?
If you could help me with cutting off some of the audio file it would be perfect.
Thanks again and sorry for the missunderstanding.Last edited by abrafax; 1st Oct 2012 at 14:27.
-
So use something like lamexp to change the aac audio to mp3 . After than use that new mp3 to add to your video
If you know what to cut, then you can use audacity too. I can't do it from here
You can use mediainfo to see the duration of the audio and then cut the difference. e.g. if one was 1 hour, 2 seconds, the other was 1hour 1 sec, cut 1 second off the end . This assumes that the scenes are the same between the video and the beginning is matched up already. If not, it will never be in sync without more editing
Another way would be to see how the waveforms match up in audacity then try to match them or cut them
All this is a lot easier in a video editor IMO
Good luckLast edited by poisondeathray; 1st Oct 2012 at 14:30.
-
If you're certain that ONLY the beginning and end are different (but the middle is the same) , then you can do the cuts in vdub (mark in/mark out, hit delete - do this for the beginning and end sections) . Use the 2 vdub instances to check to see they match. The frames should be the same once you're done. If they are not, then you have different edition of the movie (frames don't match and it will be very difficult to do without an editor) . Then export the cut audio (file=>save wave), the encode that as mp3 e.g. lame xp. and join it with the video (avimux-gui or vdub as before)
-
Thanks again. You were of huge help to me.
I think I can manage from here. Probably I will give Vegas a try because I see it's a trial version. Should be ok for what I need.
Please read my last post, too. I edited it a few times, explaining a few things.
Greetings to Canada.
Similar Threads
-
Replace .MKV Audio with Different Track
By Justron in forum Video ConversionReplies: 2Last Post: 1st Feb 2012, 17:03 -
How do I replace audio track on Mp4?
By unwired in forum EditingReplies: 3Last Post: 24th Jul 2011, 14:53 -
What is the easiest way to add or replace existing audio DVD sound track
By pwangdel in forum Authoring (DVD)Replies: 18Last Post: 2nd May 2011, 01:10 -
question how to add audio track to avi
By jimdagys in forum Video ConversionReplies: 6Last Post: 24th Dec 2008, 06:07 -
replace audio track in retail DVD
By foolosophy in forum AudioReplies: 7Last Post: 2nd Aug 2008, 18:04