Hi folks,

thanks to Rob Shortt who gave me the relevant code snippet some time
ago, I was able to setup df_xine (now that it's usable at least for some
of my DVDs) to play DVDs with df_xine if it is detected on a
freevo-1.5.4 installation wich is configured to use 'directfb' or
'dfbmga' video output.
It's still necessary to have XINE_AO_DEV set in your local_conf.py if
you use fbxine for audio playing, however, df_xine does not use this and
will complain in the log it can't play the MRL 'alsa' or whatever
XINE_AO_DEV is set to. To make df_xine work, just set XINE_ARGS_DEF
according to the df_xine command line options you need (for my Matrox
G400 TV-out for example I need '-l 0' because the primary layer is set
to 2 in /etc/directfbrc). Patch against freevo-1.5.4 is also located
here: http://muresan.de/freevo/freevo-1.5.4_df_xine.diff

Have phun,
Lucian

P.S. Maybe I'll soon find the time for a fresh gentoo ebuild to this,
too (dependency of DirectFB-extra, etc...)

diff -Naur freevo-1.5.4/freevo_config.py freevo-1.5.4_mod/freevo_config.py
--- freevo-1.5.4/freevo_config.py       2005-10-16 11:18:50.000000000 +0200
+++ freevo-1.5.4_mod/freevo_config.py   2005-10-19 00:56:36.000000000 +0200
@@ -1149,6 +1149,10 @@
     XINE_VO_DEV  = 'xv'
     XINE_COMMAND = '%s --hide-gui -pq -g -B --geometry %sx%s+0+0 --no-splash' 
% \
                    (CONF.xine, CONF.width, CONF.height)
+                  
+if CONF.display in ('dfbmga', 'directfb') and CONF.df_xine:
+    XINE_VO_DEV  = ''
+    XINE_COMMAND = CONF.df_xine
 
 XINE_ARGS_DEF = '--no-lirc --post=pp:quality=10;expand'
 
diff -Naur freevo-1.5.4/src/setup_freevo.py freevo-1.5.4_mod/src/setup_freevo.py
--- freevo-1.5.4/src/setup_freevo.py    2005-10-16 11:18:50.000000000 +0200
+++ freevo-1.5.4_mod/src/setup_freevo.py        2005-10-19 00:58:02.000000000 
+0200
@@ -68,6 +68,7 @@
                      ("tvtime", "tvtime", 0),
                      ("xine", "xine", 0),
                      ("fbxine", "fbxine", 0),
+                    ("df_xine", "df_xine", 0),
                      ("lsdvd", "lsdvd", 0),
                      ("jpegtran", "jpegtran", 0),
                      ("xmame.x11", "xmame", 0),
diff -Naur freevo-1.5.4/src/video/plugins/xine.py 
freevo-1.5.4_mod/src/video/plugins/xine.py
--- freevo-1.5.4/src/video/plugins/xine.py      2005-10-16 11:18:50.000000000 
+0200
+++ freevo-1.5.4_mod/src/video/plugins/xine.py  2005-10-19 00:58:46.000000000 
+0200
@@ -97,6 +97,9 @@
 
         if config.XINE_COMMAND.find('fbxine') >= 0:
             type = 'fb'
+        elif config.XINE_COMMAND.find('df_xine') >= 0:
+            type = 'df'
+           config.XINE_VERSION = 923       
         else:
             type = 'X'
 

Reply via email to