View Full Version : How to use avi w/ AC3 in Avisynth?
junglemike
7th September 2004, 13:35
Hi everyone. I'm usually converting avi to a smaller resolution and half frame rate to watch them on Palm.
I don't have any problems with mp3 stream , but here's the error that i receive when trying to open avi with 2-channel AC3 stream in VirtualDubMod.
http://junglemike.pisem.net/VDM_error.jpg
Here's my script:
Avisource("N:\Andromeda\Andromeda - 1x08 - The Banks Of The Lethe.avi")
BilinearResize(432x320)
SelectEven()
Do you know how to make it work? Thanks.
Another avisynth question: I sometimes use themporal smoother filter in VirtualDub. Is there anything similair for avisynth?
Thanks.
Krismen
7th September 2004, 14:06
You should use modified script:
LoadPlugin("ac3source.dll")
v=Avisource("N:\Andromeda\Andromeda - 1x08 - The Banks Of The Lethe.avi",audio=false)
a=Ac3Source(v,"N:\Andromeda\Andromeda - 1x08 - The Banks Of The Lethe.ac3")
AudioDub(v,a)
BilinearResize(432x320)
SelectEven()
EDIT:
Link to AC3Source removed.
You can demux ac3 stream with VDMod.
Boulder
7th September 2004, 14:55
Use BilinearResize(432,320) instead of BilinearResize(432x320).
You could also load the AC3 audio by installing the latest AC3Filter, configuring it properly and then loading your clip with DirectShowSource.
There's a built-in filter called TemporalSoften, you might want to try that.
Wilbert
7th September 2004, 15:00
Btw, could you remove the link to AC3Source. The problem is that it downmixes incorrectly. Since the source is not available, nothing can be done about it.
Like Boulder says, use DSS instead (look at the help of DSS if you don't know how to set it up).
BilinearResize(432x320) should be BilinearResize(432,320)
junglemike
7th September 2004, 15:12
Thanks guys for great and fast help.
this one worked for me:
DirectShowSource("N:\Andromeda\Andromeda - 1x08 - The Banks Of The Lethe.avi")
BilinearResize(432,320)
SelectEven()
Another question, if you don't mind.
I'm using avisynth instead of only virtual dub to make it work much faster (and it really does). I could also just set in VD to Full processing mode - and then use resize filter. But Avisynth is doing it much faster. I also heard that if I make all the Avisynth command and procedures to be carried in Yuv12 rather than RGB - this will be even faster. Do you know how to do this?
lark
7th September 2004, 15:18
if your source is yv12, avisynth processes it in yv12 (unless you implicitly convert it to some other colorformat)...
you can check your format by adding
info()
to your script and watching the output.
regards
t :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.