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
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to