IPB

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
Album art in Ogg Vorbis?, how to set tags?
Wintershade
post Sep 16 2006, 16:59
Post #1





Group: Members
Posts: 138
Joined: 27-July 04
Member No.: 15817



I'm using Tag&Rename, and with my mp3 files there's no problem with giving album art tag (so my Rockbox shows me album art when I listen to them). How to set those tags in Ogg Vorbis (or FLAC) files? Is it even possible?

Thanks.


--------------------
Only the best is good enough.
Go to the top of the page
+Quote Post
...Just Elliott
post Sep 16 2006, 18:05
Post #2





Group: Members
Posts: 446
Joined: 13-August 06
Member No.: 34002



gzip the image data and base64 it, but nothing supports displaying that afaik right now, so right now there's no way


--------------------
err... i'm not using windows any more ;)
Go to the top of the page
+Quote Post
spoon
post Sep 16 2006, 19:27
Post #3


dBpowerAMP developer


Group: Developer (Donating)
Posts: 2653
Joined: 24-March 02
Member No.: 1615



It needs the creators (even if vorbis were not forthcoming, then atleast FLAC to say this is the way for it to become a standard). FLAC and ogg are one of the few formats that do not support album art...

>gzip the image data and base64 it

Why gzip? png and jpg are as small you can get the files.


--------------------
Spoon http://www.dbpoweramp.com
Go to the top of the page
+Quote Post
pepoluan
post Sep 17 2006, 06:52
Post #4





Group: Members
Posts: 1455
Joined: 22-November 05
From: Jakarta
Member No.: 25929



I think the designers of Vorbis Comment decides that album art should always be in a separate file... which makes sense actually; why should embed the same picture in 15 tracks coming from the same album?

That said, the workaround is yes, by Base64-ing the image file and push it into a custom tag... maybe we can have an unofficial standard here? What should the tag be called? Later perhaps the maker of album-art scanners can scan for this tag within Vorbis Comments.


--------------------
Nobody is Perfect.
I am Nobody.

http://pandu.poluan.info
Go to the top of the page
+Quote Post
spoon
post Sep 17 2006, 11:42
Post #5


dBpowerAMP developer


Group: Developer (Donating)
Posts: 2653
Joined: 24-March 02
Member No.: 1615



>picture in 15 tracks coming from the same album?

Right, the average FLAC file might be 25MB, a png album art could be 10KB...padding on most tag formats (at the front of the file) are almost as large as album art.


--------------------
Spoon http://www.dbpoweramp.com
Go to the top of the page
+Quote Post
guruboolez
post Sep 17 2006, 12:40
Post #6





Group: Members (Donating)
Posts: 3474
Joined: 7-November 01
From: Strasbourg (France)
Member No.: 420



If you create your own compilation, separate .jpg files as album art won't work. Hence the need to embed them into the audio files.
Go to the top of the page
+Quote Post
HbG
post Sep 18 2006, 00:35
Post #7





Group: Members
Posts: 289
Joined: 12-May 03
From: The Hague
Member No.: 6555



It'd be nice if the standard for album art would be to only read it from the first track of an album, or if tags could reference tags in other files.

Then again like Spoon says, it's not much. Unless you have the odd Marilyn Manson CD with 99 empty tracks....

I think it's a shortsighted to omit art support as a design decision, what about streaming, or offering an album as a single vorbis file with chapters for download?


--------------------
Veni Vidi Vorbis.
Go to the top of the page
+Quote Post
pepoluan
post Sep 18 2006, 15:40
Post #8





Group: Members
Posts: 1455
Joined: 22-November 05
From: Jakarta
Member No.: 25929



QUOTE (spoon @ Sep 17 2006, 17:42) *
>picture in 15 tracks coming from the same album?

Right, the average FLAC file might be 25MB, a png album art could be 10KB...padding on most tag formats (at the front of the file) are almost as large as album art.
QUOTE (guruboolez @ Sep 17 2006, 18:40) *
If you create your own compilation, separate .jpg files as album art won't work. Hence the need to embed them into the audio files.

Hmm, you both have a point here.

That said, I would rather have a separate, high-resolution album arts (i.e. BIG files) in a specific folder, and instruct the player (i.e. foobar2000 with albumart plugin) to seek the album art in that folder.

This post has been edited by pepoluan: Sep 18 2006, 15:41


--------------------
Nobody is Perfect.
I am Nobody.

http://pandu.poluan.info
Go to the top of the page
+Quote Post
audiomars
post Sep 20 2006, 06:38
Post #9





Group: Members
Posts: 135
Joined: 16-September 05
From: India
Member No.: 24505



QUOTE (HbG @ Sep 18 2006, 05:05) *
----snip----
I think it's a shortsighted to omit art support as a design decision, what about streaming, or offering an album as a single vorbis file with chapters for download?
----snip----


I agree with you. I do not think there is anything wrong in allowing the user to choose whether album art is to be used or not. This kind of inflexible attitude will almost certainly result in users trying to find hacks and ultimately the project ends up fragmented. I certainly do not wish to see that happen as it is such a good format. On the one hand, the developers talk about making the format popular, yet on the other hand, they continue to be inflexible regarding an issue which is quite simple to resolve and which could broaden usage.

@pepoluan: Having an album art tag does not mean that you have to necessarily use it. You can still use foobar to bring your high-res artwork. However, it would make sense using it on a portable where the display is going to be small and you would like to make maximum use of the available space. 10kb or so per track is not a bad trade-off. Like I said earlier, the issue is quite easy to resolve: Enable usage of the album art tag and let the user decide.

writemars


--------------------
Reason is immortal, all else mortal
- Pythagoras
Go to the top of the page
+Quote Post
kjoonlee
post Sep 20 2006, 07:10
Post #10





Group: Members
Posts: 2525
Joined: 25-July 02
From: South Korea
Member No.: 2782



Nooooooooo.... Album art is meant to be muxed in. There's code in the Xiph SVN repository for muxing in MIDI, MNG (and PNG), IIRC.

Ogg (Vorbis, Ogg FLAC, and Speex) have always supported album art. It just hasn't caught on.

PS. It's even in the FAQ.

http://www.vorbis.com/faq/#container
QUOTE
Can I bundle Vorbis and another media type (like text lyrics or pictures) in the same file?

Yes. The Ogg container format was designed to allow different media types to be multiplexed together; Theora will be mixed with Vorbis audio in an Ogg container to encode movies.

In addition, FLAC can be embedded in Ogg and some preliminary work has been done to put MNG and MIDI content into Ogg files as well.Experimental code is available in the ogg-tools module in the Xiph.org CVS repository. Programmers working on such extensions can discuss issues and questions on the vorbis-dev mailing list.


--------------------
http://blacksun.ivyro.net/vorbis/vorbisfaq.htm
Go to the top of the page
+Quote Post
spoon
post Sep 20 2006, 10:41
Post #11


dBpowerAMP developer


Group: Developer (Donating)
Posts: 2653
Joined: 24-March 02
Member No.: 1615



Had a look in cvs (ogg-tools) and dev list, could not see any reference to embedded pictures. Can find the Midi stream, nothing on images...

This post has been edited by spoon: Sep 20 2006, 11:13


--------------------
Spoon http://www.dbpoweramp.com
Go to the top of the page
+Quote Post
kjoonlee
post Sep 20 2006, 15:20
Post #12





Group: Members
Posts: 2525
Joined: 25-July 02
From: South Korea
Member No.: 2782



I'm sure there used to be code for that, but I haven't looked.

There's some newer code at /experimental/giles/mng/ in the repository, IIRC.


--------------------
http://blacksun.ivyro.net/vorbis/vorbisfaq.htm
Go to the top of the page
+Quote Post
spoon
post Sep 21 2006, 13:19
Post #13


dBpowerAMP developer


Group: Developer (Donating)
Posts: 2653
Joined: 24-March 02
Member No.: 1615



Thanks there seems to be something there, embedding MNG and PNG.


--------------------
Spoon http://www.dbpoweramp.com
Go to the top of the page
+Quote Post
PatchWorKs
post Sep 21 2006, 15:07
Post #14





Group: Members
Posts: 498
Joined: 2-October 01
Member No.: 168



QUOTE (pepoluan @ Sep 17 2006, 07:52) *
why should embed the same picture in 15 tracks coming from the same album?


You're right, but if i have just 1 file with a whole album ? blink.gif

I'm really interested in embedding covers, lyrics, etc... any advice ?
Go to the top of the page
+Quote Post
Alex B
post Sep 30 2006, 21:59
Post #15





Group: Members
Posts: 1303
Joined: 14-September 05
From: Helsinki, Finland
Member No.: 24472



J. River Media Center has been able to embed cover art to Ogg Vorbis files for years. I suppose their system is proprietary and not compatible with anything else. I added a sample to my "APEv2 cover art" samples upload thread: http://www.hydrogenaudio.org/forums/index....showtopic=40860


--------------------
http://listening-tests.freetzi.com
Go to the top of the page
+Quote Post
kjoonlee
post Oct 1 2006, 04:01
Post #16





Group: Members
Posts: 2525
Joined: 25-July 02
From: South Korea
Member No.: 2782



CODE
COVERARTMIME=image/jpeg
COVERART=/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAHgAA/+4ADkFkb2JlAGTAAAAAAf/bAIQAEAsLCwwLEAwMEBcPDQ8XGxQQEBQbHxcXFxcXHx4XGhoaGhceHiMlJyUjHi8vMzMvL0BAQEBAQEBAQEBAQEBAQAERDw8RExE
VEhIVFBEUERQaFBYWFBomGhocGhomMCMeHh4eIzArLicnJy4rNTUwMDU1QEA/QEBAQEBAQEBAQEBA/8AAEQgAUABQAwEiAAIRAQMRAf/EAIQAAAIDAQEBAAAAAAAAAAAAAAAFAQMGBAIHAQEBAQEAAAAAAAAAAAAAAAAAAgEDEAACAQ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RJNC8Li6SKUYdzCxrJelZ3120ydPkmxc+S/AF09n9l41sKzHqvUysU2+FcTwWMvTzsvFXHev091THKeSpYawU+qsOfDzYd5icCpUSn2MvBSe5h5T+taXEnXOw4p2jKCVQxjkHEH
3GqtZPLna6KXMh/G8i+eNgLN/K3sPPjXbRu1Hg1K9eIUUUVJpTNIuLjPIqXWMFuhBSrS48k+RJsZ+bEhO8nmR3DlTqqMqRsbEd4I+ooPKg4AeHdVxlROKV5WqTKN1
J6RvQVbyY5GRDgRcWuC39m4L8BTqKNYokiX9qKFHgLUp02DIXbPybmSS5jvz83NvGnNb5GlSC268zIJusnu9gooormWFFFFAFFFF
A
FFFFARU0UUB//2Q==
MEDIAJUKEBOX:TOOL NAME=Media Center
MEDIAJUKEBOX:TOOL VERSION=11.1.197
GENRE=Funk
MEDIAJUKEBOX:DATE=38718
DATE=2006
TITLE=A 4s sample for testing embedded cover art
TRACKNUMBER=1
COMMENT=a nice comment
ARTIST=Who Knows
ALBUM=The Test Album


This post has been edited by kjoonlee: Oct 1 2006, 04:02


--------------------
http://blacksun.ivyro.net/vorbis/vorbisfaq.htm
Go to the top of the page
+Quote Post
spoon
post Oct 1 2006, 09:06
Post #17


dBpowerAMP developer


Group: Developer (Donating)
Posts: 2653
Joined: 24-March 02
Member No.: 1615



Maybe base64 encoding.


--------------------
Spoon http://www.dbpoweramp.com
Go to the top of the page
+Quote Post
kjoonlee
post Oct 1 2006, 09:06
Post #18





Group: Members
Posts: 2525
Joined: 25-July 02
From: South Korea
Member No.: 2782



Yep, it's base64. It's the HA logo. smile.gif


--------------------
http://blacksun.ivyro.net/vorbis/vorbisfaq.htm
Go to the top of the page
+Quote Post
paultaylor
post Aug 6 2007, 09:26
Post #19





Group: Members
Posts: 109
Joined: 27-January 05
Member No.: 19366



QUOTE (kjoonlee @ Oct 1 2006, 09:06) *
Yep, it's base64. It's the HA logo. smile.gif


Hi do you know what applications use the base64 method (this seems a simple and elegant method) ?

Ive more or less completed a Java mp3/id3 tag library (www.jthink.net/jaudiotagger) and I'm now trying to support Ogg/Vorbis. I looked up the faq regarding adding images as a separate muxed file, and its certainly not clear that this is the preferred method for album art. It certainly seems alot more complicated than the base64 method and unless any players actually support it would be a complete waste of time implementing. The store image art in the same folder option is not very portable, especially if you want to move files to a hardware player that might not pick up image files. Even if the hardware player doesn't support displaying image art in ogg currently, it may do later with a firmware upgrade.
Go to the top of the page
+Quote Post
pepoluan
post Aug 6 2007, 11:26
Post #20





Group: Members
Posts: 1455
Joined: 22-November 05
From: Jakarta
Member No.: 25929



After the prior discussion, and based on your points, I do believe the best way is to embed a base64-encoded .png file into the Comments.


--------------------
Nobody is Perfect.
I am Nobody.

http://pandu.poluan.info
Go to the top of the page
+Quote Post
paultaylor
post Aug 6 2007, 13:38
Post #21





Group: Members
Posts: 109
Joined: 27-January 05
Member No.: 19366



QUOTE (pepoluan @ Aug 6 2007, 11:26) *
After the prior discussion, and based on your points, I do believe the best way is to embed a base64-encoded .png file into the Comments.


Cool, so what software is doing this already ?
Go to the top of the page
+Quote Post
gottkaiser
post Aug 6 2007, 15:21
Post #22





Group: Members
Posts: 170
Joined: 7-January 05
From: Germany
Member No.: 18891



QUOTE (paultaylor @ Aug 6 2007, 14:38) *
Cool, so what software is doing this already ?

AudioShell supports cover art in ogg and speex files (base64 encoded).
Go to the top of the page
+Quote Post
stigc
post Aug 6 2007, 16:36
Post #23





Group: Members
Posts: 142
Joined: 13-December 04
Member No.: 18660



Which tag name does it use? Any other software doing this?
Go to the top of the page
+Quote Post
paultaylor
post Aug 7 2007, 18:01
Post #24





Group: Members
Posts: 109
Joined: 27-January 05
Member No.: 19366



QUOTE (stigc @ Aug 6 2007, 16:36) *
Which tag name does it use? Any other software doing this?


I just tried it, it adds two fields (seem to be the same as fields discussed earlier), the mimetype and the base64 fields:

COVERARTMIME=image/jpeg
COVERART=..................


works nicely actually.

I wonder is the COVERARTMIME field mandatory, I think an intelligent Image Decoder should be to work out the image type from the image header in the image data (once it had reversed the base64)
Go to the top of the page
+Quote Post
Alex B
post Aug 7 2007, 19:18
Post #25





Group: Members
Posts: 1303
Joined: 14-September 05
From: Helsinki, Finland
Member No.: 24472



QUOTE
Cool, so what software is doing this already ?

QUOTE
Which tag name does it use? Any other software doing this?

As I mentioned earlier, J River Media Center has been able to do this for years (I think they added this feature in 2002).

It may still be the only player program that can show such cover art automatically as file & album thumbnails and in a display visualization during playback.

However, I wouldn't recommended mass storing image files in the Vorbis comments without testing the system with all intended SW & HW players. Not all players work correctly when an ogg file has this kind of big comment frame.


--------------------
http://listening-tests.freetzi.com
Go to the top of the page
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th May 2013 - 03:48