flathub / org.chromium.Chromium

https://flathub.org/apps/details/org.chromium.Chromium
43 stars 25 forks source link

The latest update broke twitch.tv (error: #4000) [SEE COMMENTS FOR WORKAROUND] #340

Closed Lancer11211 closed 9 months ago

Lancer11211 commented 9 months ago

Starting with the latest update, no twitch video/stream can be played. A fresh flatpak installation doesn't help. I assume ffmpeg is missing.

regulator-g commented 9 months ago

yep seems a lot of web media is broken, if anyone is stuck you can revert to the last version until its fixed:

sudo flatpak update --commit=885e60ce680c5418885c4f540be7812714fa77a74c685803179312ecd2042006 org.chromium.Chromium

AndrejSh3 commented 9 months ago

I've noticed problems playing media on the following websites as well:

The same issue doesn't occur with the Google Chrome flatpak

ntippie commented 9 months ago

chrome://media-internals gave the error Cannot select FFmpegAudioDecoder for audio decoding. Downgrade worked, thank you.

refi64 commented 9 months ago

Working on a fix, but as a temporary workaround, you can pass --disable-features=FFmpegAllowLists or add features-=FFmpegAllowLists to your chromium-flags.conf.

Erick555 commented 9 months ago

It's confusing that chromium flatpak uses libfdk-aac and openh264 also in non-free codecs extension specially when quality is below native ffmpeg decoders.

refi64 commented 9 months ago

OpenH264 is for the free codecs only, where AAC is also disabled. libfdk-aac is used for the non-free codecs, specifically for decoding, where it's equivalent to FFmpeg's native AAC decoder. (As an aside, for encoding, the superior one is actually libfdk-aac, not FFmpeg's native encoder. I've seen some discussion about the native one being superior, but I never saw it backed by any evidence.)

Erick555 commented 9 months ago

Note that freedesktop runtime ships stripped version of libfdk-aac where some features like HE-AAC are removed in order to make it patent free. It also misses all development that happened since early 2019 (mostly fixes for overflows detected with fuzzing ).