PDA

View Full Version : AVIS Codec issues...


NHRaider
10th June 2007, 13:01
Hopefully this is the correct place to post my question...

I'm trying to create a fake .avi from an .avs file (simple audio and video from .GRF file). I can play this .avs file in Windows Media Player without issue.

When I use MakeAVIS to create an .avi file from that .avs file, that file won't play in WMP due to codec error. When I load the .avi file into G-Spot it says that my video codec AVIS -Wrapper for Avisynth (Dummy Codec) - Codec not installed. I reinstalled the latest ffdshow which describled to include AVIS codec.

When I load the file in VirtualDub it states the error: "Video Codec 'Panasonic DV CODEC' is claiming to be able to compress formats that it doesn not actually support...please remove the errant codec or update to latest version". I have loaded the latest Panasonic DV codec and that didn't fix the problem.

So my question is what's wrong with what I'm doing? Is there something simple with configuration of ffdshow filter?

Thanks.

mkanel
10th June 2007, 16:29
Many people seem to have trouble getting MakeAvis to work right. I can't claim to know anything about the process. Maybe someone who does could post a step by step guide to system set up and trouble shooting for MakeAvis.

In the meantime this is what I did http://forum.doom9.org/showthread.php?t=114384, it worked for me, I don't exactly know why.

foxyshadis
10th June 2007, 21:11
In ffdshow, did you enable decoding of avisynth, in both the normal decoder and vfw?

NHRaider
11th June 2007, 02:30
In ffdshow, did you enable decoding of avisynth, in both the normal decoder and vfw?

Yes, both VFW and Video have avisynth enabled...

After a few tweaks...it seems that the MakeAVIS pings me with an error

DirectShowSource: couldn't open GRF file.video.grf: unspecified error (ffdshow_dec_script, line 1)

Here is the avs file:
Directshowsource("video.GRF", fps=23.976, audio=false, framecount=181623, seekzero=false, seek=true)

Leak
11th June 2007, 09:01
DirectShowSource: couldn't open GRF file.video.grf: unspecified error (ffdshow_dec_script, line 1)
I bet it will work a whole lot better once you add the full path to your GRF file into your DirectShowSource call...

Where the current working directory is is one of the last true mysteries as far as AviSynth is concerned, so adding full paths is a good idea most of the time... :)

NHRaider
11th June 2007, 11:57
I bet it will work a whole lot better once you add the full path to your GRF file into your DirectShowSource call...

Where the current working directory is is one of the last true mysteries as far as AviSynth is concerned, so adding full paths is a good idea most of the time... :)

Well who would have thought that would be one of the problems?! I didn't put full path since the playing the .avs file directly in WM Player doesn't need that...nor does WM Encoder...

Well...I can create the avi with the video...but when I add the audio line it crashes MakeAVIS...

Any thoughts on that?

Thanks!

Fizick
13th November 2007, 22:47
I found and fix old (since 2003 ?) small bugs in MakeAVIS mode "store uncompressed audio".
http://forum.doom9.org/showthread.php?p=1064486#post1064486

This way makeAVIS works fine in "store uncompressed audio" mode, but only if Bits per audio Sample is 8 or 16.

For 32 bit (integer or float) audio it produces non-playable avi.
(32 bit PCM is not valid),
but Avisynth often produces 32 bit.
Workaround: use convertAudioTo16bit() in this case

Bug fixed in v.1603. Temporary link:
http://avisynth.org.ru/tmp/makeavis1603.zip

(VC8 redist)
updated in FFDShow-tryout beta4


BTW, I try collect information (for updated FAQ), what programs (NLE editors, encoders) can open AVS scripts directly, what are need in fake avi (like MakeAVIS, VFAPI), what colorspace are supported, etc.