Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED Youtube videos don't play w/ gstreamer to 1.18.4
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
oxumare
n00b
n00b


Joined: 10 Jun 2009
Posts: 32
Location: Italy

PostPosted: Fri Dec 03, 2021 12:27 pm    Post subject: SOLVED Youtube videos don't play w/ gstreamer to 1.18.4 Reply with quote

*** UPDATE ***

Upgrading gstreamer et all to 1.18.6 the issue was resolved.
Dunno how, there have been updates of ffmpeg and webkit-gtk, don't know which resolved the issue.


Hi,
I'm using www-client/surf, a webkit-gtk based browser.
After upgrading gstreamer and plugins to 1.18.4 videos using AV01 codec stopped working on YouTube.

Installed:
Code:

[I] media-libs/gstreamer (1.16.3(1.0)@12/02/2021): Open source multimedia framework
[I] media-libs/gst-plugins-bad (1.16.3(1.0)@12/02/2021): Less plugins for GStreamer
[I] media-libs/gst-plugins-base (1.16.3-r1(1.0)@12/02/2021): Basepack of plugins for gstreamer
[I] media-libs/gst-plugins-good (1.16.3(1.0)@12/02/2021): Basepack of plugins for GStreamer
[I] media-libs/gst-plugins-ugly (1.16.3(1.0)@12/02/2021): Basepack of plugins for gstreamer
[I] media-plugins/gst-plugins-libav (1.16.3(1.0)@12/02/2021): FFmpeg based gstreamer plugin
[I] media-plugins/gst-plugins-meta (1.16.3(1.0)@12/02/2021): Meta ebuild to pull in gst plugins for apps
[I] media-plugins/gst-plugins-opus (1.16.3(1.0)@12/02/2021): Opus audio parser plugin for GStreamer


Launching surf with GST_DEBUG=1 give this error:
Code:

libav :0:: Your platform doesn't suppport hardware accelerated AV1 decoding.


I discovered by chance that WITHOUT media-libs/gst-plugins-bad these same videos work...
But it is required by webkit-gtk and anyway the codecs in it may be required for other videos.
I have a nvidia card with x11-drivers/nvidia-drivers-470.86-r1
Any clue ?

Code:

# emerge --info
Portage 3.0.28 (python 3.8.12-final-0, default/linux/amd64/17.1, gcc-10.3.0, glibc-2.33-r7, 4.19.27-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.19.27-gentoo-r1-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-glibc2.2.5
KiB Mem:    24687700 total,  13934016 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Fri, 03 Dec 2021 11:00:01 +0000
Head commit of repository gentoo: 279fd476f3f705c745991e7f25161ccba5983453
Head commit of repository compiz-reloaded: 87fc8829f529505467b38dccb90bb69f290561f8

sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r3::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.7.12_p1::gentoo, 3.8.12_p1::gentoo, 3.9.9::gentoo, 3.10.0_p1::gentoo
dev-lang/rust-bin:        1.56.1::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7-r3::gentoo
sys-apps/openrc:          0.44.9::gentoo
sys-apps/sandbox:         2.25::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.12.6-r2::gentoo, 1.13.4::gentoo, 1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.4::gentoo
sys-devel/binutils:       2.30-r4::gentoo, 2.31.1-r6::gentoo, 2.32-r1::gentoo, 2.33.1-r1::gentoo, 2.34-r2::gentoo, 2.35.2::gentoo, 2.36.1-r2::gentoo, 2.37_p1::gentoo
sys-devel/gcc:            8.2.0-r6::gentoo, 8.3.0-r1::gentoo, 9.2.0-r2::gentoo, 9.3.0-r2::gentoo, 10.3.0-r2::gentoo, 11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: no

myOverlay
    location: /usr/local/portage
    masters: gentoo
    priority: 0

compiz-reloaded
    location: /usr/local/portage/layman/compiz-reloaded
    sync-type: git
    sync-uri: https://github.com/ethus3h/compiz-reloaded-overlay.git
    masters: gentoo
    priority: 50

nx
    location: /usr/local/portage/layman/nx
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=x86-64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb/symbols /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=x86-64 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --autounmask=y --quiet-build=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/usr/lib/systemd/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US"
MAKEOPTS="-j4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl acpi alsa amd64 apache2 audiofile avi berkdb bzip2 cdr cli crypt ctype cups dba dbus dri dssi elogind emboss encode exif expat fam fastbuild foomaticdb force-cgi-redirect ftp gd gdbm gif glut gmp gpm gtk gtk2 gtkhtml guile iconv idn imlib introspection jpeg kdeenablefinal ladspa lash lcms libg++ libglvnd libtirpc libwww mad memlimit mikmod mng motif mp3 mpeg multilib ncurses nptl nvidia opengl openmp pam pcre pdflib png posix python qt qt3support readline samba seccomp session simplexml slang smp sndfile soap sockets spl split-usr sqlite ssl tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode video xattr xml xml2 xmms xsl zlib" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="access auth auth_basic authn_file auth_dbm auth_anon auth_digest authz_host authz_default authz_user alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate filter mime-magic cern-meta expires headers usertrack unique_id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so php5 python" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en_US en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_9 python3_8" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="nv nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS


Code:

# eix webkit-gtk
[?] net-libs/webkit-gtk
     Available versions:  (4) 2.32.4(4/37)^t ~2.34.1-r1(4/37)^t
       {+X aqua avif +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer gtk-doc +introspection +jpeg2k +jumbo-build lcms libnotify +opengl seccomp spell systemd test wayland}
     Installed versions:  1.8.3-r201(2)[1](06:28:04 PM 01/23/2018)(jit webgl -aqua -coverage -debug -geoloc -gstreamer -introspection -spell -test) 2.32.4(4/37)^t(06:02:39 PM 11/30/2021)(X egl examples gstreamer gtk-doc introspection jpeg2k jumbo-build opengl -aqua -gamepad -geolocation -gles2-only -gnome-keyring -libnotify -seccomp -spell -systemd -test -wayland)
     Homepage:            https://www.webkitgtk.org
     Description:         Open source web browser engine



Code:

[I] media-video/ffmpeg
     Available versions:  4.2.4-r1(0/56.58.58)^td 4.3.1-r1(0/56.58.58)^td 4.3.2-r1(0/56.58.58)^td 4.4-r1(0/56.58.58)^td (~)4.4.1-r1(0/56.58.58)^td **9999(0/57.59.59)*l^td {X alsa amr amrenc appkit bluray bs2b +bzip2 cdio chromaprint chromium codec2 cpudetection cuda (+)dav1d debug doc +encode fdk flite fontconfig frei0r fribidi gcrypt gme gmp (+)gnutls +gpl gsm hardcoded-tables +iconv iec61883 ieee1394 jack jpeg2k kvazaar ladspa libaom libaribb24 libass libcaca libdrm libilbc librtmp libsoxr libtesseract libv4l libxml2 lv2 lzma mipsdspr1 mipsdspr2 mipsfpu mmal modplug mp3 +network openal opencl opengl openh264 openssl opus oss pic +postproc pulseaudio rav1e rubberband samba sdl snappy sndio speex srt ssh static-libs svg test theora +threads truetype twolame v4l vaapi vdpau vidstab vorbis vpx vulkan wavpack webp x264 x265 xvid zeromq zimg +zlib zvbi ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_ARM="neon thumb thumb2 v6 v8 vfp vfpv3" CPU_FLAGS_PPC="altivec vsx vsx2" CPU_FLAGS_X86="3dnow 3dnowext aes avx avx2 fma3 fma4 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 xop" FFTOOLS="+aviocat +cws2fws +ffescape +ffeval +ffhash +fourcc2pixfmt +graph2dot +ismindex +pktdumper +qt-faststart +sidxindex +trasher" VIDEO_CARDS="nvidia"}
     Installed versions:  4.4.1-r1(0/56.58.58)^td(12:03:09 AM 12/02/2021)(X alsa bzip2 chromium cpudetection dav1d encode gmp gnutls gpl hardcoded-tables iconv ladspa mp3 opengl openh264 openssl opus oss postproc pulseaudio samba sdl theora threads truetype twolame vaapi vdpau vorbis x264 x265 zlib -amr -amrenc -appkit -bluray -bs2b -cdio -chromaprint -codec2 -cuda -debug -doc -fdk -flite -fontconfig -frei0r -fribidi -gcrypt -gme -gsm -iec61883 -ieee1394 -jack -jpeg2k -kvazaar -libaom -libaribb24 -libass -libcaca -libdrm -libilbc -librtmp -libsoxr -libtesseract -libv4l -libxml2 -lv2 -lzma -mipsdspr1 -mipsdspr2 -mipsfpu -mmal -modplug -network -openal -opencl -pic -rav1e -rubberband -snappy -sndio -speex -srt -ssh -static-libs -svg -test -v4l -vidstab -vpx -vulkan -webp -xvid -zeromq -zimg -zvbi ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" CPU_FLAGS_ARM="-neon -thumb -thumb2 -v6 -v8 -vfp -vfpv3" CPU_FLAGS_PPC="-altivec -vsx -vsx2" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3 -aes -avx -avx2 -fma3 -fma4 -sse4_1 -sse4_2 -ssse3 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" VIDEO_CARDS="nvidia")
     Homepage:            https://ffmpeg.org/
     Description:         Complete solution to record/convert/stream audio and video. Includes libavcodec


Last edited by oxumare on Sun Apr 03, 2022 11:16 am; edited 1 time in total
Back to top
View user's profile Send private message
DarkAudit
n00b
n00b


Joined: 27 Mar 2021
Posts: 27

PostPosted: Sat Jan 01, 2022 9:39 am    Post subject: Reply with quote

Is it playing a single frame and stopping, perhaps?

Because that's what I've started getting on YouTube with both Firefox and Chrome. Videos on tumblr dash just won't play at all.

Running testing on an A10-8700P with AMD graphics. I haven't changed any configurations in weeks, just updating regularly and compiling new kernels with olddefconfig when they arrive.
Back to top
View user's profile Send private message
oxumare
n00b
n00b


Joined: 10 Jun 2009
Posts: 32
Location: Italy

PostPosted: Sat Jan 01, 2022 10:11 am    Post subject: Reply with quote

Hi DarkAudit,
no, the video area turns red with the spinner in the middle.
After a while appears the youtube notice about problems reproducing.
Back to top
View user's profile Send private message
DarkAudit
n00b
n00b


Joined: 27 Mar 2021
Posts: 27

PostPosted: Sat Jan 01, 2022 10:20 am    Post subject: Reply with quote

oxumare wrote:
Hi DarkAudit,
no, the video area turns red with the spinner in the middle.
After a while appears the youtube notice about problems reproducing.

Okay. Different issue, then.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum