Ok got 1.6 running and applied the patch. For some reason my current mplayer does not want to accept the params my previous mplayer install would accept. So I'd advise unichrome users to simply not use Mplayer but xine forall kinds of mpeg files.

paul

Paul Sijben wrote:
I can not do you a (tested) patch against the svn of 1.6 as I have not had time to even install it. Here at least is the patch against 1.5
Hope this helps.

Paul

Duncan Webb wrote:
Paul Sijben wrote:
  
Haven't been paying attention to the 1.6 developments for a while. Just
noticed that it is to be released real soon now. Thought maybe I should
post my patch for mplayer.py to profit from the hardware decoding in the
VIA chipsets.
maybe it is too late for the upcoming release, it case maybe it will
benefit someone somewhere.
    

I really need a proper patch for this against the svn version and for
you to submit a feature request. There are several mplayer.py too. But
you can do this from your top level freevo directory with:

diff -Nau video/plugins/mplayer.py.bak video/plugins/mplayer.py >
xvidix.patch. I'm assuming that this is for video and not the tv plug-in.

Thanks,
Duncan

  
Paul

in local_conf.py:

MPLAYER_VO_DEV_HWACCEL = "xvmc"
MPLAYER_HWACCEL_SUFFIX=["mpeg","mpg","vob"]
MPLAYER_VO_DEV = "xvidix"
MPLAYER_VO_DEV_OPTS_HWACCEL='-vc ffmpeg12mc'


diff mplayer.py mplayer.py.bak
183,188d182
<       #XXX PS
<       VODEV=config.MPLAYER_VO_DEV
<       VODEVOPTS=config.MPLAYER_VO_DEV_OPTS
<       if item.mimetype in config.MPLAYER_HWACCEL_SUFFIX:
<               VODEV=config.MPLAYER_VO_DEV_HWACCEL
<               VODEVOPTS=config.MPLAYER_VO_DEV_OPTS_HWACCEL
226,227d219
<           VODEV=config.MPLAYER_VO_DEV_HWACCEL
<           VODEVOPTS=config.MPLAYER_VO_DEV_OPTS_HWACCEL
280,282c272,273
<         command += [ '-v', '-vo',
<                      VODEV]
<       command += VODEVOPTS.split(' ')
---
    
        command += [ '-v', '-vo', config.MPLAYER_VO_DEV +
                     config.MPLAYER_VO_DEV_OPTS ]
      
358,359c349,350
<
<       rc.app(self)
---
    
        rc.app(self)
      



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel
  

-- 
Paul Sijben             mailto:[EMAIL PROTECTED]
Amersfoort, NL          http://www.sijben.net
tel:+31 334557522       fax:+31 33 4557523

--- video/plugins/mplayer.py.bak 2005-02-24 07:28:07.000000000 +0100 +++ video/plugins/mplayer.py 2005-02-24 10:19:02.000000000 +0100 @@ -180,6 +180,12 @@ self.item_info = None self.item_length = -1 self.item.elapsed = 0 + #XXX PS + VODEV=config.MPLAYER_VO_DEV + VODEVOPTS=config.MPLAYER_VO_DEV_OPTS + if item.mimetype in config.MPLAYER_HWACCEL_SUFFIX: + VODEV=config.MPLAYER_VO_DEV_HWACCEL + VODEVOPTS=config.MPLAYER_VO_DEV_OPTS_HWACCEL if mode == 'file': url = "" @@ -187,7 +193,7 @@ if hasattr(self.item_info, 'get_length'): self.item_length = self.item_info.get_endpos() self.dynamic_seek_control = True - + if url.startswith('dvd://') and url[-1] == '/': url += '1' @@ -217,6 +223,8 @@ additional_args = [] if mode == 'dvd': + VODEV=config.MPLAYER_VO_DEV_HWACCEL + VODEVOPTS=config.MPLAYER_VO_DEV_OPTS_HWACCEL if config.DVD_LANG_PREF: # There are some bad mastered DVDs out there. E.g. the specials on # the German Babylon 5 Season 2 disc claim they have more than one @@ -269,8 +277,9 @@ mode = 'default' # Mplayer command and standard arguments - command += [ '-v', '-vo', config.MPLAYER_VO_DEV + - config.MPLAYER_VO_DEV_OPTS ] + command += [ '-v', '-vo', + VODEV] + command += VODEVOPTS.split(' ') # mode specific args command += config.MPLAYER_ARGS[mode].split(' ') @@ -346,8 +355,8 @@ if plugin.getbyname('MIXER'): plugin.getbyname('MIXER').reset() - - rc.app(self) + + rc.app(self) self.app = MPlayerApp(command, self) return None

------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel

-- 
Paul Sijben             mailto:[EMAIL PROTECTED]
Amersfoort, NL          http://www.sijben.net
tel:+31 334557522       fax:+31 33 4557523
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to