Re: [Freevo-users] How to activate motion compensation (xvmc) by default for video playback by freevo?

2007-05-27 Thread Pirlouwi

Hi,
I want to configure mplayer for hardware motion compensation, as my mplayer
is compiled for that feature.
Here is what I see when a dvb mpeg2 is playing:

$ ps -ef | grep mplayer
croisez  28157 28154  1 12:38 pts/400:00:00 /usr/local/bin/mplayer -vo
xv,sdl,x11, -ao oss:/dev/dsp -autosync 100 -nolirc -nojoystick -autoq 100
-screenw 768 -screenh 576 -fs -slave dvb://LA UNE -cache 4096 -vo xvmc -vc
ffmpeg12mc

1) I suppose that in this case, xvmc is used, but how can I be sure ?
Because there is in the same command -vo xv,sdl,x11 and -vo xvmc? (mplayer
log does not informs me about that)
2) How could I set only -vo xvmc?
3) what is the priority in the configuration for parameters like:
MPLAYER_VO_DEV
MPLAYER_VO_DEV_OPTS
MPLAYER_ARGS
no configuration (default use)

LOUIS

2007/5/27, Duncan Webb <[EMAIL PROTECTED]>:


Pirlouwi wrote:
> In the video item menu, I see the line:
> Activate Motion Compensation (xvmc)
> Note: this is a translation from mine, because I see it in french in the
> menu...
>
> How can I activate it by default? I would like this option to be
remanent.
> I thought I only had to define -vo xvmc,xv,x11 in .mplayer/config file,
> but it seems the config file is not used by the mplayer launched by
freevo.
> Or is it a configuration inside local_conf.py?
>
> BTW, my mplayer version is: MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer
Team
> compiled by me on my machine (an EN15000 VIA board, with xvmc hardware
> acceleration for mpg2 playback, this is why I had to recompile it from
> sources).

The trick is to use MPLAYER_ARGS, something like this:
freevo.conf:
display = xv

local_conf.py:
MPLAYER_AO_DEV = 'alsa'
MPLAYER_VO_DEV = CONF.display
MPLAYER_ARGS = {
'dvd': '-cache 8192 -vo xvmc -vc ffmpeg12mc -afm hwac3',
'vcd': '-cache 4096',
'cd' : '-cache 1024 -cdda speed = 2',
'tv' : '-nocache ',
'ivtv'   : '-cache 8192',
'mpeg'   : '-cache 8192 -vo xvmc -vc ffmpeg12mc -subfont-text-scale
4 -utf8,
'mpg': '-cache 8192 -vo xvmc -vc ffmpeg12mc -subfont-text-scale
4 -utf8,
'avi': '-cache 5000 -subfont-text-scale 4 -utf8 -idx',
'rm' : '-cache 5000 -forceidx',
'rmvb'   : '-cache 5000 -forceidx',
'mkv': '-cache 4096 -subfont-text-scale 4 -utf8 -slang cz',
'webcam' : 'tv:// -tv driver = v4l:width = 640:height = 480:device =
/dev/video2',
   #'webcam' : 'tv:// -tv driver = v4l:width = 352:height = 288:outfmt =
yuy2:device = /dev/video2',
'default': '-cache 4096 -subfont-text-scale 4 -utf8'
}

This way the file extension determines the additional arguments that are
added to the mplayer command line.

Duncan


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] How to activate motion compensation (xvmc) by default for video playback by freevo?

2007-05-27 Thread Duncan Webb
Pirlouwi wrote:
> In the video item menu, I see the line:
> Activate Motion Compensation (xvmc)
> Note: this is a translation from mine, because I see it in french in the
> menu...
> 
> How can I activate it by default? I would like this option to be remanent.
> I thought I only had to define -vo xvmc,xv,x11 in .mplayer/config file,
> but it seems the config file is not used by the mplayer launched by freevo.
> Or is it a configuration inside local_conf.py?
> 
> BTW, my mplayer version is: MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
> compiled by me on my machine (an EN15000 VIA board, with xvmc hardware
> acceleration for mpg2 playback, this is why I had to recompile it from
> sources).

The trick is to use MPLAYER_ARGS, something like this:
freevo.conf:
display = xv

local_conf.py:
MPLAYER_AO_DEV = 'alsa'
MPLAYER_VO_DEV = CONF.display
MPLAYER_ARGS = {
'dvd': '-cache 8192 -vo xvmc -vc ffmpeg12mc -afm hwac3',
'vcd': '-cache 4096',
'cd' : '-cache 1024 -cdda speed = 2',
'tv' : '-nocache ',
'ivtv'   : '-cache 8192',
'mpeg'   : '-cache 8192 -vo xvmc -vc ffmpeg12mc -subfont-text-scale
4 -utf8,
'mpg': '-cache 8192 -vo xvmc -vc ffmpeg12mc -subfont-text-scale
4 -utf8,
'avi': '-cache 5000 -subfont-text-scale 4 -utf8 -idx',
'rm' : '-cache 5000 -forceidx',
'rmvb'   : '-cache 5000 -forceidx',
'mkv': '-cache 4096 -subfont-text-scale 4 -utf8 -slang cz',
'webcam' : 'tv:// -tv driver = v4l:width = 640:height = 480:device =
/dev/video2',
   #'webcam' : 'tv:// -tv driver = v4l:width = 352:height = 288:outfmt =
yuy2:device = /dev/video2',
'default': '-cache 4096 -subfont-text-scale 4 -utf8'
}

This way the file extension determines the additional arguments that are
added to the mplayer command line.

Duncan


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] How to activate motion compensation (xvmc) by default for video playback by freevo?

2007-05-26 Thread Pirlouwi

In the video item menu, I see the line:
Activate Motion Compensation (xvmc)
Note: this is a translation from mine, because I see it in french in the
menu...

How can I activate it by default? I would like this option to be remanent.
I thought I only had to define -vo xvmc,xv,x11 in .mplayer/config file, but
it seems the config file is not used by the mplayer launched by freevo.
Or is it a configuration inside local_conf.py?

BTW, my mplayer version is: MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
compiled by me on my machine (an EN15000 VIA board, with xvmc hardware
acceleration for mpg2 playback, this is why I had to recompile it from
sources).
LOUIS
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users