ffmpegthumbnailer icon indicating copy to clipboard operation
ffmpegthumbnailer copied to clipboard

ffmpegthumbnailer fails to generate audio file cover thumbnail

Open danmcgoo opened this issue 6 years ago • 3 comments

Hello,

I upgraded recently from ubuntu 16.04 to ubuntu 18.04. Previously, I used ffmpegthumbnailer to generate thumbnails for audio file covers.

Since the upgrade, ffmpegthumbnailer fails to generate those thumbnails. I am not sure if the issue comes from ffmpegthumbnailer itself or from elsewhere.

When trying with something like this: ffmpegthumbnailer -i audio.mp4 -o test.png I get the following error message: [mov,mp4,m4a,3gp,3g2,mj2 @ 0x564e9fdf6fa0] stream 0, timescale not set [swscaler @ 0x564e9fe7e720] deprecated pixel format used, make sure you did set range correctly Error: decodeVideoFrame() failed: frame not finished

And the output file is empty.

Best Regards,

danmcgoo avatar Feb 26 '19 21:02 danmcgoo

Can you provide a sample that fails?

dirkvdb avatar Feb 28 '19 17:02 dirkvdb

Well, due to copyright issues I will not provide an audio file here. However, I can tell you how to make on yourself. You can use youtube-dl on a soundcloud url, like this: youtube-dl "soundcould-url" --embed-thumbnail

danmcgoo avatar Mar 03 '19 15:03 danmcgoo

Same « problem » here on ubuntuBudgie 20.04 with Nemo 4.4.2

django@ASGARD:~$ dpkg -l | grep thumbnail
ii  ffmpegthumbnailer                     2.1.1-0.2build2                     amd64        fast and lightweight video thumbnailer
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)
django@ASGARD:~$

And

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:~$ 

For reference : https://bugs.launchpad.net/ubuntu/+source/ffmpegthumbnailer/+bug/1882471

Coeur-Noir avatar Jun 07 '20 22:06 Coeur-Noir