Claudio "KLaN" Ciccani wrote: > df_xine doesn't use the default DirectFB driver included in the xine
package; it uses a new driver called "DFB" (located in DirectFB-extra/interfaces/IDirectFBVideoProvider/video_out_dfb). It's seems that that driver is not found by xine, therefore: 1) have a look at your xine's plugins dir (generally /usr/lib/xine/plugins/1.0.0), you should have a plugin named xineplug_vo_out_dfb.so there; 2) try running df_xine --log=2 <videofile>, and report what xine prints.
Thank you Claudio, of course you where right, I forgot to run "make install" and "ldconfig" after building DirectFB-extra. Now, df_xine plays the file (I can hear the audio track), but the picture on my TV is just dark. And as I updated to latest DirectFB CVS, I also broke my mplayer, now it just displays a jerky yellow stripes... :-(
This is how my /etc/directfbrc looks like: matrox-crtc2 matrox-tv-standard=pal matrox-sgram matrox-cable-type=composite mode=720x576 primary-layer=2 disable-module=joystick disable-module=ps2mouse disable-module=lirc depth=32
.. and this is the output you asked for: df_xine --log=2 /long.avi (*) DirectFB/Config: Parsing config file '/etc/directfbrc'.
---------------------- DirectFB v0.9.21 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2004 convergence GmbH
-----------------------------------------------------------(*) DirectFB/Core: Multi Application Core. (with MMX support) (2004-06-04 22:04)
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(*) Direct/Thread: Running 'Fusion Dispatch' (MESSAGING, 14464)...
(*) Direct/Modules: suppress module 'joystick'
(*) Direct/Modules: suppress module 'lirc'
(*) Direct/Modules: suppress module 'ps2mouse'
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 14476)...
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: Matrox G400 0.7 (convergence integrated media GmbH)
(*) DirectFB/WM: Default 0.1 (Convergence GmbH)
(!!!) *** WARNING [no video mode set yet] *** [layers.c:536 in dfb_screen_rectangle()]
(!!!) *** WARNING [no video mode set yet] *** [layers.c:536 in dfb_screen_rectangle()]
df_xine: here we go!
df_xine: scanning layers for a suitable one
df_xine: trying layer 2
df_xine: -> has a surface
df_xine: -> not enough!
df_xine: trying layer 1
df_xine: -> has a surface
df_xine: -> supports screen location
df_xine: -> trying to access... (!!!) *** WARNING [no video mode set yet] *** [layers.c:536 in dfb_screen_rectangle()]
(!!!) *** WARNING [no video mode set yet] *** [layers.c:536 in dfb_screen_rectangle()]
ok
df_xine: -> checking if UYVY is supported...yes
df_xine: -> checking if YUY2 is supported...yes
df_xine: -> checking if I420 is supported...yes
df_xine: -> checking if YV12 is supported...yes
df_xine: using layer 1 [Matrox Backend Scaler]
DFB [Unofficial DirectFB video driver]
video_out_dfb: MMX detected and enabled
video_out_dfb: surface format is YUV [0x810060a]
video_out_dfb: maximum number of frames is 15
video_out: thread created
df_xine: video driver "DFB" initialized
audio_alsa_out : supported modes are 8bit mono stereo (4-channel not enabled in xine config) (4.1-channel not enabled in xine config) (5-channel not enabled in xine config) (5.1-channel not enabled in xine config) (a/52 and DTS pass-through not enabled in xine config)
thread created
df_xine: audio driver "alsa" initialized
xine_stream_new
video_out_dfb: tryed to set unsupported property 11
xine: found input plugin : file input plugin
load_plugins: probing demux 'flac'
load_plugins: probing demux 'sputext'
load_plugins: probing demux 'flashvideo'
load_plugins: probing demux 'iff'
load_plugins: probing demux 'matroska'
ebml: invalid master element
load_plugins: probing demux 'nsv'
load_plugins: probing demux 'slave'
load_plugins: probing demux 'yuv_frames'
load_plugins: probing demux 'pva'
load_plugins: probing demux 'rawdv'
load_plugins: probing demux 'real'
load_plugins: probing demux 'yuv4mpeg2'
load_plugins: probing demux 'fli'
load_plugins: probing demux 'quicktime'
load_plugins: probing demux 'mpeg_pes'
load_plugins: probing demux 'elem'
load_plugins: probing demux 'mpeg'
load_plugins: probing demux 'mpeg_block'
load_plugins: probing demux 'avi'
failed to read 8 bytes at pos 715980800
demux_avi: 109214 frames
xine: found demuxer plugin: AVI/RIFF demux plugin
demux_avi: audio format[0] = 0x2000
demux_avi: audio type AC3 (wFormatTag 0x2000)
video discontinuity #1, type is 0, disc_off 0
waiting for audio discontinuity #1
audio discontinuity #1, type is 0, disc_off 0
waiting for in_discontinuity update #1
vpts adjusted with prebuffer to 82003
demux_avi: video codec is 'ISO-MPEG4/OpenDivx format'
audio_alsa_out:open pause_resume=0
output sample rate 48000
ffmpeg_video_dec: direct rendering enabled
df_xine: mrl "/long.avi" opened
xine_play
ao_flush (loop running: 1)
start pos is 0, start time is 0
video_pts = 0
audio discontinuity #2, type is 3, disc_off 0
waiting for in_discontinuity update #2
video discontinuity #2, type is 3, disc_off 0
vpts adjusted with prebuffer to 83591
[mpeg4 @ 0x42b8a8f4]looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
video_out_dfb: video frame format is YV12
audio discontinuity #3, type is 3, disc_off 3600
waiting for in_discontinuity update #3
video discontinuity #3, type is 3, disc_off 3600
vpts adjusted with prebuffer to 85087
df_xine: video size changed:
df_xine: -> old: 0x0
df_xine: -> new: 640x272
df_xine: video ratio changed:
df_xine: -> old 0.000000
df_xine: -> new 2.352941
(!!!) *** WARNING [no video mode set yet] *** [layers.c:536 in dfb_screen_rectangle()]
audio jump, diff=-11760
__play_internal ...done
df_xine: playing...
video jump
fixing sound card drift by -3282 pts
fixing sound card drift by -2463 pts
fixing sound card drift by -1849 pts
fixing sound card drift by -1388 pts
Best regards, Lucian
