Youtube in Chromium does not play video after update

Hi,
after some update last week my chromium youtube broke down. Video is loading, but black screen is forever. Firefox works well. Chromium 73.0.3683.75 (openSUSE Build) (64b). Leap15.
Everything else works fine.
Some hint, please?

linux-HP15:/home/tom # zypper lr -dEfektivní priority repozitářů: (Další podrobnosti viz ‘zypper lr -P’)
98 (zvýšená priorita) : 1 repozitář
99 (výchozí priorita) : 6 repozitářů

| Alias | Název | povoleno | Kontrola GPG | Obnovit | Priorita | Typ | Adresa URI | Služba

—±--------------------------±----------------------------------------±---------±-------------±--------±---------±-------±---------------------------------------------------------------------------±------
1 | dvd | dvd | Ano | (r ) Ano | Ne | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_15.0/ |
2 | openSUSE-Leap-15.0-1 | openSUSE-Leap-15.0-1 | Ne | ---- | ---- | 99 | rpm-md | hd:///?device=/dev/disk/by-id/usb-_USB_DISK_Pro_070756F81E793E13-0:0-part2 |
3 | packman | packman | Ano | (r ) Ano | Ano | 98 | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_15.0/ |
4 | repo-debug | openSUSE-Leap-15.0-Debug | Ne | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/15.0/repo/oss/ |
5 | repo-debug-non-oss | openSUSE-Leap-15.0-Debug-Non-Oss | Ne | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/15.0/repo/non-oss/ |
6 | repo-debug-update | openSUSE-Leap-15.0-Update-Debug | Ne | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.0/oss/ |
7 | repo-debug-update-non-oss | openSUSE-Leap-15.0-Update-Debug-Non-Oss | Ne | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.0/non-oss/ |
8 | repo-non-oss | openSUSE-Leap-15.0-Non-Oss | Ano | (r ) Ano | Ano | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/non-oss/ |
9 | repo-oss | openSUSE-Leap-15.0-Oss | Ano | (r ) Ano | Ano | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/oss/ |
10 | repo-source | openSUSE-Leap-15.0-Source | Ne | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/distribution/leap/15.0/repo/oss/ |
11 | repo-source-non-oss | openSUSE-Leap-15.0-Source-Non-Oss | Ne | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/distribution/leap/15.0/repo/non-oss/ |
12 | repo-update | openSUSE-Leap-15.0-Update | Ano | (r ) Ano | Ano | 99 | rpm-md | http://download.opensuse.org/update/leap/15.0/oss/ |
13 | repo-update-non-oss | openSUSE-Leap-15.0-Update-Non-Oss | Ano | (r ) Ano | Ano | 99 | rpm-md | http://download.opensuse.org/update/leap/15.0/non-oss/ |
14 | teamviewer | TeamViewer - x86_64 | Ano | (r ) Ano | Ano | 99 | rpm-md | http://linux.teamviewer.com/yum/stable/main/binary-x86_64/ |
linux-HP15:/home/tom #

Youtube videos seem to be fine in chromium here (same version). I’m not sure what is the difference between our systems.

I need to know, which package is in use in youtube playing, I have another PC desktop with same OS and repositories, there is youtube ok. I could compare them.
E.g. sample that doesnt play:
http://www.youtube.com/watch?v=9o0imRANjm0

That plays fine here. Well, I can’t stand the sound track, but apart from that it plays fine and the visuals are good. Just not my taste in music.

You might try redoing the switch to packman:

zypper dup --from packman --allow-vendor-change

to see if that helps.

It was only sample, I understand you.
I ran command you wrote, result: nothing to do :frowning:

Hi
I Firefox I see vp9 and opus for codecs;

Screenshot from 2019-03-31 09-12-08.png

HTML5 Proprietary Media on Linux

Video from first page doesnt play, but all three video samples from test page play correctly.
I :\

In statistics for experts I noticed that video in codecs avc1.4d400d (133) / mp4a.40.2 (140) works well, but video in* Codecs vp09.00.51.08.01.01.01.01 (242) / opus (251)* doesn work. Any idea, please?

1 | dvd | dvd | Ano | (r ) Ano | Ne | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_15.0/ |

What is it?
I cannot access http://opensuse-guide.org/repo/openSUSE_Leap_15.0/ .
Old unupdated repo? Maybe it is better to delete it?

I cannot visit that in a browser. But zypper, Yast etc all seem able to access it. The only package I have from there is “libdvdcss2”. Just leave it there in your repo list.

The following is essential. What is yours?

erlangen:~ # zypper if chromium-ffmpeg-extra
Loading repository data...
Reading installed packages...


Information for package chromium-ffmpeg-extra:
----------------------------------------------
Repository     : Packman                                           
Name           : chromium-ffmpeg-extra                             
Version        : 69.0.3497.100-2.5                                 
Arch           : x86_64                                            
Vendor         : http://packman.links2linux.de                     
Installed Size : 3.1 MiB                                           
Installed      : Yes (automatically)                               
Status         : up-to-date                                        
Source package : chromium-ffmpeg-extra-69.0.3497.100-2.5.src       
Summary        : Extra ffmpeg codecs for browsers based on Chromium
Description    :                                                   
    This package contains proprietary codecs needed for the HTML5
    (audio and video tags).

erlangen:~ # rpm -V chromium-ffmpeg-extra
erlangen:~ # 

You are right, I deleted it. For some time it is unavailable.

  tom@linux-HP15:~> zypper if chromium-ffmpeg-extraNačítání dat repozitáře...
Načítají se nainstalované balíčky...

Informace pro balíček chromium-ffmpeg-extra:
--------------------------------------------
Úložiště             : packman                                           
Název                : chromium-ffmpeg-extra                             
Verze                : 69.0.3497.100-lp150.2.5                           
Architektura         : x86_64                                            
Poskytovatel         : http://packman.links2linux.de                     
Instalovaná velikost : 3,1 MiB                                           
Nainstalováno        : Ano                                               
Stav                 : aktuální                                          
Zdrojový balíček     : chromium-ffmpeg-extra-69.0.3497.100-lp150.2.5.src 
Shrnutí              : Extra ffmpeg codecs for browsers based on Chromium
Popis                :                                                   
    This package contains proprietary codecs needed for the HTML5
    (audio and video tags).

tom@linux-HP15:~> 
  

chromium-ffmpeg-extra is up to date,
video in codecs vp09 doesnt work at all.

What about the following (download from https://help.vivaldi.com/article/html5-proprietary-media-on-linux/):


karl@erlangen:~/Downloads> ffplay add-proprietary-media-linux.webm
ffplay version 4.1.2 Copyright (c) 2003-2019 the FFmpeg developers
  built with gcc 8 (SUSE Linux)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --optflags='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --disable-openssl --enable-avresample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcelt --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libssh --enable-libsrt --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-vaapi --enable-vdpau --enable-libfdk_aac --enable-nonfree --enable-libvo-amrwbenc --enable-version3 --enable-libx264 --enable-libx265 --enable-librtmp --enable-libxvid
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100
Input #0, matroska,webm, from 'add-proprietary-media-linux.webm':   
  Metadata:
    encoder         : GStreamer matroskamux version 1.14.1
    creation_time   : 2019-01-31T11:57:39.000000Z
  Duration: 00:00:29.27, start: 0.006000, bitrate: 173 kb/s
    Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv), 984x567, SAR 1:1 DAR 328:189, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      title           : Video
  29.11 M-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0   
karl@erlangen:~/Downloads> 

Does ffplay work correctly?

It seems to be strange, what do you think?

 tom@linux-HP15:~> ffplay add-proprietary-media-linux.webmffplay version 3.4.4 Copyright (c) 2003-2018 the FFmpeg developers
  built with gcc 7 (SUSE Linux)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --disable-openssl --enable-avresample --enable-libcdio --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcelt --enable-libcdio --enable-libdc1394 --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libzimg --enable-libzvbi --enable-vaapi --enable-vdpau --enable-libfdk_aac --enable-nonfree --enable-libx264 --enable-libx265 --enable-libxvid
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
add-proprietary-media-linux.webm: No such file or directory
    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0   
tom@linux-HP15:~>  

Download the video from https://help.vivaldi.com/article/html5-proprietary-media-on-linux/:slight_smile: to the download folder:

karl@erlangen:~/Downloads> ll add-proprietary-media-linux.webm
-rw-r--r-- 1 karl users 633797  5. Apr 07:09 add-proprietary-media-linux.webm
karl@erlangen:~/Downloads> 

Then invoke ffplay:

karl@erlangen:~/Downloads> ffplay add-proprietary-media-linux.webm
ffplay version 4.1.2 Copyright (c) 2003-2019 the FFmpeg developers
  built with gcc 8 (SUSE Linux)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --optflags='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --disable-openssl --enable-avresample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcelt --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libssh --enable-libsrt --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-vaapi --enable-vdpau --enable-libfdk_aac --enable-nonfree --enable-libvo-amrwbenc --enable-version3 --enable-libx264 --enable-libx265 --enable-librtmp --enable-libxvid
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100
Input #0, matroska,webm, from 'add-proprietary-media-linux.webm':   
  Metadata:
    encoder         : GStreamer matroskamux version 1.14.1
    creation_time   : 2019-01-31T11:57:39.000000Z
  Duration: 00:00:29.27, start: 0.006000, bitrate: 173 kb/s
    Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv), 984x567, SAR 1:1 DAR 328:189, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      title           : Video
   5.88 M-V:  0.000 fd=   0 aq=    0KB vq=   57KB sq=    0B f=0/0   
karl@erlangen:~/Downloads> 

On my machine the above opens a new window and plays the video. What happens on your machine?

IMO
When a problem occurs, should take a moment and consider what changed on the machine.

If you suspect codecs, then the above steps can help troubleshoot,

But,
Perhaps as important… particularly on machines which were installed years ago is to verify that you’re using HTML5 to access YouTube and not Flash.

To verify,
Visit the following page with your browser

https://www.youtube.com/html5

No one should be using Flash anymore… Except for some older videos which were compiled only that way…

TSU

Sorry, I dont really know, which video I should download. I visited the page you told me https://help.vivaldi.com/article/html5-proprietary-media-on-linux/, there are one video window that doesnt play, when I visit next page http:// https://www.quirksmode.org/html5/tests/video.html all videos on the page play very well. But I dont understand what reason is to download Vivaldi browser. Youtube used to play for me, but some time ago, after some update (I didnt remeber when exactlly) broke down.
Sorry for my ignorance. Thanks

My installation is quite fresh. I suppose I dont use flash… its history. On page you advice me, all item is thicked.

HTMLVideoElement
H.264
WebM VP8
Media Source Extensions
MSE & H.264
MSE & WebM VP9