Re: [Freevo-users] Different Audio configs for music and video?

2009-10-04 Thread Duncan Webb
bret clark wrote:
> Okay, well I band-aid a fix by just editing the
> /usr/lib/python2.5/site-packages/freevo/audio/plugins/mplayer.py and
> manually adding the command I needed. Of course it will get overwritten
> when I upgrade so I'll have to keep that in mind.
> 
> Maybe having a MPLAYER_MUSIC_AO option that audio mplayer plugin read in
> would solve the problem.
> 
> 
> 
> From: bac...@hotmail.com
> To: freevo-users@lists.sourceforge.net
> Date: Sat, 3 Oct 2009 02:00:16 +0000
> Subject: [Freevo-users] Different Audio configs for music and video?
> 
> 
> Is it possible to run different audio out config when I'm playing music
> verses video? I use mplayer and for videos I have in my local_config.py
> file the line MPLAYER_AO_DEV_OPTS =' -ac hwac3,a52,hwdts,' which works
> great for all my movies.  But I also want to use freevo to play my SACD
> music CD's and need to use the command line config of "-ao
> alsa:device=spdif".
> 
> I need to have Freevo use one or the other depending on what I'm
> playing.  Been reading through the local_config.py file, but finding
> nothing that would let me do what I need.  Any suggestions?

You should be able to achieve this using the MPLAYER_ARGS settings, like:
MPLAYER_ARGS[''] = '-ao alsa:device=spdif'

You can replace the  for the file name extension.

Mplayer works by accepting duplicated arguments and accepting the first
one and ignoring the remaining arguments. Cant quite remember if it is
the first of the last match that is used.

Duncan

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Different Audio configs for music and video?

2009-10-03 Thread bret clark

Okay, well I band-aid a fix by just editing the 
/usr/lib/python2.5/site-packages/freevo/audio/plugins/mplayer.py and manually 
adding the command I needed. Of course it will get overwritten when I upgrade 
so I'll have to keep that in mind. 

Maybe having a MPLAYER_MUSIC_AO option that audio mplayer plugin read in would 
solve the problem.


From: bac...@hotmail.com
To: freevo-users@lists.sourceforge.net
Date: Sat, 3 Oct 2009 02:00:16 +
Subject: [Freevo-users] Different Audio configs for music and video?









Is it possible to run different audio out config when I'm playing music verses 
video? I use mplayer and for videos I have in my local_config.py file the line 
MPLAYER_AO_DEV_OPTS =' -ac hwac3,a52,hwdts,' which works great for all my 
movies.  But I also want to use freevo to play my SACD music CD's and need to 
use the command line config of "-ao alsa:device=spdif". 

I need to have Freevo use one or the other depending on what I'm playing.  Been 
reading through the local_config.py file, but finding nothing that would let me 
do what I need.  Any suggestions?

Bret
  
Hotmail: Powerful Free email with security by Microsoft. Get it now.
  
_
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/171222984/direct/01/--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Different Audio configs for music and video?

2009-10-02 Thread bret clark


Is it possible to run different audio out config when I'm playing music verses 
video? I use mplayer and for videos I have in my local_config.py file the line 
MPLAYER_AO_DEV_OPTS =' -ac hwac3,a52,hwdts,' which works great for all my 
movies.  But I also want to use freevo to play my SACD music CD's and need to 
use the command line config of "-ao alsa:device=spdif". 

I need to have Freevo use one or the other depending on what I'm playing.  Been 
reading through the local_config.py file, but finding nothing that would let me 
do what I need.  Any suggestions?

Bret
  
_
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/171222986/direct/01/--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users