Discussion:
Rinaldi: quick mpv question
Add Reply
Rinaldi
2022-01-08 16:26:51 UTC
Reply
Permalink
Under a new system I have rebuilt mpv but I no
longer have sound. MPlayer has sound with
mplayer -ao alsa:device=plughw=1.3 .....
As I understand the mpv documentation, I should
mpv --audio-device=/alsa/device=plughw=1.3 ......
but this doesn't work. I have tried every variation
of stuff to the right of --audio-device=
with or without device or plughw. Nothing gives me sound.
What should I use on the command line?
Thanks for your help.
These work for me (season to taste):

$ mpv --audio-device=pulse/alsa_output.pci-0000_00_1f.3.analog-stereo
File.mkv # desktop speakers

$ mpv --audio-device=pulse/alsa_output.pci-0000_01_00.1.hdmi-stereo
File.mkv # HDMI TV speakers

mpv --audio-device=help should give a comprehensive list of all
available devices.

HTH

Rinaldi
--
Critic, n.:
A person who boasts himself hard to please because nobody tries
to please him. -- Ambrose Bierce, "The Devil's Dictionary"
Rinaldi
2022-01-08 16:31:08 UTC
Reply
Permalink
Post by Rinaldi
Under a new system I have rebuilt mpv but I no
longer have sound. MPlayer has sound with
mplayer -ao alsa:device=plughw=1.3 .....
As I understand the mpv documentation, I should
mpv --audio-device=/alsa/device=plughw=1.3 ......
but this doesn't work. I have tried every variation
of stuff to the right of --audio-device=
with or without device or plughw. Nothing gives me sound.
What should I use on the command line?
Thanks for your help.
$ mpv --audio-device=pulse/alsa_output.pci-0000_00_1f.3.analog-stereo
File.mkv # desktop speakers
$ mpv --audio-device=pulse/alsa_output.pci-0000_01_00.1.hdmi-stereo
File.mkvĀ  # HDMI TV speakers
mpv --audio-device=help should give a comprehensive list of all
available devices.
I should note that I usually use mpv as a backend to smplayer and
pavucontrol for quick point and click sound configuration.

Rinaldi
--
Critic, n.:
A person who boasts himself hard to please because nobody tries
to please him. -- Ambrose Bierce, "The Devil's Dictionary"
Loading...