Re-encoding only the sound component

Discussion in 'DivX / XviD' started by mozza2001, May 23, 2005.

  1. mozza2001

    mozza2001 Member

    Joined:
    Apr 25, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    11
    Hi,

    I'm hoping someone can help with a problem I'm having. I've spent a few days trawling the net and have tried a couple of solutions to my problem but have not found anything to my satisfaction.

    I have recently purchased a Dlink 320 media centre and am generally happy with it (after several weeks of playing around with firmware, media centre s/w etc) but some of my videos won't play because the box does not support AC3 sound.

    I have tried re-encoding these with VirtualDub but I'm not happy with the reduction in quality of the video element (presumably becuase of the lossy decoding and re-encoding).

    Is there anyway that I can split out an AVI file and re-encode ONLY the audio element leaving the video component untouched? Any help or suggestions would be greatfully received as I'm coming to the end of my limited knowledge now :(
     
  2. celtic_d

    celtic_d Regular member

    Joined:
    Jan 23, 2005
    Messages:
    3,352
    Likes Received:
    0
    Trophy Points:
    46
    Set the video to direct streaming.
     
  3. The_OGS

    The_OGS Active member

    Joined:
    Feb 18, 2004
    Messages:
    1,461
    Likes Received:
    0
    Trophy Points:
    66
    If you have an AC3 AVI and you need MP3 audio instead (right?) that's a big job - but an audio job only :^)
    Yes just direct stream the video like d said.
    I would use Nandub, open the AVI and select save WAV.
    It will demux the audio file.
    It may say WAV, but it will be I think in its native format ie. AC3 in your case.
    Once you have an AC3 file, you need to use BeSweet (Azid) to decompess it to WAV. It's a little bit artistic here, because you can adjust your downmix from 5.1 channels to 2-channel. You can adjust boost, normalization, compression level, etc.
    There is a well-known trick of mixing the LF (subwoofer) channel into the main L & R, at the recommended -3dB.
    Learning Azid is probably the most challenging part of the job!
    Then, encode to MP3 (hopefully VBR?) in whatever way pleases you.
    I use LAME 3.96.1 with CDex.
    Then re-mux AVI using Nandub.
    Hope this helps,
    Regards
     
    Last edited: May 26, 2005

Share This Page