zen-browser / desktop

🌀 Experience tranquillity while browsing the web without people tracking you!
https://zen-browser.app
Mozilla Public License 2.0
18.27k stars 442 forks source link

You Tube live streaming is not working #477

Closed Naveenv01 closed 2 months ago

Naveenv01 commented 2 months ago

What happened?

Playing live feed is not working in ubuntu 24 04 image

Reproducible?

Version

1.0.0-a.28 (2024-08-22)

Severity impact

Critical

What platform are you seeing the problem on?

Linux

Relevant log output

No response

mauro-balades commented 2 months ago

Could you try removing cache?

zoovasoup commented 2 months ago

Could you try removing cache?

i have the same problem and removing cache doesn't fix the issue

for me this issue also appear on twitch and instagram Screenshot from 2024-08-24 21-15-28 Screenshot from 2024-08-24 21-14-53

im on nixos 24.11 with the same zen version i got from flatpak

nx2k3 commented 2 months ago

even I am having the same problem on nixos 24.05

TheBlueOompaLoompa commented 2 months ago

I'm having what I assume is the same issue with regular video playback. It can be triggered by starting playback from any point in the video other than the start (occasionally this will work fine).

I've narrowed it down to broken AV1 decoding. Using this extension Your Codecs I was able to disable AV1 and go back to VP8/9 and it worked, better performance, and no playback errors.

I have attached YouTube debug playback info because it appears to include logging from the ffmpeg decoder. youtube_debug_info.txt

zoovasoup commented 2 months ago

i tried @TheBlueOompaLoompa solution by disabling av1 with that plugin, and it only resolve the issue for youtube. but the problem still persisted on other platform

after some tinkering, it seems like installing mediastreamer openh264 fixed the issue across other platform for me

i don't know the core issue why this thing is happening because i only have this problem on zen-browser and not on floorp or firefox

TheBlueOompaLoompa commented 2 months ago

That's strange, I checked and that was preinstalled for me on flatpak.

HarryHeres commented 2 months ago

Might be a long shot but have you tried installing/upgrading ffmpeg?

MoAlHemyari commented 2 months ago

I wrote about this in reddit here

I've tried to navigate the issue with the console of YT's page, in Zen & Librewolf (as an example), and this is what I've got: 1- The console shows several warning logs related to media decoding, i.e NS_ERROR_DOM_MEDIA_DECODE_ERR and avcodec_send_packet error, & specific media resources (e.g., blob:https://www.youtube.com/...) fail to decode.

2- There is a warning log about WEBGL debug renderer: WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER.

3- Warnings indicate that error messages will be blank when privacy.resistFingerprinting it says This error message will be blank when privacy.resistFingerprinting = true. If it is really necessary, please add it to the whitelist in MediaError::GetMessage: NS_ERROR_DOM_MEDIA_DECODE_ERR (0x806e0004) - virtual MediaResult mozilla::FFmpegVideoDecoder<60>::DoDecode(MediaRawData *, uint8_t *, int, bool *, MediaDataDecoder::DecodedData &): avcodec_send_packet error: Unknown error occurred.

MoAlHemyari commented 2 months ago

I wrote about this in reddit here

I've tried to navigate the issue with the console of YT's page, in Zen & Librewolf (as an example), and this is what I've got: 1- The console shows several warning logs related to media decoding, i.e NS_ERROR_DOM_MEDIA_DECODE_ERR and avcodec_send_packet error, & specific media resources (e.g., blob:https://www.youtube.com/...) fail to decode.

2- There is a warning log about WEBGL debug renderer: WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER.

3- Warnings indicate that error messages will be blank when privacy.resistFingerprinting it says This error message will be blank when privacy.resistFingerprinting = true. If it is really necessary, please add it to the whitelist in MediaError::GetMessage: NS_ERROR_DOM_MEDIA_DECODE_ERR (0x806e0004) - virtual MediaResult mozilla::FFmpegVideoDecoder<60>::DoDecode(MediaRawData *, uint8_t *, int, bool *, MediaDataDecoder::DecodedData &): avcodec_send_packet error: Unknown error occurred.

[MY ISSUE FIXED IN 1.0.0-a.35 RELEASE]

HarryHeres commented 2 months ago

@mauro-balades Can be closed, presumably?

mauro-balades commented 2 months ago

Thanks you good sir

thiphariel commented 1 week ago

Just a heads up, but the issue is back on 1.0.1-a.17 (probably earlier)

Edit : Ok my bad, it seems like it was more like a codec issue, I switch from wireplumber to pipewire-media-session and it seems ok for now :shrug: