Support and General Use > User Interface and Voice

Album art dispalying in black and white

<< < (2/2)

Frankenpod:

--- Quote from: NO_ob on August 14, 2024, 10:16:33 AM ---opening that in gimp and saving as non progressive jpeg does make colors work just gotta find a way to make yt-dlp do it

--- End quote ---

Pretty sure there are utilities that can mass convert all the images in a folder-tree from progressive jpg to normal jpg.  I did that at one point (at the same time as converting all the png album art, which also isn't RB-friendly).  Only had to do it as a one-off, though, and can't now remember what utility I used for it.  Some freeware/open-source art utility.

NO_ob:
ill take a look at that, just been looking at the source for yt-dlp it is using ffmpeg to create the thumbnails and creating a jpeg using mjpeg2jpeg, maybe this isn't creating jepgs correctly? atleast for the rockbox decoder

https://www.ffmpeg.org/ffmpeg-bitstream-filters.html#mjpeg2jpeg

NO_ob:
Managed to get working album art, it uses image magick to modify the thumbnail and then embeds it with eyeD3


yt-dlp -v --convert-thumb jpg --exec after_move:"magick -- %(thumbnails.-1.filepath)q -gravity Center -extent 1:1 %(thumbnails.-1.filepath)q && eyeD3 %(filepath)q --add-image %(thumbnails.-1.filepath)q:FRONT_COVER && rm %(thumbnails.-1.filepath)q" --write-thumb -x --audio-format mp3 --audio-quality 320k "https://www.youtube.com/watch?v=YHDfpBwxeVU"

Navigation

[0] Message Index

[*] Previous page

Go to full version