[MPlayer-cygwin] setting aid on the fly

Joey Parrish joey at nicewarrior.org
Thu Oct 7 15:34:58 CEST 2004


On Thu, Oct 07, 2004 at 08:58:54AM +0200, Jurgen Metzler wrote:
> Hi, I have a Problem to change the audiopid in mediaplayer on the fly.
> Setting the right pid bevor playing at the commandline or permanent in the
> config works fine (aid 0). This works well with all VCD/SVCD I have tested.
> But when I want to play any DivX or Xvid movie I had to disable the aid
> switch in the config to get working sound. Is it possible to export the
> aid-switch to the keyboard.

There is no audio track switching at runtime.  You can use -aid on
command line whenever needed.  If you put aid in your config file, you
may end up with a divx movie without that track number.  For example, if
you vcds number the tracks aid=0,1,2,... but the divx avi may have video
on track 0, audio on track 1, ... such that aid=0 means no audio.

Temporary solution: stop putting aid in your config file.  Suck it up
and use -aid on the command line when needed.

Long-term solution: help restructure the player core to allow things
like audio track switching to be done without big hacks.  This is not
easy.  (Send a patch.  :)

--Joey

-- 
"Are disorders necessarily bad?" --Ike




More information about the MPlayer-cygwin mailing list