PDA

View Full Version : trancoding 6 channel AC3 with xvid


Warner
1st April 2005, 09:08
I've been trying to transcode dvd's that have 5.1 surround sound (AC3) to an xvid avi file. However no matter which options I use transcode seems to think there are only 2 channels. I used Gordian Knot in windows and it sees the 6 channels and adds them to the file no problem. I'd rather be doing this on my linux box though.

I was wondering if anyone knows how to go about doing this? Is it even possible?

KpeX
1st April 2005, 17:13
Unfortunately I'm not very experienced with transcode, but I can tell you how I'd do it with mencoder:

mencoder dvd://1 -aid 128 -oac copy -ovc xvid -xvidencopts ..... -o dvd.avi

The important parts being '-aid 128' (specifies the audio track, 128 maps to 0x80 and so forth) and '-oac copy' (copies the source audio without recompression).

shevegen
6th April 2005, 21:33
if i have two files, an xvid avi file, and an ac3 sound, how do i combine these two?

i was using -audiofile with mencoder, but the resulting avi file had no sound.

i am using transcode now:
transcode -i test.avi -p test.ac3 -y xvid,ac3 -o result.avi

but i found this very weird - i mean, why does it want an option -y ? or is there some copy,copy setting i could use? (mencoder produced the test.avi by the way, was wondering whether it would be better to make an xvid avi without sound for each vob, then avimerge the files together - still unsure if its a good way, and yes, i am a console user)

i just want to combine these two files, storing in a container, and i dont want to modify it - obviously, if i am doing something wrong, please point at it violently - thanks


EDIT: Found it, it actually makes sense that "avimerge" can do this.
You specify audio file with the option "-p path_and_name_of_your_audio_file"

Sujao
9th April 2005, 18:48
You could also put the data in a matroska container, which is imho much better. Just install mkvmerge and do a
mkvmerge -o output.mkv audio.mp3 video.avi

shevegen
10th April 2005, 00:21
thx for the hint


little problem is to find good docu