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

Ogg files do not show thumbnails in Nautilus #7

Open
heldderarbeit opened this issue May 27, 2024 · 7 comments
Open

Ogg files do not show thumbnails in Nautilus #7

heldderarbeit opened this issue May 27, 2024 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@heldderarbeit
Copy link

According to af64eae, .ogg files should be thumbnailed too. Can anyone confirm that this is the case? For I could only get the tool to show cover images for .mp3, .flac and .m4a, but never for .ogg / .oga / .opus.

I'm using https://aur.archlinux.org/packages/ffmpeg-audio-thumbnailer-git on Nautilus / GNOME Files 46.2-1. Deleting ~/.thumbnails and ~/.cache/thumbnails and restarting Nautilus does not help.

Output of ffmpeg -codecs 2> /dev/null contains

DEAIL. opus Opus (Opus Interactive Audio Codec) (decoders: opus libopus) (encoders: opus libopus)

Images were set with https://www.mp3tag.de/ and https://flathub.org/apps/app.drey.EarTag and re-reading the files shows the embedded image.

@saltedcoffii
Copy link
Owner

Could you please post a public (legal) link to a couple examples of files you're having trouble with

@heldderarbeit
Copy link
Author

@heldderarbeit
Copy link
Author

I could get .ogg thumbnails to work by adding audio/x-vorbis+ogg; to the MimeType= section.

I found the solution by examining totem.thumbnailer. There is no need for installation of the totem binary, just having the thumbnailer file is enough.

That list is pretty extensive. You might want to copy a few more audio mimetypes from there:

audio/x-pn-realaudio;audio/3gpp;audio/3gpp2;audio/aac;audio/ac3;audio/AMR;audio/AMR-WB;audio/basic;audio/dv;audio/eac3;audio/flac;audio/m4a;audio/midi;audio/mp1;audio/mp2;audio/mp3;audio/mp4;audio/mpeg;audio/mpg;audio/ogg;audio/opus;audio/prs.sid;audio/scpls;audio/vnd.rn-realaudio;audio/wav;audio/webm;audio/x-aac;audio/x-aiff;audio/x-ape;audio/x-flac;audio/x-gsm;audio/x-it;audio/x-m4a;audio/x-m4b;audio/x-matroska;audio/x-mod;audio/x-mp1;audio/x-mp2;audio/x-mp3;audio/x-mpg;audio/x-mpeg;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;audio/x-ms-wma;audio/x-musepack;audio/x-opus+ogg;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-wav;audio/x-pn-windows-acm;audio/x-realaudio;audio/x-real-audio;audio/x-s3m;audio/x-sbc;audio/x-shorten;audio/x-speex;audio/x-stm;audio/x-tta;audio/x-wav;audio/x-wavpack;audio/x-vorbis;audio/x-vorbis+ogg;audio/x-xm;application/x-flac;

@saltedcoffii
Copy link
Owner

Oh wow, thank you, this is a great resource. I'll look thru and add them

@saltedcoffii saltedcoffii self-assigned this Jun 10, 2024
@saltedcoffii saltedcoffii added the bug Something isn't working label Jun 10, 2024
@Lassebq
Copy link

Lassebq commented Jul 25, 2024

I don't get thumbnails for any files. Running the command directly does output and image though.

@Lassebq
Copy link

Lassebq commented Jul 25, 2024

Using ffmpegthumbnailer with the addition of audio mimes to the .thumbnailer file also works.

@Lassebq
Copy link

Lassebq commented Jul 25, 2024

Nevermind. Works fine in nautilus but not nemo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants