LMMS / LMMS/lmms

Embed Image metadata to exported .ogg files

Open
#1,245 3 comments 0 reactions 0 assignees View on GitHub
compatibility enhancement
Dominant language
C++
Stars
10.4k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
7

Description

It is possible to add an image file to exported .ogg files using the vorbis_comment function ( i just haven't figured it out yet how to implement it ), which show in several media players and as the mime for the file too ( see images below ).

---

I used easytag to embed my image for this demo*

---

notes:-
this embeds base64 as a text field, but it is not possible to embed it in the source as base64 because of // comment issues, and obviously because of the large text field that it would cause.
********
There already is a comment in the exported .oggs from LMMS, but there can be an unlimited number of entries. ********

It is possible to link the image instead of using the base64 method. Easytag uses an older deprecated function with fields ... COVERARTMIME (image/png) , COVERARTDESCRIPTION (name of the image file), and COVERART ( the file in base64 format)
********
It may be possible to avoid the mime for the .ogg file if required, but i think having the LMMS mime image will play a big part in advertising the LMMS logo.

---

pros: This will be a good form of advertisement for LMMS.
: Whenever Flac export support is eventually supported, this method should also work for that.
: .ogg files created with LMMS will be instantly recognisable to the user.

cons: I cannot think of any ;)

---

info: https://wiki.xiph.org/VorbisComment#METADATA_BLOCK_PICTURE

---

![screenshot from 2014-10-29 03 20 19](https://cloud.githubusercontent.com/assets/335217/4820690/7e722700-5f1b-11e4-8f87-8d16b9bfec06.png)
![screenshot from 2014-10-29 03 23 13](https://cloud.githubusercontent.com/assets/335217/4820691/7e784fea-5f1b-11e4-9993-b83ae65e2819.png)

thoughts anyone ?

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file, test, or export entry point is named. Start by reading the VorbisComment METADATA_BLOCK_PICTURE specification linked in the issue and locating LMMS's OGG export path. Done should mean exported OGG files contain image metadata that compatible media players display, with coverage for the relevant export behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.