Video won't play - how to debug ?
I can't play a video when logged into a website - see https://support.mozilla.org/en-US/questions/1371380
I'm sure it is not Firefox as I have also tried Chrome and Opera; same problem. How can I debug this and find out why the video cannot be played ?
I see there is 'Remote Debugging' and 'Browser Console' under 'More Tools'. How do I use these or other tools to find out what is causing the problem please ?
Все ответы (15)
If I use the Browser Console, there are a lot of messages "Blocked by DevTools" ??
What OS? X11 or Wayland? What video? Provide the steps to replicate the issue. Make sure you have current ffmpeg and libav installed. see screenshot for my distro.
Operating System: openSUSE Tumbleweed 20220331
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.2
Kernel Version: 5.16.15-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-4810MQ CPU @ 2.80GHz
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4600
.....
jonzn4SUSE said
What OS? X11 or Wayland? What video? Provide the steps to replicate the issue. Make sure you have current ffmpeg and libav installed. see screenshot for my distro.
Kubuntu 20.04.4 LTS Release: 20.04 Codename: focal Firefox Version 98.0.2 (64 bit)
$ inxi -F System: Host: Dell-Inspiron-3542 Kernel: 5.4.0-107-generic x86_64 bits: 64 Desktop: KDE Plasma 5.18.8
Distro: Ubuntu 20.04.4 LTS (Focal Fossa)
Machine: Type: Portable System: Dell product: Inspiron 3542 v: N/A serial: <superuser/root required>
Mobo: Dell model: 0WW73H v: A16 serial: <superuser/root required> BIOS: Dell v: A16 date: 09/02/2020
Battery: ID-1: BAT0 charge: 41.0 Wh condition: 41.0/41.4 Wh (99%) CPU: Topology: Dual Core model: Intel Core i7-4510U bits: 64 type: MT MCP L2 cache: 4096 KiB
Speed: 798 MHz min/max: 800/3100 MHz Core speeds (MHz): 1: 798 2: 798 3: 800 4: 798
Graphics: Device-1: Intel Haswell-ULT Integrated Graphics driver: i915 v: kernel
Device-2: NVIDIA GM108M [GeForce 840M] driver: nvidia v: 470.103.01 Display: x11 server: X.Org 1.20.13 driver: modesetting,nvidia unloaded: fbdev,nouveau,vesa resolution: 1366x768~60Hz OpenGL: renderer: NVIDIA GeForce 840M/PCIe/SSE2 v: 4.6.0 NVIDIA 470.103.01
Audio: Device-1: Intel Haswell-ULT HD Audio driver: snd_hda_intel
Device-2: Intel 8 Series HD Audio driver: snd_hda_intel Sound Server: ALSA v: k5.4.0-107-generic
Network: Device-1: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter driver: ath9k
IF: wlp6s0 state: down Device-2: Realtek RTL810xE PCI Express Fast Ethernet driver: r8169 IF: enp7s0 state: up speed: 100 Mbps duplex: full mac: b8:2a:72:a2:ef:a9 Device-3: Qualcomm Atheros type: USB driver: btusb
Drives: Local Storage: total: 931.51 GiB used: 151.61 GiB (16.3%)
ID-1: /dev/sda vendor: Seagate model: ST1000LM024 HN-M101MBB size: 931.51 GiB
Partition: ID-1: / size: 16.19 GiB used: 12.42 GiB (76.7%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 894.99 GiB used: 139.19 GiB (15.6%) fs: ext4 dev: /dev/sda6 ID-3: swap-1 size: 4.66 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda5
Sensors: System Temperatures: cpu: 52.0 C mobo: 52.0 C gpu: nvidia temp: 50 C
Fan Speeds (RPM): cpu: 0
Info: Processes: 237 Uptime: 10h 27m Memory: 7.68 GiB used: 2.19 GiB (28.5%) Shell: bash inxi: 3.0.38
It is a membership site, and only by logging in can the problem be replicated. The screenshot for your distro - all the versions you have are more recent than mine.
$ ffmpeg -version ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100
Hi
Are you able to share a link to the video that you are trying to view?
Seburo said
Are you able to share a link to the video that you are trying to view?
No sorry. It's a private membership site, and needs login access to (attempt to) play the video.
Could this help?
Seburo said
Could this help? https://support.mozilla.org/en-US/kb/enable-drm
I doubt it, DRM is already enabled and most of the articles I have seen for fixing video problems mention to make sure it is enabled.
Make sure you have the latest FFmpeg and libavcodec packages installed.
cor-el said
Make sure you have the latest FFmpeg and libavcodec packages installed.
Thanks, I read through the articles from the links and tried all the suggestions, but the video doesn't appear. (Even cleared the DNS cache). Possibly I should have made this question "Video doesn't appear" ?
The only thing I haven't tried is installing the latest FFmpeg and libavcodec packages. It seems the ones I'm using are a number of versions behind. I read a number of articles on installing the latest on Ubuntu 20.4; these seemed a similar method:
https://www.osradar.com/install-the-latest-version-ffmpeg-ubuntu-debian/ https://kb.hostperl.com/knowledgebase/install-latest-ffmpeg-on-ubuntu-20-04/ https://www.hostnextra.com/kb/install-latest-ffmpeg-on-ubuntu-20-04/
The method at https://ubuntuhandbook.org/index.php/2022/02/install-ffmpeg-5-0-ubuntu/ is less involved but does a "full upgrade" , which may remove other currently installed packages.
I may consider installing openSUSE in a VM, as it has version 4.4.1 of FFMpeg, which appears to be the last before version 5 (https://software.opensuse.org/package/ffmpeg-4)
FFMpeg do give a guide for compiling on Ubuntu ( https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu ) but it looks involved.
Try Firefox from Mozilla and see what happens. https://www.mozilla.org/en-US/firefox/all/#product-desktop-beta
jonzn4SUSE said
Try Firefox from Mozilla and see what happens. https://www.mozilla.org/en-US/firefox/all/#product-desktop-beta
Thanks, but same problem, no video showing.
oygle said
I can't play a video when logged into a website - see https://support.mozilla.org/en-US/questions/1371380 I'm sure it is not Firefox as I have also tried Chrome and Opera; same problem.
I missed the part about other browsers. What site? We can't see any videos without logging in right? If so, then it's wrap for me.
Изменено
jonzn4SUSE said
I missed the part about other browsers. What site? We can't see any videos without logging in right? If so, then it's wrap for me.
Yes, that's right. No one can see the video without being logged in, and I can't see it even when logged in. So, that is why I started this thread. By "debug" I mean, Browser console or other tools so that I can debug it.
It was a Vimeo privacy issue for videos that were embedded on other sites. See https://support.mozilla.org/en-US/questions/1379845