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

Trying to convert MPEG2 video w/ AC3 audio to Xvid

Discussion in 'DivX / XviD' started by puck71, Sep 21, 2005.

  1. puck71

    puck71 Member

    Joined:
    Dec 22, 2002
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    11
    I have an MPEG2 video with a 2 channel AC3 audio stream that I'm trying to convert to Xvid with MP3 audio in a single step. With other MPEG2 files I've used Virtualdubmod to do it all, but when I tried that with this file, my output file had no audio. When I go to Streams List to try to demux the audio stream, it gives a weird error about having a VBR MP3 stream. TMPGEnc won't read the AC3 audio stream either. I've searched and searched but not found a specific way to go from MPEG2/AC3 to Xvid/MP3.

    Here's the file info from GSpot, if it helps:
    [​IMG]

    Thanks in advance!!
     
  2. celtic_d

    celtic_d Regular member

    Joined:
    Jan 23, 2005
    Messages:
    3,352
    Likes Received:
    0
    Trophy Points:
    46
    Try running it through DGIndex.
     
  3. puck71

    puck71 Member

    Joined:
    Dec 22, 2002
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    11
    I used DGIndex already to pick out the video and audio streams I wanted to use, then ran HDTVtoMPEG2 to turn my transport stream into an MPG file. What else should I do with DGIndex? What do you mean by "run it through" DGIndex?
     
  4. stardust

    stardust Regular member

    Joined:
    Nov 14, 2003
    Messages:
    309
    Likes Received:
    1
    Trophy Points:
    28
    Install AC-3ACM Decompressor and you can convert/decompress AC3 audio directly to WAV / MP3 using VirtualDub. This also works with AviSynth and TMPGEnc, allowing you to use AC3 encoded files http://fcchandler.home.comcast.net/AC3ACM/ right-click on the AC3ACM.inf file and choose Install..
     
  5. puck71

    puck71 Member

    Joined:
    Dec 22, 2002
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    11
    I tried that and it didn't seem to work - when I opened the MPG file in TMPGEnc, it didn't recognize the audio stream. Are there certain versions I need of TMPGEnc and the AC3ACM decompresser?

    I have somewhat worked around this issue by playing the video in Winamp and using its Diskwriter plugin to write out the audio as WAV, then opening the MPG and WAV in TMPGEnc and converting that to MPEG2 with MP2 audio, then using Virtualdubmod to convert that to Xvid. The problem with that is the audio got out of sync by about 600ms, which I corrected in Vdubmod, but it was still an annoyance I'd rather not deal with.
     
  6. celtic_d

    celtic_d Regular member

    Joined:
    Jan 23, 2005
    Messages:
    3,352
    Likes Received:
    0
    Trophy Points:
    46
    I mean to demux the audio and create a D2V file. Then frameserve the video via AVISynth for encoding and mux with the AC3, unless you don't want AC3 in which case you have multiple options. You could frameserve the AC3 with the video, use BeSweet to convert, etc.
     
  7. puck71

    puck71 Member

    Joined:
    Dec 22, 2002
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    11
    I don't really want AC3 at all - I want my output file to be an Xvid AVI with MP3 audio. I'm only working with AC3 because I'm recording this from my Motorola DCT6412 DVR, and the stream coming from that is MPEG2 with AC3, so that's what I'm stuck working with.

    I'll look into those other options you gave, unless you have another recommendation for getting it to Xvid + MP3
     
  8. celtic_d

    celtic_d Regular member

    Joined:
    Jan 23, 2005
    Messages:
    3,352
    Likes Received:
    0
    Trophy Points:
    46
    mencoder. Something like:

    mencoder.exe -ovc xvid -xvidencopts whatever -oac mp3lame lameencopts whatever input.mpg -o output.avi
     

Share This Page