Re: [pulseaudio-discuss] No audio output; same setup worked before [RESOLVED]

2021-02-15 Thread Sean Greenslade
On Mon, Feb 15, 2021 at 04:41:49PM -0800, Rich Shepard wrote:
> Ah! There is no sound.wav here in any partition or directory. I was using
> vokoscreenNG to record sound while the webcam captured me speaking. When I
> played the video with vlc there was no sound. But, ffprobe showed the output
> file had both video and audio streams.
> 
> Have you a suggestion how I can ensure my videos also produce audio output
> when played and I've specified a .mp4 output for the recording?

I'm not familiar with vokoscreenNG, but from a quick look at its github
page, it seems like it has native pulseaudio support. I would suggest
going through its settings and verifying that the correct audio input
device is selected before starting a recording. You can also verify that
it is indeed respecting your source selection by checking the
"Recording" tab of pavucontrol during a recording session.

--Sean

___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] No audio output; same setup worked before [RESOLVED]

2021-02-15 Thread Rich Shepard

On Mon, 15 Feb 2021, Sean Greenslade wrote:


For the record, I would be very surprised if your version of pavucontrol
had anything to do with these issues. In your other email, you show this
output from your pacat record attempt:


Sean,

I didn't think it did, but I saw nothing else that changed.


$ pacat -v -r --file-format=wav /tmp/sounds.wav
Opening a recording stream with sample specification 's16le 2ch 44100Hz' and 
channel map 'front-left,front-right'.
Connection established.
Stream successfully created.
Buffer metrics: maxlength=4194304, fragsize=352800
Using sample spec 's16le 2ch 44100Hz', channel map 'front-left,front-right'.
Connected to device alsa_output.pci-_0a_00.3.analog-stereo.monitor (index: 
0, suspended: no).


Notice the last line, where it reports the source it has attached to is
the alsa output monitor source. This was recording the _output_ of your
built-in sound card, hence why you heard nothing upon playback.


I didn't know how to interpret that line. Now I do.


Pacat / parec will respect the fallback selection as the default recording
source if you don't supply one explicitly, so that will most likely be
what made the difference between your tests.


Ah! There is no sound.wav here in any partition or directory. I was using
vokoscreenNG to record sound while the webcam captured me speaking. When I
played the video with vlc there was no sound. But, ffprobe showed the output
file had both video and audio streams.

Have you a suggestion how I can ensure my videos also produce audio output
when played and I've specified a .mp4 output for the recording?

Thanks again,

Rich

___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] No audio output; same setup worked before [RESOLVED]

2021-02-15 Thread Sean Greenslade
On Mon, Feb 15, 2021 at 09:55:28AM -0800, Rich Shepard wrote:
> On Sun, 14 Feb 2021, Rich Shepard wrote:
> 
> > Aha! I found the problem, at least with audacity. Audacity has a drop down
> > combobox with output options. The default is, "HD-Audio Generic: ALC1220
> > digital (HW:1,1)" and there's no speaker output. And, when I change the
> > output to "HD-Audio Generic: ALC1220 digital (HW:1,0)" the same test
> > recoding is heard from the speakers.
> 
> Sean, et al.:
> 
> Now I've resolved the issue with direct recording and playback using pacat.
> Two things changed since when I logged out yesterday: 1) I had downgraded
> pavucontrol from version 4.0 (which is in Slackware-current) to version 3.0
> (which is the default in Slackware-14.2) and 2) I logged off the desktop and
> logged back in this morning.
> 
> I created a recording:
> $ pacat -v -r --file-format=wav direct-pacat-recording.wav
> Opening a recording stream with sample specification 's16le 2ch 44100Hz' and 
> channel map 'front-left,front-right'.
> Connection established.
> Stream successfully created.
> Buffer metrics: maxlength=4194304, fragsize=352800
> Using sample spec 's16le 2ch 44100Hz', channel map 'front-left,front-right'.
> Connected to device 
> alsa_input.usb-Focusrite_Scarlett_Solo_USB_Y7R5BX40493137-00.analog-stereo 
> (index: 25, suspended: no).
> 
> and played it back to the external speakers:
> $ pacat -v -p --file-format=wav direct-pacat-recording.wav
> Opening a playback stream with sample specification 's16le 2ch 44100Hz' and 
> channel map 'front-left,front-right'.
> Connection established.
> Stream successfully created.
> Buffer metrics: maxlength=4194304, tlength=352800, prebuf=349276, minreq=3528
> Using sample spec 's16le 2ch 44100Hz', channel map 'front-left,front-right'.
> Connected to device alsa_output.pci-_0a_00.3.analog-stereo (index: 20, 
> suspended: no).
> Stream started.
> Stream underrun.
> Playback stream drained.y: 100160 usec. Draining connection to server.
> (when I stopped it)
> 
> So there must be something (perhaps in pulseaudio or alsa) that's different
> in the soon-to-be Slackware-15.0 that is not supported in Slackware-14.2.
> But, since I first faced this problem with the default pavucontrol-3.0 I
> honestly don't know why it stopped working then started again.

For the record, I would be very surprised if your version of pavucontrol
had anything to do with these issues. In your other email, you show this
output from your pacat record attempt:

> $ pacat -v -r --file-format=wav /tmp/sounds.wav
> Opening a recording stream with sample specification 's16le 2ch 44100Hz' and 
> channel map 'front-left,front-right'.
> Connection established.
> Stream successfully created.
> Buffer metrics: maxlength=4194304, fragsize=352800
> Using sample spec 's16le 2ch 44100Hz', channel map 'front-left,front-right'.
> Connected to device alsa_output.pci-_0a_00.3.analog-stereo.monitor 
> (index: 0, suspended: no).

Notice the last line, where it reports the source it has attached to is
the alsa output monitor source. This was recording the _output_ of your
built-in sound card, hence why you heard nothing upon playback.

Pacat / parec will respect the fallback selection as the default
recording source if you don't supply one explicitly, so that will most
likely be what made the difference between your tests.

--Sean

___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] No audio output; same setup worked before [RESOLVED]

2021-02-15 Thread Rich Shepard

On Sun, 14 Feb 2021, Rich Shepard wrote:


Aha! I found the problem, at least with audacity. Audacity has a drop down
combobox with output options. The default is, "HD-Audio Generic: ALC1220
digital (HW:1,1)" and there's no speaker output. And, when I change the
output to "HD-Audio Generic: ALC1220 digital (HW:1,0)" the same test
recoding is heard from the speakers.


Sean, et al.:

Now I've resolved the issue with direct recording and playback using pacat.
Two things changed since when I logged out yesterday: 1) I had downgraded
pavucontrol from version 4.0 (which is in Slackware-current) to version 3.0
(which is the default in Slackware-14.2) and 2) I logged off the desktop and
logged back in this morning.

I created a recording:
$ pacat -v -r --file-format=wav direct-pacat-recording.wav
Opening a recording stream with sample specification 's16le 2ch 44100Hz' and 
channel map 'front-left,front-right'.
Connection established.
Stream successfully created.
Buffer metrics: maxlength=4194304, fragsize=352800
Using sample spec 's16le 2ch 44100Hz', channel map 'front-left,front-right'.
Connected to device 
alsa_input.usb-Focusrite_Scarlett_Solo_USB_Y7R5BX40493137-00.analog-stereo 
(index: 25, suspended: no).

and played it back to the external speakers:
$ pacat -v -p --file-format=wav direct-pacat-recording.wav
Opening a playback stream with sample specification 's16le 2ch 44100Hz' and 
channel map 'front-left,front-right'.
Connection established.
Stream successfully created.
Buffer metrics: maxlength=4194304, tlength=352800, prebuf=349276, minreq=3528
Using sample spec 's16le 2ch 44100Hz', channel map 'front-left,front-right'.
Connected to device alsa_output.pci-_0a_00.3.analog-stereo (index: 20, 
suspended: no).
Stream started.
Stream underrun.
Playback stream drained.y: 100160 usec. 
Draining connection to server.

(when I stopped it)

So there must be something (perhaps in pulseaudio or alsa) that's different
in the soon-to-be Slackware-15.0 that is not supported in Slackware-14.2.
But, since I first faced this problem with the default pavucontrol-3.0 I
honestly don't know why it stopped working then started again.

Stay well, all,

Rich


___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss