Alsa device alternativo no Mplayer

Em geral o pulseaudio da conta de gerenciar minhas placas de som, mas às vezes quero executar um vídeo no mplayer ao mesmo tempo que estou reproduzindo uma música no mpd, só quem em devices diferentes.

Para descobrir as placas disponíveis:

julio@julio-acer ~> aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC269 Digital [ALC269 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Para mudar o device é só reproduzir o vídeo utilizando o parâmetro -ao como no exemplo:

  • Som pelo fone: mplayer Koyaanisqatsi (1982).mkv -ao alsa:device=hw=0.0
  • Som pela TV: mplayer Koyaanisqatsi (1982).mkv -ao alsa:device=hw=0.3

Mais informações em: Alsa

Julio Batista Silva
Julio Batista Silva
Data Engineer

I’m a computer engineer passionate about science, technology, photography, and languages. Currently working as a Data Engineer in Germany.

comments powered by Disqus