QUOTE(dom_b @ Feb 15 2008, 16:09)

Thanks, my audio is already AC3. It is wrapped in an M2TS file. Basically I am trying to encode from this to HD file that will fit on a dual layer disc. I can't find anything that will demux the AC3 out properly or read the original muxed stream and allow me to pass through the AC3 whilst encoding from AVCHD to DIVX, except TMPGEnc, but it will not allow me to pass through the AC3! Really iratating!
M2TS seems to indicate you are dealing with an MPEG2 transport stream
if so, use PVAStrumento for demuxing your transport stream
http://offeryn.de/dv.htm#pvasthat should result in an elementary MPEG2 video stream and an AC3 file that you could use in an authoring program, such as DVDlab
if you are intending to cut your source natively (ie. without recompression), you should opt for MPEG2Schnitt
http://www.videohelp.com/tools/Mpeg2SchnittPVAStrumento can generate the needed MPEG2Schnitt index files during demuxing, that a will effectively remedy all synchronization issues between video and audio
I did this with a lot of HDV streams from our Sony Z1 that I captured via FireWire using CapDVHS
http://www.videohelp.com/tools/CapDVHSHTH and feel free to ask back, if you'd need more assistance ...

Cheers,
Maggi