PDA

View Full Version : 2 audio streams in Avisynth


kblood
12th December 2001, 16:57
I am using Avisynth 1.0 beta 5 (1.05?). I like to create AVIs with the audio ripped in two languages, so the AVIs contain two audio streams.

Does anybody know how to handle this kind of AVIs with Avisynth? Does it support them?

My machine is a 1Ghz Thunderbird Athlon. I am trying to convert an AVI to MPG using CCE + Avisynth to resize and add borders. There is a trick with the audio that needs to be done to avoid problems with CCE opening .avs files. That's why I'm asking :)

Psyche
14th December 2001, 02:12
I think (read, I'm sure) it's not possible to use 2 audio streams in avis within avisynth. For other part I'm not sure on how happy would CCE be with a 2 audio avi :D .
You can always make another avi out of the first one with the audio stream you want to encode. BTW I'v read that CCE is not that goot at encodig audio, so you should think of an alternative (tooLame or TMPG), the trick is only that you need to feed CCE with an audio stream in 44.1 KHz.

kblood
14th December 2001, 04:43
Originally posted by Psyche
I think (read, I'm sure) it's not possible to use 2 audio streams in avis within avisynth. For other part I'm not sure on how happy would CCE be with a 2 audio avi :D .


That's exactly what I was concluding... :) No support for 2 audio streams in Avisynth...

However, I didn't care much about how happy CCE would be, because...

Originally posted by Psyche
You can always make another avi out of the first one with the audio stream you want to encode.

Yep, that's what I'll do, just in case.

Originally posted by Psyche
BTW I'v read that CCE is not that goot at encodig audio, so you should think of an alternative (tooLame or TMPG), the trick is only that you need to feed CCE with an audio stream in 44.1 KHz.

And I also knew that :) I am using TMPG for that... However, CCE insists on not being nice reading my .avs... It used to give random crashes and CRC errors. I applied the CRC patch I found, and now it just closes right at the start of the second pass in 2-pass mpeg1 vbr... without a single warning! :eek:

And TMPG is also giving me problems reading .avs files... I already disabled Directshow filters, but to no avail. I think I will reinstall Avisynth completely, applying the avi settings reset patch Doom9 has... Any suggestion welcome :D