Audio problem with AVI

Discussion in 'MPEG-1 and MPEG-2 encoding (AVI to DVD)' started by jemima, Apr 19, 2006.

  1. jemima

    jemima Member

    Joined:
    May 6, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    11
    I've been using TMPGENC to encode avi's to mp2 and m2v and the mp2 file has no sound, ive tried to re encode the sound numerous times with tmpgenc but it keeps coming out blank. I opened the avi with virtual dub and it said its a VBR audio or something, anyway, can someone tell me the easiest method nad what tools to use to rip the audio from this avi to a mp2 file that is 256kbs
     
  2. rebootjim

    rebootjim Active member

    Joined:
    May 13, 2004
    Messages:
    2,630
    Likes Received:
    0
    Trophy Points:
    66
    Open the avi in virtualdub. Click file, save .wav
    Open the video in tmpgenc, select the .wav file you just saved as the audio source. Encode.
     
  3. jemima

    jemima Member

    Joined:
    May 6, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    11
    i only want the audio to be 256 though, how do i choose the encoding for wav? I need to conserve space
     
  4. aldaco12

    aldaco12 Active member

    Joined:
    Nov 6, 2002
    Messages:
    2,544
    Likes Received:
    0
    Trophy Points:
    66
    Extact the sound as uncompressed WAV with VirtualDub. If the AVI has AC3 sound you'll have to demux directly (and to use in DVD authoring or converting it to MP2 later [to gain only a few megabytes of free room for the video, in your DVD]).
    Compress the WAV to MP2 (224 kbps) with HeadAC3he of FFMPEG GUI. The bitrate can be selected more easiy in FFMPEG, though 224 kbps is already optimal (384 kbps is optimal for AC3 5+1).
     
  5. rebootjim

    rebootjim Active member

    Joined:
    May 13, 2004
    Messages:
    2,630
    Likes Received:
    0
    Trophy Points:
    66
    Tmpgenc will encode the audio to mp2 to go with the video, but it needs to be extracted to uncompressed .wav first, to remove the vbr.
    Ffmpeggui would convert that wav to ac3 easily (as adalco has mentioned) then you would author the encoded video (with no audio) with the AC3 in your authoring app.
     

Share This Page