VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. 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
    Quote Quote  
  2. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    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.
    Quote Quote  
  3. Member
    Join Date
    Feb 2004
    Location
    Australia
    Search Comp PM
    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 .
    Quote Quote  
  4. Member
    Join Date
    Jul 2006
    Location
    Somewhere
    Search Comp PM
    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.
    Quote Quote  
  5. Member
    Join Date
    Apr 2004
    Location
    United States
    Search Comp PM
    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).
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!