Skip to content

Fix cover art embedded as a plain video stream - #219

Open
kgrubb wants to merge 1 commit into
LumePart:devfrom
kgrubb:fix/cover-art-attached-pic
Open

Fix cover art embedded as a plain video stream#219
kgrubb wants to merge 1 commit into
LumePart:devfrom
kgrubb:fix/cover-art-attached-pic

Conversation

@kgrubb

@kgrubb kgrubb commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

This fixes embedded cover art for non-MP3 output such as M4A. ffmpeg currently re-encodes the image as a normal video stream. Copying it and setting attached_pic makes players and library scanners recognize it as album art.

Verified with ffprobe on M4A output:

before: codec_name=h264   attached_pic=0
after:  codec_name=mjpeg  attached_pic=1

@kgrubb
kgrubb force-pushed the fix/cover-art-attached-pic branch from 4d83aad to 82239f3 Compare August 6, 2026 15:39
@kgrubb kgrubb changed the title Fix cover art being embedded as a plain video stream Fix cover art embedded as a plain video stream Aug 6, 2026
ffmpeg was re-encoding cover art as a normal video stream, so players did
not recognize it as album art. Copy the image and mark it as attached_pic.
@kgrubb
kgrubb force-pushed the fix/cover-art-attached-pic branch from 82239f3 to 3882304 Compare August 6, 2026 16:06
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

Successfully merging this pull request may close these issues.

1 participant