Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffmpegthumbnailer fails to generate audio file cover thumbnail #172

Open
danmcgoo opened this issue Feb 26, 2019 · 3 comments
Open

ffmpegthumbnailer fails to generate audio file cover thumbnail #172

danmcgoo opened this issue Feb 26, 2019 · 3 comments

Comments

@danmcgoo
Copy link

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,

@dirkvdb
Copy link
Owner

dirkvdb commented Feb 28, 2019

Can you provide a sample that fails?

@danmcgoo
Copy link
Author

danmcgoo commented Mar 3, 2019

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

@Coeur-Noir
Copy link

Coeur-Noir commented Jun 7, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants