1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Extracting Audio Stream - Merging With Different Video

Discussion in 'Other video questions' started by -LoNeR-, Feb 19, 2005.

  1. -LoNeR-

    -LoNeR- Active member

    Joined:
    Dec 29, 2003
    Messages:
    1,252
    Likes Received:
    0
    Trophy Points:
    66
    Hey Guys

    Long time since ive posted in here...

    lol, ive got a problem - ive got two files that are relatively the same in video content and one has good audio whereas the other one has bad quality audio - i want to take the good audio and put it into the other video file which is good quality video - but with bad audio.

    ok, hopefully you understood that :D

    any and all help on this project will be appreciated
     
  2. celtic_d

    celtic_d Regular member

    Joined:
    Jan 23, 2005
    Messages:
    3,352
    Likes Received:
    0
    Trophy Points:
    46
    Depends what the source files are. If they are say avi's then you could demux and remux the stream with VirtualDubMod, however you may need to adjust the length/speed of the audio before remuxing.

    You could use AVISynth:
    video = avisource("goodvideo.avi",false)
    audio = mpasource("goodaudio.mp3")
    audiodub(video,audio)
    delayaudio(-1)<--change value
    etc. to test out different values. Also the timewarp function.
     
  3. -LoNeR-

    -LoNeR- Active member

    Joined:
    Dec 29, 2003
    Messages:
    1,252
    Likes Received:
    0
    Trophy Points:
    66
    Cheers - i had a go with virtualdubmod last night & couldn't really use the program - i demuxed the audio but it came out as just 'file' what would i do with it?
     
  4. rebootjim

    rebootjim Active member

    Joined:
    May 13, 2004
    Messages:
    2,631
    Likes Received:
    0
    Trophy Points:
    66
    Load the file in virtualdubmod.
    Select Streams, stream list.
    Right click the audio stream.
    Select Full Processing.
    Select File, save .wav
    Give it a name and save it.
    There's your audio.
     
  5. -LoNeR-

    -LoNeR- Active member

    Joined:
    Dec 29, 2003
    Messages:
    1,252
    Likes Received:
    0
    Trophy Points:
    66
    yeah i know that - but im on about the demux thing, what does that do?

    Cheers for all help
     
  6. rebootjim

    rebootjim Active member

    Joined:
    May 13, 2004
    Messages:
    2,631
    Likes Received:
    0
    Trophy Points:
    66
    I guess I should have said, "Load your original movie file", not just "file".
    What you demuxed is useless, delete it.
    Extract audio as I explain above.
    If you want a video file with no audio (a wasted step really) select Audio, no audio, then save avi.
    Once you have your audio .wav file, you can encode the video to mpeg in any good encoder, using the extracted .wav as the audio source, and your original avi as video source.
    If you have sync problems, you'll need to sort out audio delay in something like Goldwave.
     
    Last edited: Feb 21, 2005
  7. -LoNeR-

    -LoNeR- Active member

    Joined:
    Dec 29, 2003
    Messages:
    1,252
    Likes Received:
    0
    Trophy Points:
    66
    cheers - that, if slightly insulting was quite insightful. cheers
     
  8. rebootjim

    rebootjim Active member

    Joined:
    May 13, 2004
    Messages:
    2,631
    Likes Received:
    0
    Trophy Points:
    66
    Sorry, not trying to be insulting, just plain info <grin>
    Cheers
     
  9. -LoNeR-

    -LoNeR- Active member

    Joined:
    Dec 29, 2003
    Messages:
    1,252
    Likes Received:
    0
    Trophy Points:
    66
    lol, it wasn't really - used it for lack of a better word, cheers for the help.
     
  10. celtic_d

    celtic_d Regular member

    Joined:
    Jan 23, 2005
    Messages:
    3,352
    Likes Received:
    0
    Trophy Points:
    46
    I wouldn't say that it was useless. Sounds like it is just missing a file extension. For instance if the source used mp3 audio then you would just add .mp3.
     
  11. -LoNeR-

    -LoNeR- Active member

    Joined:
    Dec 29, 2003
    Messages:
    1,252
    Likes Received:
    0
    Trophy Points:
    66
    no, it was a 'file' it had no purpose, no extension for a reason.
     
  12. celtic_d

    celtic_d Regular member

    Joined:
    Jan 23, 2005
    Messages:
    3,352
    Likes Received:
    0
    Trophy Points:
    46
    So if I take an mp3 and remove the .mp3 extension then it is useless?
     
  13. -LoNeR-

    -LoNeR- Active member

    Joined:
    Dec 29, 2003
    Messages:
    1,252
    Likes Received:
    0
    Trophy Points:
    66
    well, unless u replace the .mp3 - yeah
     

Share This Page