[MPlayer-users] auto-select alsa-output plugin according to decodec channels?
Markus Schulz
msc at tastatur-junkie.de
Fri Feb 2 19:16:49 CET 2007
Hello,
is there any way that mplayer selects automaticly surround51 for 6
channel data without need to specify "-channels 6 -af channels=6"?
Reason is: if you use the alsa on-the-fly ac3 encoder plugin, there are
some problems if you play stereo files with -channels 6 and -af
channels=6 option with mplayer. Mplayer reports sometimes "System to
slow" (false report) and loss the sync of video/audio.
It would be nice if mplayer follows this way:
- decoder reports 2 channels
-> select alsa:device=default
- decoder reports 4 channels
-> select alsa:device=surround40
- decoder reports 6 channels
-> selec alsa:device=surround51
and so on.
It this currently possible or perhaps doable as a future enhancement?
Currently i must start with -v to see how many channels the file has
and restart with correct parameters. This is poor scriptable and time
consuming.
Markus Schulz
More information about the MPlayer-users
mailing list