PDA

View Full Version : question about AviSynth in MeGUI


thedozer
24th January 2008, 05:58
hi
i dont know if its the right place to ask but if it's not please forgive me

i just updated MeGUI from a long unupdated state and i noticed that the AviSynth scripts created by MeGUI use avisource instead of directshowsource.

what decoder does avisource use?
because i use ffdshow for decoding and i applied some filters using ffdshow but i didnt see them in the encoded video!
can i control this?

and there is another question
when encoding audio with MeGUI using the Nero Digital Audio Encoder, which is best for input, the AviSynth script that i used to encode the video or the original video?


i did my best to make it as short as possible so please bear with me

thanks in advance

check
24th January 2008, 12:49
avisource will use ffdshow vfw, rather than normal ffdshow.

mitsubishi
24th January 2008, 12:55
With DirectshowSource, avisynth just opens the file most media players do, using directshow and allowing windows to build the filter graph.

With the other source filters, avisynth is responsible for opening the files itself and with avisource it passes the video to be decoded via VideoForWindows, the precursor to DirectShow, but more suited for non-linear playback.

FFDShow provides a vfw interface for all its codecs, it just has a seperate configuration. (Start>ffdshow>VFW Config)

thedozer
24th January 2008, 23:05
much appreciated check & mitsubishi

so which do you think is better for decoding AVI files in terms of quality encoding, using directshow and allowing windows to build the filter graph or using avisource to decode via VideoForWindows?

check
25th January 2008, 14:22
shouldn't matter at all. avisource is better for random seeking, but for sequential seeking there's no change.

Atak_Snajpera
25th January 2008, 14:36
so which do you think is better for decoding AVI files in terms of quality encoding, using directshow and allowing windows to build the filter graph or using avisource to decode via VideoForWindows?

If your source is Avi always use AviSource or OpenDMLSource. DirectShowSource + AVI (Xvid) = a/v synch problem

thedozer
25th January 2008, 23:30
yeah DirectShowSource gave me a headache when it comes to a/v synch in AVI (XVID) but there is a new problem occurred when i used AviSource with FFDShow VFW and that is the first frames of the file is solid green!

i opened the AviSynth file with every player & VDub and the first frames are still green.

i think there is a conflict between AviSynth & FFDShow VFW because i tried AviSynth with Xvid and the green frames were gone.

i'll try deferent combinations and let you know if i find an answer

thedozer
27th January 2008, 23:21
Hi guys sorry for the delay.
After two days of testing I couldn’t find why FFDShow VFW & AviSynth AviSource hate each other and make those green frames at the beginning of files.
Maybe its because of video drivers but I'm not sure.

I only found one way to use them together and that is by using Xvid VFW to decode via FFDShow.
This is done by installing the Xvid Encoder Along side FFDShow Encoder and then disabling the Xvid Encoder using MMCompView or K-lite Codec Tweak Tool and then setting the FFDShow Encoder to use Xvid for decoding by going to the FFDShow VFW Configuration and changing the decoder to Xvid.
That’s the only way I could find to use my FFDShow filters with AviSynth AviSource without getting any green frames.

If anyone have another idea or an explanation to this please share it with us.


Regards

check
28th January 2008, 02:28
Try setting ffdshow vfw to decode uncompressed video.