On Friday 15 June 2001 10:59, Andre Florath wrote:
> Hello!
>
> I have some questions concering the speed of 'benchmark' and 'aviplay'.
>
> My system: RH7.0 / avifile cvs from 2001/06/14 / ATI 3D Rage LT Pro
> P-133 / 400 MHz Celeron / XFree86 4.0.1 / SDL cvs from 2001/06/14
>
>
> If I do a
>
> movies> benchmark movie.avi -yuv -direct
>
> I get somewhat (some lines deleted)
>
>     Initializing registry
>     Using DirectShow codec: /usr/lib/win32/divx_c32.ax
>     Decoder is capable of YUV output ( flags 0x1 )
>     Movie size: 512x384  []
>     Creating YUV overlay for width 512, height 384, fourcc 0x32595559
>     Fullscreen renderer: FATAL: No hardware acceleration detected!
>     $$$$$$$$$$$$$$$$$$$$$$$$$$  Initializing direct
>     $$$$$$$$$$$$$$$$$$$$$$$$$$  set direct
>     Played 100 frames in 2.399590 seconds ( max frame rate 41.673788 fps )
>     Average results:
>           Decompression 15.995048 ms
>           Drawing 0.079566 ms
>           Sync 7.921285 ms
>     Total Unfree 1907226 bytes cnt 85 [0,0]
>     Destroying cache. Total accesses 132, hits 100.00%, misses 0.00%,
> errors 0.00%
>
>
> But when I do a
>
> movies> benchmark movie.avi -yuv -direct -real
>
> I get the same results as if I use aviplay with direct rendering enabled
>
>     Initializing registry
>     Using DirectShow codec: /usr/lib/win32/divx_c32.ax
>     Decoder is capable of YUV output ( flags 0x1 )
>     Movie size: 512x384  []
>     Creating YUV overlay for width 512, height 384, fourcc 0x32595559
>     Fullscreen renderer: FATAL: No hardware acceleration detected!
>     $$$$$$$$$$$$$$$$$$$$$$$$$$  Initializing direct
>     $$$$$$$$$$$$$$$$$$$$$$$$$$  set direct
>     Direct mode is not available for this format 0x0 and this mode
>     Played 100 frames in 4.527135 seconds ( max frame rate 22.089025 fps )
>     Average results:
>           Decompression 26.172741 ms
>           Drawing 11.383807 ms
>           Sync 7.714803 ms
>     Total Unfree 1907226 bytes cnt 85 [0,0]
>     Destroying cache. Total accesses 132, hits 100.00%, misses 0.00%,
> errors 0.00%
>
>
>
> I would like to use the direct rendering feature in aviplay.  So my
> questions:
>
> * Is this 'Direct mode is not available for this format 0x0 and this
> mode' a bug or a feature?
Your own paste shows that it is not available for that format of video you 
used.   It says so. 

> * Is it possible to use direct rendering in aviplay without getting the
> 'Direct mode is not available for this format 0x0 and this mode'?  If
> not, will it sometimes be implemented :-) ?

I am using it on a Div3 format video file.  I can 


Could be your CVS is broken ...could also be that your card is not supported 
in that area.  My Voodoo 3 works it fine.  I'm using a bit older of a CVS 
than you most likely though since i did not compile mine within the last 3 
days.

psuedomode:/etc# benchmark 
/home/ftp/pub/incoming/lain/serial_experiments_lain_-_layer_01_-_weird.avi 
-yuv -direct
849.069 MHz AMD Athlon(tm) Processor processor detected
/home/ftp/pub/incoming/lain/serial_experiments_lain_-_layer_01_-_weird.avi. 1 
video streams, 1 audio streams
Length 34399
Initializing registry
Using DirectShow codec: /usr/lib/win32/divx_c32.ax
Decoder is capable of YUV output ( flags 0x1 )
Movie size: 400x320
DPMS suppport not compiled
Creating YUV overlay for width 400, height 320, fourcc 0x32595559
$$$$$$$$$$$$$$$$$$$$$$$$$$  Initializing direct 
$$$$$$$$$$$$$$$$$$$$$$$$$$  set direct 
Played 100 frames in 0.984838 seconds ( max frame rate 101.539553 fps )
Average results:
         Decompression 1.409884 ms
         Drawing 0.008706 ms
         Sync 8.429789 ms
Total Unfree 1386198 bytes cnt 85 [0,0]
Destroying cache. Total accesses 132, hits 100.00%, misses 0.00%, errors 0.00%

When i run benchmark with that -real argument (same command you ran) i get 
the same numbers.   A bit faster but not much.  


benchmark doesn't like me playing asf files.    but when i do play asf files 
and div3 divx files ...i still get direct rendering ... what exactly is the 
0x0 format ? 

_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to