Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

C:\> WIN Bad command or filename C:\> LOSE Loading Microsoft Windows ...


computers / alt.os.linux.slackware / How to set audio device for mpv in slack 15.0

SubjectAuthor
* How to set audio device for mpv in slack 15.0root
+- Re: How to set audio device for mpv in slack 15.0RinaldiJ
`* Re: How to set audio device for mpv in slack 15.0Alexander Grotewohl
 `- Re: How to set audio device for mpv in slack 15.0root

1
How to set audio device for mpv in slack 15.0

<umt20i$1t6jr$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=2150&group=alt.os.linux.slackware#2150

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoEM...@home.org (root)
Newsgroups: alt.os.linux.slackware
Subject: How to set audio device for mpv in slack 15.0
Date: Mon, 1 Jan 2024 00:46:10 -0000 (UTC)
Organization: Linux Advocacy
Lines: 37
Message-ID: <umt20i$1t6jr$1@dont-email.me>
Injection-Date: Mon, 1 Jan 2024 00:46:10 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4da74dcf63e2183322bce3d4d699a101";
logging-data="2005627"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19jS8jdd5gcgqbftwf0TpX8yvquqq7rH1g="
User-Agent: slrn/1.0.2 (Linux)
Cancel-Lock: sha1:TOsm4OF/oLW3ZcxSmA0rDwlKzrs=
Mail-Copies-To: nobody
 by: root - Mon, 1 Jan 2024 00:46 UTC

I can't find an audio-device that works for mpv in
my new 15.0 installation. For mplayer the audio
device that works is -ao alsa:device=plughw=1.3

I have tried mpv --audio-device=help
and I get:
'auto' (Autoselect device)
'pulse/alsa_output.pci-0000_0b_00.1.hdmi-stereo' (Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series] Digital Stereo (HDMI))
'pulse/alsa_output.pci-0000_00_1b.0.iec958-stereo' (Built-in Audio Digital Stereo (IEC958))
'alsa' (Default (alsa))
'alsa/lavrate' (Rate Converter Plugin Using Libav/FFmpeg Library)
'alsa/samplerate' (Rate Converter Plugin Using Samplerate Library)
'alsa/speexrate' (Rate Converter Plugin Using Speex Resampler)
'alsa/oss' (Open Sound System)
'alsa/speex' (Plugin using Speex DSP (resample, agc, denoise, echo, dereverb))
'alsa/upmix' (Plugin for channel upmix (4,6,8))
'alsa/vdownmix' (Plugin for channel downmix (stereo) with a simple spacialization)
'alsa/sysdefault:CARD=Intel' (HDA Intel, ALC1200 Analog/Default Audio Device)
'alsa/front:CARD=Intel,DEV=0' (HDA Intel, ALC1200 Analog/Front output / input)
'alsa/surround21:CARD=Intel,DEV=0' (HDA Intel, ALC1200 Analog/2.1 Surround output to Front and Subwoofer speakers)
'alsa/surround40:CARD=Intel,DEV=0' (HDA Intel, ALC1200 Analog/4.0 Surround output to Front and Rear speakers)
'alsa/surround41:CARD=Intel,DEV=0' (HDA Intel, ALC1200 Analog/4.1 Surround output to Front, Rear and Subwoofer speakers)
'alsa/surround50:CARD=Intel,DEV=0' (HDA Intel, ALC1200 Analog/5.0 Surround output to Front, Center and Rear speakers)
'alsa/surround51:CARD=Intel,DEV=0' (HDA Intel, ALC1200 Analog/5.1 Surround output to Front, Center, Rear and Subwoofer speakers)
'alsa/surround71:CARD=Intel,DEV=0' (HDA Intel, ALC1200 Analog/7.1 Surround output to Front, Center, Side, Rear and Woofer speakers)
'alsa/iec958:CARD=Intel,DEV=0' (HDA Intel, ALC1200 Digital/IEC958 (S/PDIF) Digital Audio Output)
'alsa/usbstream:CARD=Intel' (HDA Intel/USB Stream Output)
'alsa/hdmi:CARD=HDMI,DEV=0' (HDA ATI HDMI, HDMI 0/HDMI Audio Output)
'alsa/usbstream:CARD=HDMI' (HDA ATI HDMI/USB Stream Output)

I think the one I should use is the next-to-last 'alsa/hdmi:CARD=HDMI,DEV=0' (HDA ATI HDMI, HDMI 0/HDMI Audio Output)
but I have tried a number of ways to set card=1, device=3 and none work.
I have tried others in the list, but nothing works.

If you use mpv with hdmi audio out, can you please show
me your mpv invocation?
Thanks.

Re: How to set audio device for mpv in slack 15.0

<b4fe8f53-a30a-44d8-ba99-a044de2dffb6@invalid.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=2151&group=alt.os.linux.slackware#2151

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rinal...@nunya.com (RinaldiJ)
Newsgroups: alt.os.linux.slackware
Subject: Re: How to set audio device for mpv in slack 15.0
Date: Sun, 31 Dec 2023 21:51:24 -0600
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <b4fe8f53-a30a-44d8-ba99-a044de2dffb6@invalid.com>
References: <umt20i$1t6jr$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="70f967180d632cdcb28f8bbaa78a6a8f";
logging-data="2166408"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18iGR3SqLOkZj/obdWZJZkRuWYYFmzCcSg="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:5yCgIFWBdo6LFQkAQsKGXFYqFMI=
In-Reply-To: <umt20i$1t6jr$1@dont-email.me>
Content-Language: en-US
 by: RinaldiJ - Mon, 1 Jan 2024 03:51 UTC

On 12/31/23 18:46, root wrote:
> I can't find an audio-device that works for mpv in
> my new 15.0 installation. For mplayer the audio
> device that works is -ao alsa:device=plughw=1.3
>
> I have tried mpv --audio-device=help
> and I get:
> 'auto' (Autoselect device)
> 'pulse/alsa_output.pci-0000_0b_00.1.hdmi-stereo' (Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series] Digital Stereo (HDMI))
> 'pulse/alsa_output.pci-0000_00_1b.0.iec958-stereo' (Built-in Audio Digital Stereo (IEC958))
> 'alsa' (Default (alsa))
> 'alsa/lavrate' (Rate Converter Plugin Using Libav/FFmpeg Library)
> 'alsa/samplerate' (Rate Converter Plugin Using Samplerate Library)
> 'alsa/speexrate' (Rate Converter Plugin Using Speex Resampler)
> 'alsa/oss' (Open Sound System)
> 'alsa/speex' (Plugin using Speex DSP (resample, agc, denoise, echo, dereverb))
> 'alsa/upmix' (Plugin for channel upmix (4,6,8))
> 'alsa/vdownmix' (Plugin for channel downmix (stereo) with a simple spacialization)
> 'alsa/sysdefault:CARD=Intel' (HDA Intel, ALC1200 Analog/Default Audio Device)
> 'alsa/front:CARD=Intel,DEV=0' (HDA Intel, ALC1200 Analog/Front output / input)
> 'alsa/surround21:CARD=Intel,DEV=0' (HDA Intel, ALC1200 Analog/2.1 Surround output to Front and Subwoofer speakers)
> 'alsa/surround40:CARD=Intel,DEV=0' (HDA Intel, ALC1200 Analog/4.0 Surround output to Front and Rear speakers)
> 'alsa/surround41:CARD=Intel,DEV=0' (HDA Intel, ALC1200 Analog/4.1 Surround output to Front, Rear and Subwoofer speakers)
> 'alsa/surround50:CARD=Intel,DEV=0' (HDA Intel, ALC1200 Analog/5.0 Surround output to Front, Center and Rear speakers)
> 'alsa/surround51:CARD=Intel,DEV=0' (HDA Intel, ALC1200 Analog/5.1 Surround output to Front, Center, Rear and Subwoofer speakers)
> 'alsa/surround71:CARD=Intel,DEV=0' (HDA Intel, ALC1200 Analog/7.1 Surround output to Front, Center, Side, Rear and Woofer speakers)
> 'alsa/iec958:CARD=Intel,DEV=0' (HDA Intel, ALC1200 Digital/IEC958 (S/PDIF) Digital Audio Output)
> 'alsa/usbstream:CARD=Intel' (HDA Intel/USB Stream Output)
> 'alsa/hdmi:CARD=HDMI,DEV=0' (HDA ATI HDMI, HDMI 0/HDMI Audio Output)
> 'alsa/usbstream:CARD=HDMI' (HDA ATI HDMI/USB Stream Output)
>
> I think the one I should use is the next-to-last 'alsa/hdmi:CARD=HDMI,DEV=0' (HDA ATI HDMI, HDMI 0/HDMI Audio Output)
> but I have tried a number of ways to set card=1, device=3 and none work.
> I have tried others in the list, but nothing works.
>
> If you use mpv with hdmi audio out, can you please show
> me your mpv invocation?
> Thanks.

mpv $SOMEFILE.mkv \
--audio-device=pulse/alsa_output.pci-0000_01_00.1.hdmi-stereo

Works here. The second entry in the help output.

Rinaldi

Re: How to set audio device for mpv in slack 15.0

<umtllc$22tka$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=2152&group=alt.os.linux.slackware#2152

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: alex...@gmail.com (Alexander Grotewohl)
Newsgroups: alt.os.linux.slackware
Subject: Re: How to set audio device for mpv in slack 15.0
Date: Mon, 1 Jan 2024 06:21:32 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <umtllc$22tka$1@dont-email.me>
References: <umt20i$1t6jr$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 1 Jan 2024 06:21:32 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b2ae2709483be6ca53e1b34a498068c3";
logging-data="2193034"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19UfM9finQsykj0tA1JB9hJ"
User-Agent: Pan/0.149 (Bellevue; 4c157ba git@gitlab.gnome.org:GNOME/pan.git)
Cancel-Lock: sha1:SQXBaJp4+jgFVffelwJZ9EniODo=
 by: Alexander Grotewohl - Mon, 1 Jan 2024 06:21 UTC

On Mon, 1 Jan 2024 00:46:10 -0000 (UTC), root wrote:

> I can't find an audio-device that works for mpv in my new 15.0
> installation. For mplayer the audio device that works is -ao
> alsa:device=plughw=1.3
>
> I have tried mpv --audio-device=help and I get:
> 'auto' (Autoselect device)
> 'pulse/alsa_output.pci-0000_0b_00.1.hdmi-stereo' (Cedar HDMI Audio

> 'alsa/usbstream:CARD=Intel' (HDA Intel/USB Stream Output)
> 'alsa/hdmi:CARD=HDMI,DEV=0' (HDA ATI HDMI, HDMI 0/HDMI Audio Output)
> 'alsa/usbstream:CARD=HDMI' (HDA ATI HDMI/USB Stream Output)
>
> I think the one I should use is the next-to-last
> 'alsa/hdmi:CARD=HDMI,DEV=0' (HDA ATI HDMI, HDMI 0/HDMI Audio Output)
> but I have tried a number of ways to set card=1, device=3 and none work.
> I have tried others in the list, but nothing works.

is this because you don't always have hdmi connected?

you could always tweak ~/.config/pulse/default.pa to set the hdmi as
default.. and already-running programs can usually be rerouted with
pavucontrol

Re: How to set audio device for mpv in slack 15.0

<umunmf$28m74$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=2153&group=alt.os.linux.slackware#2153

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoEM...@home.org (root)
Newsgroups: alt.os.linux.slackware
Subject: Re: How to set audio device for mpv in slack 15.0
Date: Mon, 1 Jan 2024 16:02:23 -0000 (UTC)
Organization: Linux Advocacy
Lines: 13
Message-ID: <umunmf$28m74$1@dont-email.me>
References: <umt20i$1t6jr$1@dont-email.me> <umtllc$22tka$1@dont-email.me>
Injection-Date: Mon, 1 Jan 2024 16:02:23 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4da74dcf63e2183322bce3d4d699a101";
logging-data="2382052"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/dV7Twlo9jz9iifIw2fxYovFDMAcut3Hs="
User-Agent: slrn/1.0.2 (Linux)
Cancel-Lock: sha1:+mDwF6ywB2hstP5Mz3JFpExmRkA=
 by: root - Mon, 1 Jan 2024 16:02 UTC

Alexander Grotewohl <alexm0n@gmail.com> wrote:
>
> you could always tweak ~/.config/pulse/default.pa to set the hdmi as
> default.. and already-running programs can usually be rerouted with
> pavucontrol

Thanks for responding. I got mpv to work following Rinaldi's
suggestion to try the audio-device in the help menu. I had
omitted the ' surrounding the entry. When I inserted them
the audio worked. I spend several hours yesterday working
on this and thanks to you and Rinaldi for your help.

Happy New Year to everyone.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor