[MPlayer-users] [BUG] nvidia vidix on gf2

Balatoni Denes pnis at coder.hu
Mon Oct 6 21:25:57 CEST 2003


Hi!

Please cc me personally when replying, I am not on the list.

I have an abit siluro geforce2 mx400. With the new nvidia vidix
driver I experience two problems:

1: If I decrease info->picture_base by one (info->picture_base-=1) the video 
is fine, otherwise it is not (you can probably imagine).
2: the yv12 stuff doesn't work, output is apparently yuy2 all the time 
(whether that magic value is written to the magic place or not).

But than nvidia_vid works well, thanks - this is just to let you know.

bye
Denes

ps: output of mplayer -v attached



-------------- next part --------------
MPlayer dev-CVS-031006-18:14-3.3.1 (C) 2000-2003 MPlayer Team

CPU: Intel Pentium 4/Xeon Willamette 1801 MHz (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading config file /usr/local/etc/mplayer/mplayer.confReading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Reading /usr/local/etc/mplayer/codecs.conf: Using built-in default codecs.conf
CommandLine: '-v' '-vc' 'divx4vfw' '-vo' 'xvidix' 'heti1.avi'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Setting up LIRC support...
get_path('heti1.avi.conf') -> '/root/.mplayer/heti1.avi.conf'

Playing heti1.avi
[file] File size is 3051520 bytes
STREAM: [file] heti1.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x2292
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 3130   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  320 x 240
==========================
list_end=0x10F4
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC: divx (78766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25000/1000 = 25.000
Start: 0   Len: 3130
Suggested BufferSize: 6736
Quality 10000
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 320
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 1482049860='DIVX'
  biSizeImage 230400
===========================
Regenerating keyframe table for DIVX 4 video
list_end=0x2186
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 3981/1 = 3981.000
Start: 0   Len: 498472
Suggested BufferSize: 1909
Quality -1
Sample size: 1
==========================
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 1
Samplerate: 22050
avg byte/sec: 3981
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=104
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
===========================
list_end=0x2292
Broken chunk?  chunksize=1382  (id=JUNK)
list_end=0x2D078A
Found movie at 0x280C - 0x2D078A
Reading INDEX block, 6247 chunks for 3130 frames (fpos=0x2d0792)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x782)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=2389290 (3130) audio size=498472 (498472)
VIDEO:  [DIVX]  320x240  24bpp  25.000 fps  152.7 kbps (18.6 kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:320x240  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/root/.mplayer/sub/'
get_path('default.sub') -> '/root/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
mp3lib: using MMX optimized decore!
MP3lib: init layer2&3 finished, tables done

MPEG 2.0, Layer III, 22050 Hz 32 kbit Single-Channel, BPF: 104
Channels: 1, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 22050 Hz, 2 ch, 16 bit (0x10), ratio: 4000->88200 (32.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
No vidix driver name provided, probing available ones!
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports layers.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Current fstype setting honours LAYER FULLSCREEN X atoms
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/mach64_vid.so
[mach64] Can't find chip
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/mga_crtc2_vid.so
[mga] probe
[mga] found 14 pci devices
[mga] No supported cards found
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/mga_vid.so
[mga] probe
[mga] found 14 pci devices
[mga] No supported cards found
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/pm3_vid.so
[pm3] Can't find chip
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/radeon_vid.so
[radeon] Can't find chip
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/rage128_vid.so
[rage128] Can't find chip
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/cyberblade_vid.so
[cyberblade] Can't find chip
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/nvidia_vid.so
[nvidia_vid] Found chip: NV11 [GeForce2 MX]
vidixlib: /usr/local/lib/mplayer/vidix/nvidia_vid.so probed o'k
vidixlib: will use /usr/local/lib/mplayer/vidix/nvidia_vid.so driver
vidixlib: Attempt to initialize driver at: 0x4001422c
[nvidia_vid] arch 10 register base 40e68000
[nvidia_vid] detected memory size 64 MB
[nvidia_vid]: MTRR set up
[nvidia_vid] video mode: 1024x768 at 32
vidixlib: '/usr/local/lib/mplayer/vidix/nvidia_vid.so'successfully loaded
VIDIX: Description: NVIDIA RIVA OVERLAY DRIVER
VIDIX: Author: Sascha Sommer <saschasommer at freenet.de>
==========================================================================
Forced video codec: divx4vfw
Opening video decoder: [vfw] Win32/VfW video codecs
======= Win32 (VFW) VIDEO Codec init =======
Loading codec DLL: 'divx.dll'
External func COMCTL32.dll:17
get_path('registry') -> '/root/.mplayer/registry'
Loaded DLL driver divx.dll
ICDecompressGetFormatSize ret: 112
ICDecompressGetFormat OK
VDec: vo config request - 320 x 240 (preferred csp: Packed YUY2)
[PP] Using codec's postprocessing, max q = 9.
Trying filter chain: vo
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (320x240->320x240,flags=0,'MPlayer',0x32595559)
VO: [xvidix] 320x240 => 320x240 Packed YUY2 
VO: Description: X11 (VIDIX)
VO: Author: Alex Beregszaszi
Using colorkey: ff00
[nvidia_vid] set colorkey 0xff00
[xvidix] dcx: 352 dcy: 264 dx: 0 dy: 0 dw: 320 dh: 240
called vixConfigPlayback
[nvidia_vid] setting up a 320x240-352x264 video window (src 320x240), format 0x32595559
vosub_vidix: using 3 buffer(s)
[xvidix] window properties: pos: 352x264, size: 320x240
ICDecompressQuery OK
Input format:
======= VIDEO Format ======
  biSize 40
  biWidth 320
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 1482049860='DIVX'
  biSizeImage 230400
===========================
Output format:
======= VIDEO Format ======
  biSize 40
  biWidth 320
  biHeight -240
  biPlanes 1
  biBitCount 16
  biCompression 844715353='YUY2'
  biSizeImage 153600
===========================
INFO: Win32 video codec init OK!
Selected video codec: [divx4vfw] vfm:vfw (DivX4Windows-VFW)
==========================================================================
Checking audio filter chain for 22050Hz/2ch/16bit -> 22050Hz/2ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=22050Hz, nch = 2, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 2 ch, 22050 hz, little endian signed int 
AF_pre: 22050Hz 2ch Signed 16-bit (Little-Endian)
ao2: 22050 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 22050 Hz samplerate (requested: 22050)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
AO: [oss] 22050Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 22050Hz/2ch/16bit -> 22050Hz/2ch/16bit...
[dummy] Was reinitialized, rate=22050Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=22050Hz, nch = 2, format = 0x00000001 and bps = 2
Starting playback...
XXX initial  v_pts=0.000  a_pos=1909 (0.480) 
*** [vo] Allocating mp_image_t, 320x240x16bpp YUV packed, 153600 bytes
get_path('subfont.ttf') -> '/root/.mplayer/subfont.ttf'
[xvidix] dcx: 352 dcy: 264 dx: 0 dy: 0 dw: 320 dh: 240
[xvidix] window properties: pos: 352x264, size: 320x240
A:   0.0 V:   0.0 A-V:  0.048 ct:  0.000    1/  1   0%  0%  0.0% 0 0 0%
uninit audio: mp3lib
uninit video: vfw
Total Unfree 24576 bytes cnt 6 [(nil),0]
DEMUXER: freeing demuxer at 0x84e6bf0  
vo: uninit ...

Exiting... (Quit)


More information about the MPlayer-users mailing list