Is there a way to insert an mp3 audio file into a video? I'm using virtualdub but can't seem to find an option for that. I want to insert an mp3 file from a certain point in the video, not just replace the whole audio, that's why the "use wav audio file" won't do. Thanks in advance![]()
+ Reply to Thread
Results 1 to 5 of 5
-
-
In virtualdubmod the option is under Streams -> Stream List. There you can add any extra audio tracks. However, while you can add a delay to shift the start point, you can't practically use this function to add the audio to start, say, halfway through. If you want to do that, either use an audio editor like Goldwave, or add sufficient dead air to the audio before it starts.
Read my blog here.
-
Sycnview can help here
Tool's :
Vdub / syncview / audiocity
To do this correctly :
Open clip in vdub .
Press ctrl+I
Down below in center of vdub are two black arrow button's , hit the left one
Grab the button on time line , drag to end of first clip section ... showing last frame .
(if you go past frame ... remember , use the arrow key's to move back and forth ... coming back take's longer)
Hit the black arrow button on right .
Disable audio ... none
Set video to direct stream copy
Save as avi ... call it part1.avi ... and wait .
Next :
Press right arrow key on keyboard ... hit that left arrow button .
Drag button on time line to end of entire clip ... hit the right arrow button .
Save as avi ... call it part2.avi ... and wait .
-----------
Create blank audio
Audiocity ... open any small wav
Make a copy
Remove original
Apply silence filter to the copy
Check output is 44.1khz , stereo , 16bit ... and save as part1au.wav
Audio for second part :
This audio "mp3" should be as close in matching of video time length ... or audio pitch will be affected .
Open in audiocity .
Check output is set to above spec's as mentioned before ... save as part2au.wav
----------------
Open sync view
Load part1.avi
Load part1au.wav
Up top , next to help is the fuction for exporting the audio .
In this window , there are multiple option's .
Locate option that allow's for audio to match video time length ... set it this way .
Save this wav out as part1aufix.wav
Repeat step's for part2.avi , and part2au.wav ... this is why I said to make sure the audio is near the same length as video ... it will keep audio pitch disturbance down to the minimum .
Save wav out as part2aufix.wav
-------------
Back in vdub
Open part1.avi video
Go to audio , choose wav ... locate part1aufix.wav
Set audio compression if required ... to mp3 format .
Set video to direct stream copy
Save as one.avi ... and wait .
Repeat step's for part2.avi , and part2aufix.wav
Recheck audio setting's
Video should have stayed ... unless you closed vdub .
Save as two.avi ... and wait .
----------------
Joining
Open one.avi in vdub
Go to file , choose "append avi"
Sellect two.avi
Set both audio and video to direct stream copy
Save as final.avi
--------------------
Close vdub ... and rename avi to what it should be called .
Some program's still only operate under the old 8:3 name format ... so try keeping name'sdown in size ... and avoid symbol's .
You now should have the clip in the required format .
Ps : not all mp3's are in suitable format ... convert to wav at 44.1khz , 16bit , stereo ... reconvert back to mp3 on final output from vdub . -
SANAFABICH,
Hi. I recommend you for MPEG Video Wizard.
There are two audio tracks on the Timeline in MPEG Video Wizard, on which you may add your favorite MP3 songs and the sound tracks from CD's. All audio clips may be moved around, trimmed and edited in a similar fashion to that performed on video clips and still images.
Wish to help you. -
I think I can improve on BJ's guide by pointing out a few things.
You should actually use SyncView for BOTH audio steps, because the built-in export tool he mentions does BOTH types of resizing: padding/trimming and stretching/compressing. Both operations are precise to the millisecond. For example, if my target length is x.xxx seconds, I will get a new wav that is exactly x.xxx seconds with both methods separately, or both methods run together.
The first method (padding/trimming) should be used to shift the audio earlier or later; the second method should be used for frame-rate tweaking (i.e., resampling). You can--and often should--use both methods in the same pass when altering the frame rate, because it is usually the case that the original audio length is not exactly the same as the original video length---and they must be before you proceed with resampling! Trust me on this one.
It's so easy for me now, I have difficulty explaining it; but try to remember this rule whenever your situation demands a non-linear repair:
1. Match the length of the original audio to the length of the original video;
2. Then stretch (or shrink) to match a new video length.
Again, SyncView already supports this, but much of the explanation appears in the tooltips (there are many tooltips just waiting to be read).
Similar Threads
-
Adding subtitles to a video TS file
By chiburu in forum SubtitleReplies: 2Last Post: 17th Jul 2011, 14:32 -
Adding audio (wav) to video (avi) (want to delay start of audio)
By Lanton in forum Newbie / General discussionsReplies: 2Last Post: 12th Apr 2010, 12:50 -
Adding audio track to MKV file
By SavageButcher in forum Video ConversionReplies: 2Last Post: 29th Mar 2010, 03:33 -
Adding a text logo to a video file without re-saving it to another file?
By coxanhvn in forum EditingReplies: 4Last Post: 19th Dec 2008, 15:03 -
Adding new audio track to avi file
By skaleton in forum AudioReplies: 5Last Post: 11th Apr 2008, 13:29