Public bug reported:

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/3467https://github.com/linuxmint/nemo/issues/2280https://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.

** Affects: ffmpeg (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ffmpegthumbnailer (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: nemo (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: nemo (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: ffmpeg (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1882471

Title:
  thumbnails for mp3 / flac from in-file embedded picture

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/1882471/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to