Log in

View Full Version : megui, avisynth and ac3


aigle59
14th March 2008, 17:01
Hello all

I want to recode a divx file in H264 one.

I have a video file like this:
xvid 1.0.2 video track
ac3 audio track


When i want to create my avs file after doing open file, save avsas , i have this error:
Avisynth script error
No compatible ACM codec to decode 0x2000 audio stream to pcm
c:\users\public\reencode\xxx.avs,line1

My avs file is :
aviSource("C:\Users\Public\Reencode\Ken.Le.Survivant.1x015.avi")
#deinterlace
#crop
LanczosResize(640,272) # Lanczos (Sharp)
#denoise

I tried to install satsuki decoder pack and k lite pack
nothing to do ...

other thing : windows media player and MPC are both able to play correctly the original divx file

Any idea ?

thanks

setarip_old
14th March 2008, 20:38
Hi!

It would likely be simpler and yield higher quality results, to use your original source material (presumably a DVD) to create an H264 version...

BTW - Why did you convert your original source material to DivX-compressed .AVI if you desire to have it as H264?

~bT~
14th March 2008, 20:52
install ac3 filter.

Sharktooth
15th March 2008, 15:46
yep, setarip_old is right.
however you can either install ac3 filter or any other VFW ac3 decoder.
another option is to use directshowsouce for audio...

Atak_Snajpera
15th March 2008, 16:36
I tried to install satsuki decoder pack and k lite pack
nothing to do ...
DO NOT INSTALL CODEC PACKS like K lite *****!
I suggest to use FFDShow or AC3Filter.

Sharktooth
15th March 2008, 17:17
Codec packs are EVIL(tm).

naugas
22nd September 2008, 21:36
I had the same error message (No compatible ACM codec to decode 0x2000 audio stream to PCM) when trying to convert some .avi files with ac3 audio. When I try checking "Force Decoding via DirectShow" in the Nero AAC settings, nothing happens.

I'm using ffdshow video and audio directshow decoding, from the not-so-evil(...?) CCCP. Trying DirectShowSource in an .avs works fine, when encoding the audio in the same file.

Isn't the Directshow settings in the Nero configuration in megui working? Or do I need to configure the ffdshow audio settings in a certain way maybe?

Sharktooth
23rd September 2008, 01:01
install ac3 filter.
the directshow decoding is for audio files. if you feed the audio input with an avs and the avs is using avisource you will need a VFW decoder.
CCCP is the ONLY codec pack that's not EVIL.

stax76
23rd September 2008, 01:30
Or demux the AC3 file using VirtualDubMod and set audio to false in AVISource.

naugas
23rd September 2008, 13:26
It would be very convenient to be able to encode these files directly, without more manual editing and/or decoding. Would it lead to any problems if the Nero directshow settings were to work on all directshow decodeable files instead of only audio?

Sharktooth
23rd September 2008, 15:03
the problem is if you use an AVS with avisource(), AVISYNTH will use VFW decoders...

tebasuna51
23rd September 2008, 18:48
Or demux the AC3 file using VirtualDubMod and set audio to false in AVISource.

Demux the ac3 is always the best choice, but I recommend AviMuxGUI and see the possible delay.

If the avi have a VirtualDub style delay when decoded in VirtualDubMod the ac3 begin with 0's to emulate the delay.

Next version of NicAc3Source can replace this 0's with the equivalent delay.

stax76
23rd September 2008, 22:33
thx, looking forward to the next version.

vassie
17th May 2009, 22:05
Sorry to bump an old thread, I too am having problems converting an AVI with AC3 audio using MeGUI, whether I select the AVI or change audio to =true in the AVS script, MeGUI says it cannot open the audio track, I have changed AviSource to DirectShowSource, MeGUI can now open the audio track, but the final output is sometimes out of sync.