PDA

View Full Version : Wmv in avisynth


redfordxx
6th November 2005, 16:11
I have T2_1080i trailer from the Microsoft showcase page:
http://www.microsoft.com/windows/windowsmedia/content_provider/film/contentshowcase.aspx
It's 1:59

When I play it directly in BSP, it loads WMVideo Decoder DMO and I have following results
BSPlayer:
CPUTime 1:23 (including audio playback)
VirtualMemorySize 270MB
FramesPlayed/Dropped 2820/9
Surface: YUY2 DROverlay

When I open it in BSP via avisynth script DirectShowSource("T2_1080.wmv", audio=false) it is much worse:
BSPlayer:
CPUTime 1:53
VirtualMemorySize 350MB
FramesPlayed/Dropped 1287/0 (so it means avisynth itself dropped more than half of the frames?)
Surface: RGB32

mgh
7th November 2005, 16:33
In your case,Avisynth is the proverbial leaf that broke the camel's back.
If your system is dropping frames without avisynth, it will definitely drop more when you add on avisynth.

sh0dan
7th November 2005, 16:42
Key word here is RGB32. A colorspace conversion, twice the amount of data and no hardware video overlay.

Make DSS return YUY2 if you want to give it a fair chance.

redfordxx
7th November 2005, 16:46
OK, so I will change the question:
Is that normal that playing a file via avisynth is much more processing time consuming than direct?

redfordxx
7th November 2005, 16:48
Key word here is RGB32. A colorspace conversion, twice the amount of data and no hardware video overlay.
Yes I thought so, but I don't know, how to get rid of it (=stay in YV12 all the time)
[edit]sorry I missed your last line

redfordxx
8th November 2005, 00:02
Make DSS return YUY2 if you want to give it a fair chance.But how --- DSS has no pixel_type parameter

Inc
8th November 2005, 00:41
DirectShowSource(string filename [, float fps, bool seek, bool audio, bool video, bool convertfps, bool seekzero, int timeout, string pixel_type])

It has ;)

redfordxx
8th November 2005, 01:04
It has ;)
OK, I'll download newer AviSynth, maybe it is the reason...
What is the difference between alpha and non alpha

Wilbert
8th November 2005, 16:43
v2.56a (actually a non alpha version) is a fix for v2.56.

redfordxx
9th November 2005, 18:52
Make DSS return YUY2 if you want to give it a fair chance.OK pixel_type="YUY2" helped...

but --- interresting: pixel_type="AUTO","YUV","YV12" made RGB32 output