Log in

View Full Version : Vegas -> HuffyUV -> Megui -> Errors


rookandpawn
12th January 2008, 03:02
Hi here is my situation i need some help

I have a movie in Sony Vegas, i save uncompressed video
in AVI using FFDSHOW choosing HuffyUV (i render audio separately)

Now I write a simple AVISource("foo.avi") script as a .avs file

i drag and drop into mplayer2 and avisynth did its "video-error" by telling me "could not locate a decompressor ..No fourcc FFDS"

So i look again at my avi when played by mplayer with OSD and FFDShow tells me its HFYU (huffyuv) but its being identified as FFDS. So, i look to fourcc.org and there is NO SUCH THING as FFDS. Okay whats this about? I check my VFW configuration and it claims its putting HFYU as its fourcc
but Avisynth is reading it as FFDS. So i get imatrix's fourcc changer a small program and change the type to HFYU

I even install Huffyuv dll from the author's website just in case Avisynth would care to check the winRegistry( does avisynth check registry for fourcc registration and associated DLL?)

Anyways, long story short, i had great hope for working in Huffyuv as my intermediate format... anyone else have problems with Huffyuv and AviSynth?

What was your script look like please tell me your script
Also please tell me how FFDShow identified it with the OSD
and how did AviSynth recognize it and what do you believe
is your fourcc and your actual encode fourcc

Thanks for help!

mitsubishi
12th January 2008, 03:09
You need to tell ffdshow to decode "Huffyuv" in the decoder->codecs section of the VFW configuration (set to libavcodec), it isn't on by default.

rookandpawn
12th January 2008, 03:22
You need to tell ffdshow to decode "Huffyuv" in the decoder->codecs section of the VFW configuration (set to libavcodec), it isn't on by default.

oh my you're right. it wasnt set. Okay, if it wasn't set, what was FFDShow encoding then? I chose "Huffyuv" at the top left drop down of the FFdshow video encoder menu, but then just like you said, Huffyuv wasn't 'on' in the codecs enable section..

So what was FFDShow encoding with then?

Adub
12th January 2008, 09:33
FFDShow was encoding with HuFFYuv, but it wasn't DECoding with HuFFYuv.

You will notice that there are tabs in the vfw section that say ENCODE and DECODE. You get the point.

rookandpawn
12th January 2008, 11:20
the help is very much appreciated ! thanks mitsubishi i can now use x264

Dreassica
3rd February 2008, 17:21
Odd thing here is now, I set it to decode in ffdhsow using libvacodec in both vfw and video decoders and it still isn't opening any script here with avisource() on a huffyuv file.

Leak
3rd February 2008, 17:35
Odd thing here is now, I set it to decode in ffdhsow using libvacodec in both vfw and video decoders and it still isn't opening any script here with avisource() on a huffyuv file.
Try
AviSource("foo.avi",fourcc="FFDS")
because FFDS is the only VfW fourCC that ffdshow registers itself for since VfW doesn't have a merit system that would allow more than one codec for a given fourCC, which in turn would mean that ffdshow would have to overwrite another codec's registration for, say, HFYU or XVID, rendering it useless in the process.

np: Pole - Sylvenstein (Deadbeat Remix) (Steingarten Remixes)

Dreassica
3rd February 2008, 17:39
Still doesn't load, getting the decompressor error.

Leak
3rd February 2008, 18:21
Still doesn't load, getting the decompressor error.
What happens if you use DirectShowSource instead of AviSource?

np: Pole - Sylvenstein (Deadbeat Remix) (Steingarten Remixes)

Dreassica
3rd February 2008, 18:43
Then it loads fine, but i want frameaccuracy at all times in this case.

Leak
3rd February 2008, 23:48
Then it loads fine[...].
In that case - is there a value "VIDC.FFDS" in your registry at "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32"? And if there is, try adding the full path to ff_vfw.dll to it's value - though it should be in your system32 directory.

Oh, and check if there's a ff_vfw.manifest file next to it, otherwise it might simply not load. And by the way - which ffdshow version are you using?

np: Pole - Raum 1 Variation (R)

Dreassica
4th February 2008, 12:18
I just resorted to re encoding the file to lagarith, which loads fine with avisource. Thanks for the help anyway, appreciated.