On Thu, Jan 20, 2011 at 7:37 PM, Jim Duda <j...@duda.tzo.com> wrote: > On 01/20/2011 05:51 PM, Ivan wrote: >> I want to use mplahyer with options: >> >> mplayer -vo vdpau -vc ffh264vdpau,ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau >> >> How to add vc option to mplayer parameters ? >> >> MPLAYER_VO_DEV = 'vdpau' > > One of two ways is how I do it ... > > if CONF.display in ( 'directfb', 'dfbmga' ): > MPLAYER_ARGS_DEF = ('-autosync 100 -nolirc -autoq 100 -fs ') > else: > MPLAYER_ARGS_DEF = (('-ac hwdts,hwac3,a52, -autosync 100 -nolirc -autoq > 100 -screenw %s ' > + '-screenh %s -fs') % (CONF.width, CONF.height)) > > > OR > > > MPLAYER_ARGS = { 'dvd' : '-cache 8192 -vo xvmc -vc ffmpeg12mc', > 'vcd' : '-cache 4096', > 'cd' : '-cache 1024 -cdda speed=2', > 'tv' : '-nocache', > 'ivtv' : '-cache 8192', > 'dvb' : '-cache 1024', > 'avi' : '-cache 5000 -idx', > 'rm' : '-cache 5000 -forceidx', > 'rmvb' : '-cache 5000 -forceidx', > 'mpeg' : '-cache 5000 -vo xvmc -vc ffmpeg12mc -ao > alsa:device="iec958=CMI8768"', > 'mpg' : '-cache 10000 -vo xvmc -vc ffmpeg12mc -ao > alsa:device="iec958=CMI8768"', > 'ts' : '-cache 5000 -vo xvmc -vc ffmpeg12mc -ao > alsa:device="iec958=CMI8768"', > 'webcam' : 'tv:// -tv > driver=v4l:width=352:height=288:outfmt=yuy2:device=/dev/video2', > 'mp3' : '-cache 5000', > 'ogg' : '-cache 5000', > 'default': '-cache 5000' > } > > > Hope that helps. > > Jim Or if you are going to use those options everytime, make a .mplayer.conf file for your freevo user that includes the desired options.
Evam ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users