----- Original Message ----- 
From: "Jiri Svoboda" <[EMAIL PROTECTED]>
To: "'Damiano'" <[EMAIL PROTECTED]>
Sent: Saturday, August 16, 2003 12:21 PM
Subject: RE: [directfb-users] MPlayer with DirectFB video output:
continued...


> Hi,
> could You send me Mplayer log (with mplayer in verbose mode)? And also
> tell your gfx card brand? I'll try to look at it.
> Do You use -vm swith?
>
> > Ok, I've downloaded MPlayer from the CVS but the problem is
> > still there :
> > only part of the screen is taken by MPlayer and, thus, there
> > are still those
> > 'garbage bars' at the top and bottom.
>
> This happens when (background)layer is not cleared. Background layer is
> not cleared when we are using overlay for disp video (mplayer clears
> only layer with video). Clearing background is not usually needed -
> directfb does this on init by itself, but when videomode is changed
> after dfb init background layer can contain garbage.
>

Hello,

Sorry, my fault, MPlayer-CVS solved my display problems (without -vm option
by the way). Cool !
But, I was wondering if I could port this feature to (the more stable and
Debian packaged) MPlayer 0.91 ?
Copying libvo/vo_directfb2.c and osdep/keycodes.h makes it compile but the
problem is still there... :-(

Here is what MPlayer gives me (a bit large, sorry for dial-up users) :

[EMAIL PROTECTED]:~# XboxDev/MPlayer-0.91/mplayer -v /mnt/samba/mnk-qa.avi
MPlayer 0.91-3.2.2  (C) 2000-2003 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
Stepping: 10)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading config file /etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: this codecs.conf is too old,
incompatible with this mplayer release! at line 6
Reading /etc/mplayer/codecs.conf: 50 audio & 136 video codecs
CommandLine: '-v' '/mnt/samba/mnk-qa.avi'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (495 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf: No such file or
directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 51 binds
Opening joystick device /dev/input/event0
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Connection refused
Failed to open LIRC support.
You will not be able to use your remote control.
get_path('menu.conf') -> '/root/.mplayer/menu.conf'
Can't open menu config file: /root/.mplayer/menu.conf
Menu inited: /etc/mplayer/menu.conf
get_path('mnk-qa.avi.conf') -> '/root/.mplayer/mnk-qa.avi.conf'

Playing /mnt/samba/mnk-qa.avi
Not an URL!
File size is 728780800 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0
Cache fill: 10.55% (884736 bytes)    AVI file format detected.
list_end=0x22D6
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 144599   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  640 x 272
list_end=0x1138
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: xvid (64697678)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25/1 = 25.000
Start: 0   Len: 144599
Suggested BufferSize: 38055
Quality 10000
Sample size: 0
found 'bih', 108 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 272
  biPlanes 1
  biBitCount 24
  biCompression 1145656920='XVID'
  biSizeImage 522240
===========================
list_end=0x21CA
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 44100/1152 = 38.281
Start: 0   Len: 221417
Suggested BufferSize: 418
Quality -1
Sample size: 0
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 15999
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=417
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
list_end=0x22D6
list_end=0x22FA
hdr=Software  size=15
Software  : Nandub v1.0rc2
Broken chunk?  chunksize=1278  (id=JUNK)
list_end=0x2B16EF8E
Found movie at 0x280C - 0x2B16EF8E
Reading INDEX block, 366016 chunks for 144599 frames (fpos=0x2b16ef96)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x1AE)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=627360527 (144599) audio size=92543269 (221417)
VIDEO:  [XVID]  640x272  24bpp  25.00 fps  867.7 kbps (105.9 kbyte/s)
[V] filefmt:3  fourcc:0x44495658  size:640x272  fps:25.00  ftime:=0.0400
Clip info:
 Software: Nandub v1.0rc2
get_path('sub/') -> '/root/.mplayer/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 1.0, Layer III, 44100 Hz 128 kbit Joint-Stereo, BPF: 418
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
DirectFB: Preinit entered
(*) parsing config file '/etc/directfbrc'.

       ---------------------- DirectFB v0.9.19 ---------------------
             (c) 2000-2002  convergence integrated media GmbH
             (c) 2002       convergence GmbH
        -----------------------------------------------------------

(*) Single Application Core. (with MMX support) (2003-08-04 10:34)
(*) DirectFB/misc/memcpy: using MMXEXT optimized memcpy()
(*) DirectFB/InputDevice: Microsoft Xbox Controller 0.1 (convergence
integrated media GmbH)
(*) DirectFB/InputDevice: Keyboard 0.9 (convergence integrated media GmbH)
(*) MMX detected and enabled
(*) DirectFB/GraphicsDevice: nVidia RIVA TNT/TNT2/GeForce 0.2 (convergence
integrated media GmbH)
(*) DirectFB/Layer: Enabled 'FBDev Primary Layer'.
DirectFB: Keyboard init OK
DirectFB: Preinit OK
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
AutoQ: setting quality to 0
Checking audio filter chain for 44100Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and
bps = 2
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
ao2: 48000 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 48000 Hz samplerate (requested: 48000)
audio_setup: frags:   4/4  (16384 bytes/frag)  free:  65536
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and
bps = 2
[libaf] Adding filter resample
[resample] Changing sample rate to 48000Hz
[resample] Using integer processing and inexact frequecy conversion.
[resample] New filter designed up: 160 down: 147
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and
bps = 2
[resample] Using integer processing and inexact frequecy conversion.
Starting playback...
[libaf] Reallocating memory in module resample, old len = 0, new len = 65536
[ffmpeg] aspect_ratio: 2.352941
VDec: vo config request - 640 x 272 (preferred csp: Planar YV12)
Trying filter chain: menu vo
DirectFB: Format query: Planar YV12
DirectFB: Test format - layer 0 scale/pos 0
(*) DirectFB/Layer: Enabled 'NVidia Overlay'.
DirectFB: Test format - layer 1 scale/pos 8
DirectFB: Test format - added layer 1 scale/pos 8
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.35:1 - prescaling to correct movie aspect.
VO Config (640x272->640x272,flags=1,'MPlayer',0x32315659)
DirectFB: Format query: Planar YV12
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - layer 1 scale/pos 8
DirectFB: Test format - added layer 1 scale/pos 8
REQ: flags=0x437  req=0x0
VO: [directfb] 640x272 => 640x272 Planar YV12  [fs]
VO: Description: Direct Framebuffer Device
VO: Author: Jiri Svoboda [EMAIL PROTECTED]
VO: Comment: v 2.0 (for DirectFB version >=0.9.13)
DirectFB: Format query: Planar YV12
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - layer 1 scale/pos 8
DirectFB: Test format - added layer 1 scale/pos 8
DirectFB: Config entered [640x272]
DirectFB: With requested format: Planar YV12
DirectFB: Config - looking for suitable layer
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - layer 1 scale/pos 8
DirectFB: Test format - added layer 1 scale/pos 8
DirectFB: Config - layer 1
DirectFB: Config - changing layer configuration (size)
DirectFB: Layer reports format:201007
DirectFB: Desired pixelformat: 8100c0b
DirectFB: Config - changing layer configuration (format)
DirectFB: Double buffering is active
DirectFB: Config - flipping = 1
DirectFB: Config - surface size = 640x272
DirectFB: Config finished [10000x5666] - [640x272]
*** [menu] Allocating mp_image_t, 640x272x12bpp YUV planar, 261120 bytes
*** [vo] Exporting mp_image_t, 640x272x12bpp YUV planar, 261120 bytes
XXX initial  v_pts=0.000  a_pos=7941 (0.496) /  1   0%  0%  0.0% 0 0 24%
*** [menu] Allocating mp_image_t, 640x272x12bpp YUV planar, 261120 bytes
EOF code: 1  28.0 A-V:  0.000 ct:  0.006  701/701   8% 15%  3.7% 0 0 78%

Uninit audio filters...
[libaf] Removing filter dummy
[libaf] Removing filter resample
uninit audio: mp3lib
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x849d238
DirectFB: Uninit entered
DirectFB: Releasing layer
DirectFB: Releasing primary
DirectFB: Uninit done.
vo: x11 uninit called but X11 not inited..

Exiting... (End of file)



-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to