[MPlayer-cygwin] nvidia_vid vidix trials
Compn
tempn at twmi.rr.com
Wed Apr 14 13:14:53 CEST 2004
ok, i finally rebooted
i dont think its possible to switch dhahelper.sys, have to restart
cause i renamed it in c:\winnt\system32\drivers, and vidix still worked
but i ran dhasetup install and now i get
unable to enable directio please install dhahelper.sys
[nvidia_vid] Error occurred during pci scan: Operation not permitted
some benchmark
mplayer -vo winvidix -benchmark "Captain Kronos - Vampire Hunter.AVI" -frames 100 -nosound -dr
BENCHMARKs: VC: 7.270s VO: 0.000s A: 0.000s Sys: 0.190s = 7.460s
BENCHMARK%: VC: 97.4531% VO: 0.0000% A: 0.0000% Sys: 2.5469% = 100.0000%
mplayer -vo directx -benchmark "Captain Kronos - Vampire Hunter.AVI" -frames 100 -nosound -dr
BENCHMARKs: VC: 3.285s VO: 0.811s A: 0.000s Sys: 0.160s = 4.256s
BENCHMARK%: VC: 77.1852% VO: 19.0555% A: 0.0000% Sys: 3.7594% = 100.0000%
i cant get -vf format=yv12 to work with winvidix ;\ (with any codec)
seems to use yuy2 exclusively.
how about mtrr support? :)
some -v -v -v output.
C:\Documents and Settings\resu\Desktop>mplayer -nosound -vo winvidix "(C.j)Cyber
six_intro.avi" -frames 1 -v -v -v
MPlayer dev-CVS-040408-18:03 (C) 2000-2004 MPlayer Team
CPU: Intel Pentium MMX P55C 218.5 MHz (Family: 5, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directo
ry
Reading config file C:/programs/mplayer/mplayer/config
Reading C:/programs/mplayer/mplayer/codecs.conf: 64 audio & 168 video codecs
CommandLine: '-nosound' '-vo' 'winvidix' '(C.j)Cybersix_intro.avi' '-frames' '1'
'-v' '-v' '-v'
init_freetype
font: Reading section: [info]
font: Reading section: [files]
RAW: c:\programs\mplayer\font-arial-18-iso-8859-1\/iso-8859-1-a.raw 4216 x 28,
256 colors
RAW: c:\programs\mplayer\font-arial-18-iso-8859-1\/iso-8859-1-b.raw 4216 x 28,
256 colors
font: Reading section: [characters]
font: Reading section: [files]
RAW: c:\programs\mplayer\font-arial-18-iso-8859-1\/osd-mplayer-a.raw 536 x 32,
256 colors
RAW: c:\programs\mplayer\font-arial-18-iso-8859-1\/osd-mplayer-b.raw 536 x 32,
256 colors
font: Reading section: [characters]
font: resampling alpha by factor 0.750 (192) DONE!
font: resampling alpha by factor 0.750 (192) DONE!
Font c:\programs\mplayer\font-arial-18-iso-8859-1\font.desc loaded successfully!
(206 chars)
Using MMX Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> 'C:/programs/mplayer/mplayer/input.conf'
Parsing input config file C:/programs/mplayer/mplayer/input.conf
Input config file C:/programs/mplayer/mplayer/input.conf parsed: 53 binds
get_path('(C.j)Cybersix_intro.avi.conf') -> 'C:/programs/mplayer/mplayer/(C.j)Cy
bersix_intro.avi.conf'
[[[init getch2]]]
Playing (C.j)Cybersix_intro.avi.
WINSOCK2 init: 0
[file] File size is 18354176 bytes
STREAM: [file] (C.j)Cybersix_intro.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
seek to 0xqX
s->pos=0 newpos=0 new_bufpos=0 buflen=0
AVI file format detected.
LIST hdrl len=8830
list_end=0x2292
CHUNK avih len=56
======= AVI Header =======
us/frame: 33367 (fps=29.970)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames total: 1800 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 640 x 480
==========================
list_end=0x2292 pos=0x58 chunksize=0x0 next=0x58
LIST strl len=4244
list_end=0x10F4
CHUNK strh len=56
==> Found video stream: 0
====== STREAM Header =====
Type: vids FCC: xvid (64697678)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 30000/1001 = 29.970
Start: 0 Len: 1800
Suggested BufferSize: 52546
Quality 10000
Sample size: 0
==========================
list_end=0x10F4 pos=0xA4 chunksize=0x0 next=0xA4
CHUNK strf len=40
found 'bih', 40 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 640
biHeight 480
biPlanes 1
biBitCount 24
biCompression 1145656920='XVID'
biSizeImage 1843200
===========================
list_end=0x10F4 pos=0xD4 chunksize=0x0 next=0xD4
CHUNK JUNK len=4120
seek to 0xqX
s->pos=800 newpos=0 new_bufpos=1000 buflen=0
list_end=0x10F4 pos=0x10F4 chunksize=0x0 next=0x10F4
LIST strl len=4234
list_end=0x2186
CHUNK strh len=56
==> Found audio stream: 1
====== STREAM Header =====
Type: auds FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 1
Rate: 19521/1 = 19521.000
Start: 0 Len: 1172781
Suggested BufferSize: 10000
Quality -1
Sample size: 1
==========================
list_end=0x2186 pos=0x1140 chunksize=0x0 next=0x1140
CHUNK strf len=30
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 19521
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=522
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
===========================
list_end=0x2186 pos=0x1166 chunksize=0x0 next=0x1166
CHUNK JUNK len=4120
seek to 0xqX
s->pos=1800 newpos=0 new_bufpos=2000 buflen=0
list_end=0x2186 pos=0x2186 chunksize=0x0 next=0x2186
LIST odml len=260
list_end=0x2292
CHUNK dmlh len=248
AVI: dmlh found (size=248) (total_frames=1800)
list_end=0x2292 pos=0x2292 chunksize=0x0 next=0x2292
CHUNK JUNK len=1382
list_end=0x0 pos=0x2800 chunksize=0x0 next=0x2800
LIST movi len=18285728
list_end=0x1172CA8
Found movie at 0x280C - 0x1172CA8
seek to 0xqX
s->pos=3000 newpos=0 new_bufpos=1172800 buflen=0
CHUNK idx1 len=56704
Reading INDEX block, 3544 chunks for 1800 frames (fpos=01172CB0)
bunch of stuff here deleted
Unknown chunk: 01wb (62773130)
AVI_NI: No audio stream found -> no sound.
ds_fill_buffer(d_video) called
Unknown chunk: 01wb (62773130)
Skip chunk 01wb (0x62773130)
seek to 0xqX
s->pos=3000 newpos=0 new_bufpos=4800 buflen=0
demux_avi.read_packet: 63643030
DEMUX_AVI: Read 3654 data bytes from packet 63643030
DEMUX: Append packet to d_video, len=3654 pts=0.000 pos=1 [packs: A=0 V=1]
AVI video size=17082244 (1800) audio size=0 (0)
VIDEO: [XVID] 640x480 24bpp 29.970 fps 2275.4 kbps (277.8 kbyte/s)
[V] filefmt:3 fourcc:0x44495658 size:640x480 fps:29.97 ftime:=0.0334
get_path('sub/') -> 'C:/programs/mplayer/mplayer/sub/'
get_path('default.sub') -> 'C:/programs/mplayer/mplayer/default.sub'
No vidix driver name provided, probing available ones (-v option for details)!
vosub_vidix: vidix_preinit((null)) was called
get_path('vidix/') -> 'C:/programs/mplayer/mplayer/vidix/'
vidixlib: PROBING: C:/programs/mplayer/mplayer/vidix/nvidia_vid.so
[nvidia_vid] Found chip: NV4 [Riva TnT]
vidixlib: C:/programs/mplayer/mplayer/vidix/nvidia_vid.so probed o'k
vidixlib: will use C:/programs/mplayer/mplayer/vidix/nvidia_vid.so driver
vidixlib: Attempt to initialize driver at: 6A702250
[nvidia_vid] arch 4 register base 2360000
[nvidia_vid] detected memory size 16 MB
[nvidia_vid] unable to setup MTRR: Function not implemented
[nvidia_vid] video mode: 1152x864 at 32
vidixlib: 'C:/programs/mplayer/mplayer/vidix/nvidia_vid.so'successfully loaded
VIDIX: Description: NVIDIA RIVA OVERLAY DRIVER
VIDIX: Author: Sascha Sommer <saschasommer at freenet.de>
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec.size: 640 x 480
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks
Starting playback...
[ffmpeg] aspect_ratio: 1.333333
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
Trying filter chain: vo
vosub_vidix: query_format was called: 32315659 (Planar YV12)
vo_debug: query(Planar YV12) returned 0x0 (i=0)
vosub_vidix: query_format was called: 30323449 (Planar I420)
vo_debug: query(Planar I420) returned 0x0 (i=1)
vosub_vidix: query_format was called: 56555949 (Planar IYUV)
vo_debug: query(Planar IYUV) returned 0x0 (i=2)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
vosub_vidix: query_format was called: 42475220 (BGR 32-bit)
scale: query(BGR 32-bit) -> 0
vosub_vidix: query_format was called: 52474220 (RGB 32-bit)
scale: query(RGB 32-bit) -> 0
vosub_vidix: query_format was called: 42475218 (BGR 24-bit)
scale: query(BGR 24-bit) -> 0
vosub_vidix: query_format was called: 52474218 (RGB 24-bit)
scale: query(RGB 24-bit) -> 0
vosub_vidix: query_format was called: 42475210 (BGR 16-bit)
scale: query(BGR 16-bit) -> 0
vosub_vidix: query_format was called: 52474210 (RGB 16-bit)
scale: query(RGB 16-bit) -> 0
vosub_vidix: query_format was called: 4247520f (BGR 15-bit)
scale: query(BGR 15-bit) -> 0
vosub_vidix: query_format was called: 5247420f (RGB 15-bit)
scale: query(RGB 15-bit) -> 0
vosub_vidix: query_format was called: 42475208 (BGR 8-bit)
scale: query(BGR 8-bit) -> 0
vosub_vidix: query_format was called: 52474208 (RGB 8-bit)
scale: query(RGB 8-bit) -> 0
vosub_vidix: query_format was called: 42475204 (BGR 4-bit)
scale: query(BGR 4-bit) -> 0
vosub_vidix: query_format was called: 52474204 (RGB 4-bit)
scale: query(RGB 4-bit) -> 0
vosub_vidix: query_format was called: 42475284 (BGR 4-bit per byte)
scale: query(BGR 4-bit per byte) -> 0
vosub_vidix: query_format was called: 52474284 (RGB 4-bit per byte)
scale: query(RGB 4-bit per byte) -> 0
vosub_vidix: query_format was called: 42475201 (BGR 1-bit)
scale: query(BGR 1-bit) -> 0
vosub_vidix: query_format was called: 52474201 (RGB 1-bit)
scale: query(RGB 1-bit) -> 0
vosub_vidix: query_format was called: 50343434 (Planar 444P)
scale: query(Planar 444P) -> 0
vosub_vidix: query_format was called: 50323234 (Planar 422P)
scale: query(Planar 422P) -> 0
vosub_vidix: query_format was called: 32315659 (Planar YV12)
scale: query(Planar YV12) -> 0
vosub_vidix: query_format was called: 30323449 (Planar I420)
scale: query(Planar I420) -> 0
vosub_vidix: query_format was called: 56555949 (Planar IYUV)
scale: query(Planar IYUV) -> 0
vosub_vidix: query_format was called: 39555659 (Planar YVU9)
scale: query(Planar YVU9) -> 0
vosub_vidix: query_format was called: 39304649 (Planar IF09)
scale: query(Planar IF09) -> 0
vosub_vidix: query_format was called: 50313134 (Planar 411P)
scale: query(Planar 411P) -> 0
vosub_vidix: query_format was called: 30303859 (Planar Y800)
scale: query(Planar Y800) -> 0
vosub_vidix: query_format was called: 20203859 (Planar Y8)
scale: query(Planar Y8) -> 0
vosub_vidix: query_format was called: 32595559 (Packed YUY2)
scale: query(Packed YUY2) -> 3
vosub_vidix: query_format was called: 32595559 (Packed YUY2)
vo_debug: query(Planar YV12) returned 0x475 (i=0)
scale: query(BGR 32-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(BGR 4-bit per byte) -> 0
scale: query(RGB 4-bit per byte) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar 444P) -> 0
scale: query(Planar 422P) -> 0
scale: query(Planar YV12) -> 0
scale: query(Planar I420) -> 0
scale: query(Planar IYUV) -> 0
scale: query(Planar YVU9) -> 0
scale: query(Planar IF09) -> 0
scale: query(Planar 411P) -> 0
scale: query(Planar Y800) -> 0
scale: query(Planar Y8) -> 0
scale: query(Packed YUY2) -> 3
vosub_vidix: query_format was called: 32595559 (Packed YUY2)
vo_debug: query(Planar I420) returned 0x475 (i=1)
scale: query(BGR 32-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(BGR 4-bit per byte) -> 0
scale: query(RGB 4-bit per byte) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar 444P) -> 0
scale: query(Planar 422P) -> 0
scale: query(Planar YV12) -> 0
scale: query(Planar I420) -> 0
scale: query(Planar IYUV) -> 0
scale: query(Planar YVU9) -> 0
scale: query(Planar IF09) -> 0
scale: query(Planar 411P) -> 0
scale: query(Planar Y800) -> 0
scale: query(Planar Y8) -> 0
scale: query(Packed YUY2) -> 3
vosub_vidix: query_format was called: 32595559 (Packed YUY2)
vo_debug: query(Planar IYUV) returned 0x475 (i=2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (640x480->640x480,flags=0,'MPlayer',0x32315659)
scale: query(BGR 32-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(BGR 4-bit per byte) -> 0
scale: query(RGB 4-bit per byte) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar 444P) -> 0
scale: query(Planar 422P) -> 0
scale: query(Planar YV12) -> 0
scale: query(Planar I420) -> 0
scale: query(Planar IYUV) -> 0
scale: query(Planar YVU9) -> 0
scale: query(Planar IF09) -> 0
scale: query(Planar 411P) -> 0
scale: query(Planar Y800) -> 0
scale: query(Planar Y8) -> 0
scale: query(Packed YUY2) -> 3
vosub_vidix: query_format was called: 32595559 (Packed YUY2)
SwScale: scaling 640x480 Planar YV12 to 640x480 Packed YUY2
1.000 |
1.000 |
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: BICUBIC scaler, from Planar YV12 to Packed YUY2 using MMX
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (BGR)
SwScaler: 640x480 -> 640x480
SwScaler:Lum srcW=640 srcH=480 dstW=640 dstH=480 xInc=65536 yInc=65536
SwScaler:Chr srcW=320 srcH=240 dstW=320 dstH=480 xInc=65536 yInc=32768
vosub_vidix: query_format was called: 32595559 (Packed YUY2)
REQ: flags=0x437 req=0x0
VO: [winvidix] 640x480 => 640x480 Packed YUY2
VO: Description: WIN32 (VIDIX)
VO: Author: Sascha Sommer
vosub_vidix: query_format was called: 32595559 (Packed YUY2)
vosub_vidix: vidix_init() was called
src_w=640 src_h=480 dest_x_y_w_h = 256 192 640 480
format=Packed YUY2 dest_bpp=32 vid_w=1152 vid_h=864
vosub_vidix: query_format was called: 32595559 (Packed YUY2)
called vixConfigPlayback
[nvidia_vid] setting up a 640x480-256x192 video window (src 640x480), format 0x3
2595559
vosub_vidix: using 3 buffer(s)
[winvidix] window properties: pos: 256x192, size: 640x480
[nvidia_vid] set colorkey 0xff00ff
using IPB
*** [vo] Allocating mp_image_t, 640x480x16bpp YUV packed, 614400 bytes
(imgfmt: 32595559, planes: 3f70020,0,0 strides: 1280,0,0, chroma: 0x0, shift: h:
0,v:0)
*** [scale] Allocating (slices) mp_image_t, 640x480x12bpp YUV planar, 460800 byt
es
(imgfmt: 32315659, planes: 2239920,2297520,2284920 strides: 640,320,320, chroma:
320x240, shift: h:1,v:1)
*** ftime=0.000 ***
ds_fill_buffer(d_video) called 0 0%
Unknown chunk: 01wb (62773130)
Skip chunk 01wb (0x62773130)
seek to 0xqX
s->pos=6000 newpos=0 new_bufpos=6000 buflen=0
demux_avi.read_packet: 63643030
DEMUX_AVI: Read 4065 data bytes from packet 63643030
DEMUX: Append packet to d_video, len=4065 pts=0.033 pos=3 [packs: A=0 V=1]
DEMUX_AVI: Skipping 1 bytes from packet 63643030
using IPB
*** [scale] Allocating (slices) mp_image_t, 640x480x12bpp YUV planar, 460800 byt
es
(imgfmt: 32315659, planes: 22bfc78,231d878,230ac78 strides: 640,320,320, chroma:
320x240, shift: h:1,v:1)
vosub_vidix: vidix_draw_image() was called
vosub_vidix: vidix_draw_osd() was called
OSD chg: 3 V: no pb:-1
OSD chg: 2 V: no pb:-1
*** ftime=0.033 ***
vosub_vidix: vidix_flip_page() was called
EOF code: 1 0% 0% 0.0% 0 0 0%
*** uninit(0xA49)
uninit video: ffmpeg
DEMUXER: freeing demuxer at 01F92008
WINSOCK2 uninit
vosub_vidix: vidix_init() was called
src_w=640 src_h=480 dest_x_y_w_h = 256 192 640 480
format=Packed YUY2 dest_bpp=32 vid_w=1152 vid_h=864
vosub_vidix: query_format was called: 32595559 (Packed YUY2)
called vixConfigPlayback
[nvidia_vid] setting up a 640x480-256x192 video window (src 640x480), format 0x3
2595559
vosub_vidix: using 3 buffer(s)
[winvidix] window properties: pos: 256x192, size: 640x480
[nvidia_vid] set colorkey 0xff00ff
vosub_vidix: vidix_term() was called
[[[uninit getch2]]]
Config poped level=2
Config poped level=1
*** uninit(0x80)
Exiting... (End of file)
max framesize was 4065 bytes
More information about the MPlayer-cygwin
mailing list