Further info from testing df_xine (with both viafb and DirectFB patched
with Mark Adams's patches):

dfbinfo (as root):

(*) DirectFB/Config: Parsing config file '/etc/directfbrc'.

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

(*) DirectFB/Core: Single Application Core. (2005-09-07 10:56)
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(*) Direct/Modules: suppress module 'joystick'
(*) Direct/Modules: suppress module 'lirc'
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 6107)...
 (!!!)  *** UNIMPLEMENTED [fusion_reactor_set_lock] ***
[../../../lib/fusion/reactor.c:797]
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (Convergence GmbH)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 6108)...
(*) DirectFB/Input: PC Speaker (1) 0.1 (convergence integrated media
GmbH)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 6109)...
(*) DirectFB/Input: AT Translated Set 2 keyboard (2) 0.1 (convergence
integratedmedia GmbH)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 6110)...
(*) DirectFB/Input: PS/2 Generic Mouse (3) 0.1 (convergence integrated
media GmbH)
(*) DirectFB/Genefx: MMX detected and enabled
(*) Direct/Modules: suppress module 'cle266'
(*) DirectFB/Graphics: VIA/S3G CLE266/UniChrome 0.4 (-)
(*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)


Screen (00) FBDev Primary Screen            (primary screen)
   Caps: VSYNC POWER_MANAGEMENT

     Layer (00) FBDev Primary Layer             (primary layer)
        Type:    GRAPHICS
        Caps:    SURFACE BRIGHTNESS CONTRAST SATURATION

     Layer (01) VIA Unichrome Video
        Type:    GRAPHICS VIDEO STILL_PICTURE
        Caps:    SURFACE OPACITY SCREEN_LOCATION DEINTERLACING
DST_COLORKEY LEVELS SCREEN_POSITION SCREEN_SIZE

     Layer (02) VIA Unichrome DVD Subpicture
        Type:    GRAPHICS VIDEO STILL_PICTURE
        Caps:    SURFACE OPACITY


Input (01) IMPS/2 Mouse                    (primary mouse)
   Type: MOUSE
   Caps: AXES BUTTONS
   Max. Axis: 2
   Max. Button: 2

Input (00) AT Translated Set 2 keyboard    (primary keyboard)
   Type: KEYBOARD
   Caps: KEYS

Input (11) PS/2 Generic Mouse
   Type: MOUSE
   Caps: AXES BUTTONS
   Max. Axis: 1
   Max. Button: 2

Tests of df_xine using Terry Barnaby's deinterlace test videos from
http://www.kingcot.eclipse.co.uk/unichrome/tvoutTest.html (N.B. the
original version, interlace_test.mpeg: the new versions with correct
aspect ratios, or something like that, just displays a really screwed up
picture which I put down to xine rather than the actual output device).

Output from df_xine -v2 -l0 interlace_test.mpeg (until I killed it after
a few seconds):

(*) DirectFB/Config: Parsing config file '/etc/directfbrc'.
df_xine: verbosity level set to 2
df_xine: will use layer 0

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

(*) DirectFB/Core: Single Application Core. (2005-09-07 10:56)
(*) Direct/Memcpy: Using SSE optimized memcpy()
(*) Direct/Modules: suppress module 'joystick'
(*) Direct/Modules: suppress module 'lirc'
(*) DirectFB/Genefx: MMX detected and enabled
(*) Direct/Modules: suppress module 'cle266'
(*) DirectFB/Graphics: VIA/S3G CLE266/UniChrome 0.4 (-)
(*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
 (!!!)  *** UNIMPLEMENTED [fusion_reactor_set_lock] ***
[../../../lib/fusion/reactor.c:797]
df_xine: here we go!
df_xine: forced to use layer 0
df_xine: -> checking if double-buffering is supported...yes
df_xine: -> checking if YUY2 is supported...no
df_xine: -> checking if UYVY is supported...no
df_xine: -> checking if RGB16 is supported...yes
df_xine: -> checking if YV12 is supported...no
df_xine: -> checking if I420 is supported...no
df_xine: -> checking if NV12 is supported...no
df_xine: -> checking if NV21 is supported...no
df_xine: -> checking if NV16 is supported...no
df_xine: using layer 0 [FBDev Primary Layer]
        packed format: RGB16
        planar format: NONE
df_xine: screen ratio is 1.2500
df_xine: updating context
df_xine: hwstretchblit detected and enabled
df_xine: updating context
df_xine: playing mrl 'interlace_test1.mpeg'
(!) [ 4881:    0.000] --> Caught signal 2 (sent by the kernel) <--

CPU usage is maxed out (not really surprising for this layer!) but the
picture quality on both CRT monitor and TV is good but definitely not
deinterlaced.

Output from df_xine -v2 -l1 interlace_test.mpeg (until I killed it after
a few seconds):

(*) DirectFB/Config: Parsing config file '/etc/directfbrc'.
df_xine: verbosity level set to 2
df_xine: will use layer 1

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

(*) DirectFB/Core: Single Application Core. (2005-09-07 10:56)
(*) Direct/Memcpy: Using SSE optimized memcpy()
(*) Direct/Modules: suppress module 'joystick'
(*) Direct/Modules: suppress module 'lirc'
(*) DirectFB/Genefx: MMX detected and enabled
(*) Direct/Modules: suppress module 'cle266'
(*) DirectFB/Graphics: VIA/S3G CLE266/UniChrome 0.4 (-)
(*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
 (!!!)  *** UNIMPLEMENTED [fusion_reactor_set_lock] ***
[../../../lib/fusion/reactor.c:797]
df_xine: here we go!
df_xine: forced to use layer 1
df_xine: -> checking if double-buffering is supported...yes
df_xine: -> checking if YUY2 is supported...yes
df_xine: -> checking if YV12 is supported...yes
df_xine: using layer 1 [VIA Unichrome Video]
        packed format: YUY2
        planar format: YV12
df_xine: screen ratio is 1.2500
df_xine: updating context
df_xine: updating context
df_xine: playing mrl 'interlace_test1.mpeg'
uc_overlay: color-keying is disabled
uc_overlay: color-keying is disabled
uc_overlay: color-keying is disabled
uc_overlay: color-keying is disabled
video_out_dfb: using ITURBT601 conversion matrix
video_out_dfb: MMX detected and enabled
video_out_dfb: destination surface is YV12
video_out_dfb: maximum number of frames is 15
video_out: thread created
audio_alsa_out : supported modes are 8bit 16bit 24bit 32bit 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)
audio_out: thread created
xine_stream_new
xine: found input plugin  : file input plugin
load_plugins: probing demux 'anx'
load_plugins: probing demux 'asf'
load_plugins: probing demux 'aud'
load_plugins: probing demux 'aiff'
load_plugins: probing demux 'flac'
load_plugins: probing demux 'nsf'
load_plugins: probing demux 'realaudio'
load_plugins: probing demux 'snd'
load_plugins: probing demux 'voc'
load_plugins: probing demux 'vox'
load_plugins: probing demux 'avi'
load_plugins: probing demux 'fli'
load_plugins: probing demux 'flashvideo'
load_plugins: probing demux 'wve'
load_plugins: probing demux 'idcin'
load_plugins: probing demux 'ipmovie'
load_plugins: probing demux 'vqa'
load_plugins: probing demux 'wc3movie'
load_plugins: probing demux 'roq'
load_plugins: probing demux 'str'
load_plugins: probing demux 'film'
load_plugins: probing demux 'smjpeg'
load_plugins: probing demux 'fourxm'
load_plugins: probing demux 'vmd'
load_plugins: probing demux 'iff'
load_plugins: probing demux 'image'
load_plugins: probing demux 'matroska'
ebml: invalid EBML ID size (0x0) at position 1
ebml: invalid master element
load_plugins: probing demux 'mng'
load_plugins: probing demux 'mpeg_block'
load_plugins: probing demux 'mpeg_pes'
load_plugins: probing demux 'mpeg-ts'
load_plugins: probing demux 'nsv'
load_plugins: probing demux 'ogg'
load_plugins: probing demux 'pva'
load_plugins: probing demux 'quicktime'
load_plugins: probing demux 'real'
load_plugins: probing demux 'slave'
load_plugins: probing demux 'yuv4mpeg2'
load_plugins: probing demux 'mpeg'
xine: found demuxer plugin: MPEG program stream demux plugin
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 54004
load_plugins: plugin dxr3-mpeg2 failed to instantiate itself.
load_plugins: plugin mpeg2 will be used for video streamtype 00.
load_plugins: plugin a/52 will be used for audio streamtype 00.
audio_alsa_out:open pause_resume=1
output sample rate 48000
xine_play
video discontinuity #2, type is 2, disc_off 19800
waiting for audio discontinuity #2
audio discontinuity #2, type is 2, disc_off 19800
waiting for in_discontinuity update #2
video_out_dfb: frame format changed to 720x576 YV12
uc_overlay: color-keying is disabled
liba52:a52 frame failed crc16 checksum.
audio jump, diff=-5760
audio_out: inserting 8222 0-frames to fill a gap of 15421 pts
video jump
play_internal ...done
video_out: throwing away image with pts 61204 because it's too old
(diff : 6520).
video_out: throwing away image with pts 68404 because it's too old
(diff : 9308).
video_out: throwing away image with pts 72004 because it's too old
(diff : 5708).
video_out: throwing away image with pts 79204 because it's too old
(diff : 8677).

< and lots lots more of these until I killed it>

CPU usage for this was ca. 50% but the picture was really flickery. I
think it was deinterlacing properly, though. Presumably, it's throwing
away the frames to keep up.

I think there has to be a sync problem somewhere, although what does the
"video_out_dfb: maximum number of frames is 15" mean and should I be
worried by it?!

Cheers,

Laz


_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to