Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Rinaldi: quick mpv question

3 views
Skip to first unread message

root

unread,
Jan 8, 2022, 8:19:50 AM1/8/22
to
Under a new system I have rebuilt mpv but I no
longer have sound. MPlayer has sound with
the command:
mplayer -ao alsa:device=plughw=1.3 .....

As I understand the mpv documentation, I should
change this to:

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.

Rinaldi

unread,
Jan 8, 2022, 11:26:54 AM1/8/22
to
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

unread,
Jan 8, 2022, 11:31:10 AM1/8/22
to
On 1/8/22 10:26, Rinaldi wrote:
> On 1/8/22 07:19, root wrote:
>> Under a new system I have rebuilt mpv but I no
>> longer have sound. MPlayer has sound with
>> the command:
>> mplayer -ao alsa:device=plughw=1.3 .....
>>
>> As I understand the mpv documentation, I should
>> change this to:
>>
>> 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.

I should note that I usually use mpv as a backend to smplayer and
pavucontrol for quick point and click sound configuration.

root

unread,
Jan 8, 2022, 1:24:55 PM1/8/22
to
Rinaldi <r...@nunya.inv> wrote:
>
> mpv --audio-device=help should give a comprehensive list of all
> available devices.
>
> HTH
>
> Rinaldi

Thanks, this is what (finally) did work:

--audio-device=alsa/hdmi:CARD=NVidia,DEV=0

even though the card is device 1 but the
first (0) NVidia card.

No amount of experimentation would have given
me that.

Thanks again.


root

unread,
Jan 8, 2022, 1:27:03 PM1/8/22
to
Rinaldi <r...@nunya.inv> wrote:
> On 1/8/22 10:26, Rinaldi wrote:
>> On 1/8/22 07:19, root wrote:
>>> Under a new system I have rebuilt mpv but I no
>>> longer have sound. MPlayer has sound with
>>> the command:
>>> mplayer -ao alsa:device=plughw=1.3 .....
>>>
>>> As I understand the mpv documentation, I should
>>> change this to:
>>>
>>> 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.
>
> I should note that I usually use mpv as a backend to smplayer and
> pavucontrol for quick point and click sound configuration.
>
> Rinaldi

You have told me that several times. Without going into gritty
details I have to use up/down arrows to select an option.
0 new messages