Anybody seeing audio problems when viewing YouTube videos?
Pi4, up-to-date 32-bit RasPiOS, both Firefox and Chromium.
Chromium tends to crash unless YouTube service worker cookies
are deleted before each YouTube session. Even then, there's no
sound on videos. The problem dissapared for a while but is back
now.
Firefox plays YouTube videos, but some, mostly musical performances,
have no sound. Others do have sound but the volume control on the
YouTube playback window turns off all sound when set to less than
maximum volume.
Some kind soul explained the trick of removing Youtube service
worker cookies to get chromium working, can't remember who. I'm
hopeful there might be a similar workaround for the audio issues.
bob prohaska <bp@www.zefox.net> wrote:
Anybody seeing audio problems when viewing YouTube videos?
bob prohaska <bp@www.zefox.net> wrote:
bob prohaska <bp@www.zefox.net> wrote:
Anybody seeing audio problems when viewing YouTube videos?
In the end it turned out that pulseaudio had to be installed.
Manually, for some reason. The package name escapes me and I
could not find the link to the solution in my search history.
Anyway, sound seems to work now.
hth,
bob prohaska
On 20/12/2022 19:14, bob prohaska wrote:
bob prohaska <bp@www.zefox.net> wrote:
bob prohaska <bp@www.zefox.net> wrote:
Anybody seeing audio problems when viewing YouTube videos?
In the end it turned out that pulseaudio had to be installed.
Manually, for some reason. The package name escapes me and I
could not find the link to the solution in my search history.
Anyway, sound seems to work now.
Yeah bob, ISTR I had to do the same on my 'Pi-Fi' system.
Like you, no idea why...
The Natural Philosopher <tnp@invalid.invalid> wrote:
On 20/12/2022 19:14, bob prohaska wrote:
bob prohaska <bp@www.zefox.net> wrote:
bob prohaska <bp@www.zefox.net> wrote:
Anybody seeing audio problems when viewing YouTube videos?
In the end it turned out that pulseaudio had to be installed.
Manually, for some reason. The package name escapes me and I
could not find the link to the solution in my search history.
Anyway, sound seems to work now.
Yeah bob, ISTR I had to do the same on my 'Pi-Fi' system.
Like you, no idea why...
Must have been a very local oddity in our setups. The lack of
net traffic makes clear that very few people had the problem.
Thanks for writing,
bob prohaska
I am surprised that pulseaudio is not an installation default on a PI desktop. It is on this *86 desktop
I am surprised that pulseaudio is not an installation default on a PI >desktop. It is on this *86 desktop
The Natural Philosopher <tnp@invalid.invalid> wrote:
I am surprised that pulseaudio is not an installation default on a PI
desktop. It is on this *86 desktop
For Firefox, I consider it a feature for it not to be able to
access audio. There's no circumstance where that behaviour is
desirable to me in a web browser (I always download videos
separately). So I don't want any audio dependencies installed with
it.
As a side-note, it's possible to compile Firefox with either
PulseAudio or ALSA audio support, so the exact behaviour might
depend on which was selected by the package creator for your
distro.
On Wed, 21 Dec 2022 19:27:34 +0000, The Natural Philosopher <tnp@invalid.invalid> declaimed the following:
I am surprised that pulseaudio is not an installation default on a PI
desktop. It is on this *86 desktop
https://www.raspberrypi.com/news/new-raspberry-pi-os-release-december-2020/ It supposedly has been for two years.
But if you've just been running apt update/apt upgrade on a
pre-December-2020 install, it wouldn't be.
https://www.raspberrypi.com/news/new-raspberry-pi-os-release-december-2020/ It supposedly has been for two years.
But if you've just been running apt update/apt upgrade on a
pre-December-2020 install, it wouldn't be.
That might be the answer to my confusion. Looks like my system
was set up in February 2020, so no default pulseaudio.
But, using apt-update/upgrade, wouldn't an update to chromium
have pulled in pulseaudio? /usr/bin/chromium-browser is dated
October, 2021.
= 2.2.0), libatspi2.0-0 (>= 2.9.90), libc6 (>= 2.16), libcairo2 (>=1.6.0), libcups2 (>= 1.7.0), libdbus-1-3 (>= 1.9.14), libdrm2 (>= 2.4.38), libexpat1 (>= 2.0.1), libgbm1 (>= 17.1.0~rc2), libgcc1 (>= 1:3.5),
= 2.2.0), libatspi2.0-0 (>= 2.9.90), libc6 (>= 2.17), libcairo2 (>=1.6.0), libcups2 (>= 1.7.0), libdbus-1-3 (>= 1.9.14), libdrm2 (>= 2.4.60), libexpat1 (>= 2.0.1), libgbm1 (>= 17.1.0~rc2), libgcc-s1 (>= 3.5),
= 1:1.1), libxext6, libxfixes3, libxkbcommon0 (>= 0.5.0), libxrandr2,bash (>= 4), libgtk-3-0, xdg-utils, chromium-codecs-ffmpeg-extra (= 104.0.5112.105-rpt2) | chromium-codecs-ffmpeg (= 104.0.5112.105-rpt2), libraspberrypi0, libgl1-mesa-dri, libgles2, libegl1, libpulse0
So... Buster has not added PulseAudio as a requirement to the browser,
Bullseye appears to have added it.
Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote:
So... Buster has not added PulseAudio as a requirement to the browser,
Bullseye appears to have added it.
Does the name (Buster or Bullseye) appear in any system query command?
Uname doesn't mention it at all and I don't remember what I selected 8-(
Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote:
So... Buster has not added PulseAudio as a requirement to the browser,
Bullseye appears to have added it.
Does the name (Buster or Bullseye) appear in any system query command?
Uname doesn't mention it at all and I don't remember what I selected 8-(
Thanks for writing!
bob prohaska
cat /etc/debian_version"
Computer Nerd Kev wrote:
cat /etc/debian_version"
gives me 9.13, so I am in fact no wiser :-).
On 24/12/2022 04:43, Computer Nerd Kev wrote:
cat /etc/debian_version"
gives me 9.13, so I am in fact no wiser :-).
On 24/12/2022 04:43, Computer Nerd Kev wrote:
cat /etc/debian_version"
gives me 9.13, so I am in fact no wiser :-).
On Sat, 24 Dec 2022 13:47:48 +0000, The Natural Philosopher <tnp@invalid.invalid> declaimed the following:
On 24/12/2022 04:43, Computer Nerd Kev wrote:
cat /etc/debian_version"
gives me 9.13, so I am in fact no wiser :-).
That is ANCIENT... That's not even Buster.
Buster is 10.x
Bullseye is 11.x
You appear to be running Stretch, which I'm pretty sure ended support a few years ago (Even Buster may be in security-only updates, since Debian tends to run a two year cycle and Bullseye came out last year).
Does the name (Buster or Bullseye) appear in any system query command?
bob prohaska <bp@www.zefox.net> wrote:
Does the name (Buster or Bullseye) appear in any system query command?
cat /etc/apt/sources.list | head -n1 | awk '{print $3}'
bob prohaska <bp@www.zefox.net> wrote:
Does the name (Buster or Bullseye) appear in any system query command?
cat /etc/apt/sources.list | head -n1 | awk '{print $3}'
A. Dumas <alexandre@dumas.fr.invalid> wrote:
bob prohaska <bp@www.zefox.net> wrote:
Does the name (Buster or Bullseye) appear in any system query command?
cat /etc/apt/sources.list | head -n1 | awk '{print $3}'
Although often that just picks up a comment, and in any case it's
possible to use a "suite name" like stable or testing in
sources.list instead of the exact "codename".
There can also be space-separated options before the "suite", as
shown in the example from the man page:
deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...]
If your really want a name, instead of a nice sensible version
number, you can read /etc/os-release.
Or print just the name with:
expr "`cat /etc/os-release`" : '.*VERSION_CODENAME=\([[:alpha:]]*\)'
On 26-12-2022 00:14, Computer Nerd Kev wrote:
A. Dumas <alexandre@dumas.fr.invalid> wrote:
bob prohaska <bp@www.zefox.net> wrote:
Does the name (Buster or Bullseye) appear in any system query command?
cat /etc/apt/sources.list | head -n1 | awk '{print $3}'
Although often that just picks up a comment, and in any case it's
possible to use a "suite name" like stable or testing in
sources.list instead of the exact "codename".
There can also be space-separated options before the "suite", as
shown in the example from the man page:
deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...]
If your really want a name, instead of a nice sensible version
number, you can read /etc/os-release.
Ah yes, that is simpler. I disagree that my command can go wrong,
though; not on Raspberry Pi OS, about which the question was asked.
Or print just the name with:
expr "`cat /etc/os-release`" : '.*VERSION_CODENAME=\([[:alpha:]]*\)'
fgrep VERSION_CODENAME /etc/os-release | cut -d= -f2
The sources.list file is something that people often need/want to
edit themselves (or possibly copy/paste things like extra repo
entries from the web),
so I'd consider its formatting to be
uncertain on any distro.
expr "`cat /etc/os-release`" : '.*VERSION_CODENAME=\([[:alpha:]]*\)'
fgrep VERSION_CODENAME /etc/os-release | cut -d= -f2
Each to their own.
Computer Nerd Kev <not@telling.you.invalid> wrote:
The sources.list file is something that people often need/want to
edit themselves (or possibly copy/paste things like extra repo
entries from the web),
Almost no one on any distro will ever edit their sources.list, is my guess.
And if you do, you already know where to look.
so I'd consider its formatting to be
uncertain on any distro.
Sure. And I don't want to say my original version is better, because it isn't, but even if it fails the first time at least you would know where to look for the distro code name. Like Bob changed it: just a full cat of the file.
expr "`cat /etc/os-release`" : '.*VERSION_CODENAME=\([[:alpha:]]*\)'
fgrep VERSION_CODENAME /etc/os-release | cut -d= -f2
Each to their own.
Simplicity definitely wins here, I think, even with reliance on two
external programs.
bob prohaska <bp@www.zefox.net> wrote:
bob prohaska <bp@www.zefox.net> wrote:
Anybody seeing audio problems when viewing YouTube videos?
In the end it turned out that pulseaudio had to be installed.
bob prohaska <bp@www.zefox.net> wrote:
Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote:
So... Buster has not added PulseAudio as a requirement to the browser,
Bullseye appears to have added it.
Does the name (Buster or Bullseye) appear in any system query command?
Uname doesn't mention it at all and I don't remember what I selected 8-(
"cat /etc/debian_version".
Sysop: | Coz |
---|---|
Location: | Anoka, MN |
Users: | 2 |
Nodes: | 4 (0 / 4) |
Uptime: | 139:59:49 |
Calls: | 166 |
Files: | 5,389 |
Messages: | 223,236 |