thumbnails for mp3 / flac from in-file embedded picture

Bug #1882471 reported by Coeur Noir
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ffmpeg (Ubuntu)
New
Undecided
Unassigned
ffmpegthumbnailer (Ubuntu)
New
Undecided
Unassigned
nemo (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hi,

here is an Ubuntu Budgie 20.04.

It uses Nemo 4.4.2 as file explorer.

I've noticed here my music files, mainly mp3, only show their generic icons and not their embedded picture for cover art.

I've got this → https://aws1.discourse-cdn.com/standard17/uploads/ubuntubudgie/original/2X/8/8b66f4a45787193d226ae6b3bdcf83e364b84f3f.png

I expected something like this → https://aws1.discourse-cdn.com/standard17/uploads/ubuntubudgie/original/2X/f/fb30fd0c844dbe15b966921edfe9ab9e0754ebf8.png

Here are my installed packages regarding thumbnails, I think :
_________________________________________________________________________

django@ASGARD:~$ dpkg -l | grep -Ei 'thumbnailer|ffmpeg|nemo'
ii chromium-codecs-ffmpeg-extra 81.0.4044.129-0ubuntu0.20.04.1 amd64 Transitional package - chromium-codecs-ffmpeg-extra -> chromium-ffmpeg snap
ii ffmpeg 7:4.2.2-1ubuntu1 amd64 Tools for transcoding, streaming and playing of multimedia files
ii ffmpegthumbnailer 2.1.1-0.2build2 amd64 fast and lightweight video thumbnailer
ii folder-color-nemo 0.0.88 all Folder Color for Nemo
ii gir1.2-nemo-3.0 4.4.2-2 amd64 libraries for nemo components - gir bindings
ii gstreamer1.0-libav:amd64 1.16.2-2 amd64 ffmpeg plugin for GStreamer
ii libavcodec-extra:amd64 7:4.2.2-1ubuntu1 amd64 FFmpeg library with extra codecs (metapackage)
ii libavcodec-extra58:amd64 7:4.2.2-1ubuntu1 amd64 FFmpeg library with additional de/encoders for audio/video codecs
ii libavdevice58:amd64 7:4.2.2-1ubuntu1 amd64 FFmpeg library for handling input and output devices - runtime files
ii libavfilter7:amd64 7:4.2.2-1ubuntu1 amd64 FFmpeg library containing media filters - runtime files
ii libavformat58:amd64 7:4.2.2-1ubuntu1 amd64 FFmpeg library with (de)muxers for multimedia containers - runtime files
ii libavresample4:amd64 7:4.2.2-1ubuntu1 amd64 FFmpeg compatibility library for resampling - runtime files
ii libavutil56:amd64 7:4.2.2-1ubuntu1 amd64 FFmpeg library with functions for simplifying programming - runtime files
ii libffmpegthumbnailer4v5 2.1.1-0.2build2 amd64 shared library for ffmpegthumbnailer
ii libgdk-pixbuf2.0-bin 2.40.0+dfsg-3 amd64 GDK Pixbuf library (thumbnailer)
ii libnemo-extension1:amd64 4.4.2-2 amd64 Nemo component system facilities
ii libpostproc55:amd64 7:4.2.2-1ubuntu1 amd64 FFmpeg library for post processing - runtime files
ii libswresample3:amd64 7:4.2.2-1ubuntu1 amd64 FFmpeg library for audio resampling, rematrixing etc. - runtime files
ii libswscale5:amd64 7:4.2.2-1ubuntu1 amd64 FFmpeg library for image scaling and various conversions - runtime files
ii nemo 4.4.2-2 amd64 File manager and graphical shell for Cinnamon
ii nemo-data 4.4.2-2 all File manager and graphical shell for Cinnamon (data files)
ii nemo-fileroller 4.4.0-2 amd64 File Roller integration for Nemo
ii nemo-python 4.4.0-3 amd64 Python bindings for nemo components
django@ASGARD:~$
_________________________________________________________________________

Thumbnails are OK for video files though.

I followed suggestions from here https://github.com/linuxmint/nemo/issues/2280#issuecomment-571996421

I had edited /usr/share/thumbnailers/ffmpegthumbnailer.thumbnailer but that does not change anything in Nemo.

_________________________________________________________________________

django@ASGARD:~$ cat /usr/share/thumbnailers/ffmpegthumbnailer.thumbnailer
[Thumbnailer Entry]
TryExec=ffmpegthumbnailer
Exec=ffmpegthumbnailer -i %i -o %o -s %s -f
MimeType=video/jpeg;video/mp4;video/mpeg;video/quicktime;video/x-ms-asf;video/x-ms-wm;video/x-ms-wmv;video/x-msvideo;video/x-flv;video/x-matroska;video/webm;video/mp2t;audio/flac;audio/mpeg
django@ASGARD:~$
_________________________________________________________________________

And anyway trying to extract embedded picture from an mp3 file with ffmpeg fails :

ffmpegthumbnailer -i 01\ Gibraltar.mp3 -o test.png
[mp3 @ 0x56303d9778c0] Estimating duration from bitrate, this may be inaccurate
Error: decodeVideoFrame() failed: frame not finished

So is ffmpegthumbnailer supposed to give thumbnails to Nemo/Nautilus for mp3 files ???

For references :
https://discourse.ubuntubudgie.org/t/nemo-and-music-files-no-pictures/3467
https://github.com/linuxmint/nemo/issues/2280
https://github.com/dirkvdb/ffmpegthumbnailer/issues/172

On these other threads some mention ffmpegthumbnailer 2.2.2 - it's actually 2.1.1 in 20.04.

Coeur Noir (coeur-noir)
description: updated
Revision history for this message
Joshua Peisach (itzswirlz) wrote :

Issue invalid-missing a dependency. Look at the duplicate issue on nemo in LM's GitHub-you are missing a dep

Revision history for this message
Clement Lefebvre (clementlefebvre) wrote :

Fixed with xplayer-thumbnailer.

Changed in nemo (Ubuntu):
status: New → Fix Released
Revision history for this message
Clement Lefebvre (clementlefebvre) wrote :

Fixed with xapp-mp3-thumbnailer.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.