You are not logged in.

#1 2023-07-16 16:12:52

cdwijs
Member
Registered: 2010-04-24
Posts: 294

clementine and strawberry both do not recognize .webm files

I've downloaded a youtube video with yt-dlp, and placed in a music library folder. it has the file extention .webm The file does not show up in the library, and also not in the Files. .mp4 files are seen by clementine, and play fine.

vlc and smplayer both play the .webm file just fine.

ffprobe shows the following information about the used codecs in the webm file:

$ ffprobe Riton\ x\ Nightcrawlers\ -\ Friday\ \(Dopamine\ Re-Edit\)\ \[feat.\ Mufasa\ \&\ Hypeman\]\ \(It\'s\ Friday\ Then\ Song\)\ \[IHC1Ma6EBbE\].webm 
ffprobe version n6.0 Copyright (c) 2007-2023 the FFmpeg developers
  built with gcc 13.1.1 (GCC) 20230429
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
Input #0, matroska,webm, from 'Riton x Nightcrawlers - Friday (Dopamine Re-Edit) [feat. Mufasa & Hypeman] (It's Friday Then Song) [IHC1Ma6EBbE].webm':
  Metadata:
    ENCODER         : Lavf60.3.100
  Duration: 00:02:49.19, start: 0.000000, bitrate: 4080 kb/s
  Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv, bt709), 1920x1080, SAR 1:1 DAR 16:9, 60 fps, 60 tbr, 1k tbn (default)
    Metadata:
      DURATION        : 00:02:49.149000000
  Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
    Metadata:
      DURATION        : 00:02:49.188000000

As far as I can tell all the libraries clementine looks for while building are present:

$ tar -xf clementine.tar.gz 
[cedric@cedric Downloads]$ cd clementine/
[cedric@cedric clementine]$ makepkg
==> Making package: clementine 1.4.0rc2-4 (Sun 16 Jul 2023 05:50:12 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading clementine-1.4.0rc2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 8861k    0 8861k    0     0  3001k      0 --:--:--  0:00:02 --:--:-- 3521k
==> Validating source files with sha256sums...
    clementine-1.4.0rc2.tar.gz ... Passed
==> Extracting sources...
  -> Extracting clementine-1.4.0rc2.tar.gz with bsdtar
==> Starting prepare()...
==> Starting build()...
-- The C compiler identification is GNU 13.1.1
-- The CXX compiler identification is GNU 13.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") 
-- ccache found: will be used for compilation and linkage
-- Found OpenGL: /usr/lib/libOpenGL.so   
-- Found Boost: /usr/lib/cmake/Boost-1.81.0/BoostConfig.cmake (found version "1.81.0")  
-- Found Gettext: /usr/bin/msgmerge (found version "0.22") 
CMake Warning at /usr/share/cmake/Modules/FindProtobuf.cmake:524 (message):
  Protobuf compiler version 23.4 doesn't match library version 4.23.4
Call Stack (most recent call first):
  CMakeLists.txt:49 (find_package)


-- Found Protobuf: /usr/lib/libprotobuf.so (found version "4.23.4") 
-- Found ALSA: /usr/lib/libasound.so (found version "1.2.9") 
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Checking for module 'libcdio'
--   Found libcdio, version 2.1.0
-- Checking for module 'libchromaprint'
--   Found libchromaprint, version 1.5.1
-- Checking for one of the modules 'libcryptopp;libcrypto++'
-- Checking for module 'gio-2.0'
--   Found gio-2.0, version 2.76.4
-- Checking for module 'glib-2.0'
--   Found glib-2.0, version 2.76.4
-- Checking for module 'gobject-2.0'
--   Found gobject-2.0, version 2.76.4
-- Checking for module 'gstreamer-1.0'
--   Found gstreamer-1.0, version 1.22.4
-- Checking for module 'gstreamer-app-1.0'
--   Found gstreamer-app-1.0, version 1.22.4
-- Checking for module 'gstreamer-audio-1.0'
--   Found gstreamer-audio-1.0, version 1.22.4
-- Checking for module 'gstreamer-base-1.0'
--   Found gstreamer-base-1.0, version 1.22.4
-- Checking for module 'gstreamer-tag-1.0'
--   Found gstreamer-tag-1.0, version 1.22.4
-- Checking for module 'gstreamer-pbutils-1.0'
--   Found gstreamer-pbutils-1.0, version 1.22.4
-- Checking for module 'libgpod-1.0>=0.7.92'
--   Found libgpod-1.0, version 0.8.3
-- Checking for module 'libmtp>=1.0'
--   Found libmtp, version 1.1.21
-- Checking for module 'libmygpo-qt5>=1.0.9'
--   Found libmygpo-qt5, version 1.1.0
-- Checking for module 'libpulse'
--   Found libpulse, version 16.1
-- Checking for module 'libxml-2.0'
--   Found libxml-2.0, version 2.11.4
-- Checking for module 'libspotify>=12.1.45'
--   Package 'libspotify', required by 'virtual:world', not found
-- Checking for module 'taglib'
--   Found taglib, version 1.13.1
-- Using system taglib library
-- Performing Test TAGLIB_HAS_OPUS
-- Performing Test TAGLIB_HAS_OPUS - Success
-- Found Threads: TRUE  
-- Checking for module 'libprojectM'
--   Found libprojectM, version 3.1.12
-- Performing Test SUPPORTS_NOBOOL
-- Performing Test SUPPORTS_NOBOOL - Success
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include  

Building Clementine version: 1.4 rc2

The following components will be built:
   ALSA integration
   Box support
   D-Bus support
   Devices: Audio CD support
   Devices: GIO device backend
   Devices: MTP support
   Devices: UDisks2 backend
   Devices: iPod classic support
   Dropbox support
   Google Drive support
   Last.fm support
   Moodbar support
   Pulse audio integration
   Seafile support
   Skydrive support
   Spotify support
   Translations
   Visualisations
   Wiimote support

The following components WILL NOT be built:
   Crash reporting (disabled in CMake config)
   Sparkle integration (missing macOS, Sparkle)
   Spotify support: non-GPL binary helper (missing libspotify)

-- Configuring done (1.9s)
-- Generating done (0.1s)
-- Build files have been written to: /home/cedric/Downloads/clementine/src/build
[  0%] Generating moc_qtlocalpeer.cpp
[  0%] Generating qrc_qprogressindicatorspinning_nonmac.cpp
<snip>
usr/bin/clementine
usr/bin/clementine-tagreader
==> Creating package "clementine"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: clementine 1.4.0rc2-4 (Sun 16 Jul 2023 05:50:34 PM CEST)
# pacman -U clementine-1.4.0rc2-4-x86_64.pkg.tar 
loading packages...
warning: clementine-1.4.0rc2-4 is up to date -- reinstalling

How can I make clementine recognize .webm files?
Is there another music player that does work with .webm files?

Last edited by cdwijs (2023-07-16 16:46:38)

Offline

#2 2023-07-16 16:31:25

cdwijs
Member
Registered: 2010-04-24
Posts: 294

Re: clementine and strawberry both do not recognize .webm files

I've also tried strawberry 1.0.18. (https://github.com/strawberrymusicplayer/strawberry) it also doesn't see the .webm file.
On their website, they say it supports Ogg Opus audio. I guess it's not capable of extracting the audio from the matroska,webm container.

Offline

#3 2023-07-17 10:27:20

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,213

Re: clementine and strawberry both do not recognize .webm files

Clementine appears to be using gstreamer, check clementime  optional dependencies to verify which gst plugins you have installed.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2023-07-17 23:43:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,809

Re: clementine and strawberry both do not recognize .webm files

If you actively open the file (in the file open selection dialog, make sure to adjust the filter so that it shows all files) in one of the two they'll likely play it, but seeing as those are music players they will likely be configured to not look for/show what's ultimately a video file.

Offline

Board footer

Powered by FluxBB