Include an image in ogg |
![]() ![]() |
Include an image in ogg |
Feb 14 2007, 21:39
Post
#1
|
|
|
Group: Members Posts: 12 Joined: 14-February 07 Member No.: 40630 |
Hi all,
where would i find some references on how to include an image (cover art) in a ogg file, using a command line tool for linux (oggenc) ? I need to know which size are allowed/suggested, which formats (jpg or png), etc. Thanks for your help! |
|
|
|
Feb 16 2007, 10:14
Post
#2
|
|
![]() Group: Members Posts: 1455 Joined: 22-November 05 From: Jakarta Member No.: 25929 |
IIRC Ogg Vorbis spec does not explicitly support coverart embedding in the .ogg file.
That said, if you really want to embed a coverart, you can embed a Base64-encoded file into your own custom tag. -------------------- Nobody is Perfect.
I am Nobody. http://pandu.poluan.info |
|
|
|
Feb 20 2007, 07:19
Post
#3
|
|
![]() Group: Members Posts: 218 Joined: 12-October 01 Member No.: 278 |
Okay, I suppose people are aware thatMP3Tag and Softpointer Audioshell both permit one to embed a jpg, but neither will detect what the other did. So, is it a waste of effort to attempt it with either?
I'm interested mainly because the Canola player for Nokia N800 seems to be able to display art -- it looks great with MP3s. |
|
|
|
Feb 20 2007, 08:08
Post
#4
|
|
![]() Group: Members Posts: 1303 Joined: 14-September 05 From: Helsinki, Finland Member No.: 24472 |
Okay, I suppose people are aware thatMP3Tag and Softpointer Audioshell both permit one to embed a jpg, but neither will detect what the other did. So, is it a waste of effort to attempt it with either? J. River Media Center (ver. 9 - 12) has used the Base64 system for years. It can convert a binary image to Base64 encoded text so that it can be placed in a Vorbis comment. JRMC can display embedded Ogg Vorbis cover art in its thumbnail views and visualizations. Softpointer has adopted this Base64 system too (Tag&Rename and AudioShell). Florian's Mp3tag (http://www.mp3tag.de/en/) does not allow adding cover art to Vorbis comments (yet?). Perhaps you mean some other program with "MP3Tag". -------------------- http://listening-tests.freetzi.com
|
|
|
|
Feb 20 2007, 19:59
Post
#5
|
|
![]() Group: Members Posts: 218 Joined: 12-October 01 Member No.: 278 |
Florian's Mp3tag (http://www.mp3tag.de/en/) does not allow adding cover art to Vorbis comments (yet?). Perhaps you mean some other program with "MP3Tag". I did mean Florian's project: I right-click on the CD pic at lower left, select image, and write tag to file. When one views the files in MP3Tag, the cover is displayed. This was with development builds e and f of this month. |
|
|
|
Feb 20 2007, 20:35
Post
#6
|
|
![]() Group: Members Posts: 2525 Joined: 25-July 02 From: South Korea Member No.: 2782 |
IIRC Ogg Vorbis spec does not explicitly support coverart embedding in the .ogg file. That said, if you really want to embed a coverart, you can embed a Base64-encoded file into your own custom tag. I think that's because the Ogg spec implictly supports cover-art embedding, because you can mux any file in an .ogg file. -------------------- http://blacksun.ivyro.net/vorbis/vorbisfaq.htm
|
|
|
|
Feb 21 2007, 00:10
Post
#7
|
|
![]() Group: Members Posts: 484 Joined: 8-January 06 From: Earth Member No.: 26978 |
I think that's because the Ogg spec implictly supports cover-art embedding, because you can mux any file in an .ogg file. Exactly, but I don't know of anything that can mux a picture in. -------------------- Vorbis-q0-lowpass99
lame3.93.1-q5-V9-k-nspsytune |
|
|
|
Feb 21 2007, 02:39
Post
#8
|
|
![]() Group: Members Posts: 1303 Joined: 14-September 05 From: Helsinki, Finland Member No.: 24472 |
I did mean Florian's project: I right-click on the CD pic at lower left, select image, and write tag to file. When one views the files in MP3Tag, the cover is displayed. This was with development builds e and f of this month. I tested that before posting. The lower left corner display has a bug. It should not allow adding cover art because that feature is not available with Ogg Vorbis files. After adding an image the display shows it momentarily, but on next data refresh it is gone. In the "Extented Tags" window you can see the reality. The cover art options are disabled. (Mp3tag v.2.37f) -------------------- http://listening-tests.freetzi.com
|
|
|
|
Feb 21 2007, 03:01
Post
#9
|
|
![]() Group: Developer Posts: 1317 Joined: 20-March 04 From: Göttingen (DE) Member No.: 12875 |
I think that's because the Ogg spec implictly supports cover-art embedding, because you can mux any file in an .ogg file. Now when you say "mux".... You can certainly produce valid Ogg streams with additional data muxed as another logical stream. But this will make most if not all Vorbis players reject the stream (they don't like non-Vorbis streams). Also, due to the lack of a specification of how to embed pictures there's no right or wrong. Don't expect Vorbis players to recognise something you've just made up. You can certainly base64-encode a JPEG image and include it as a tag. It seems a wannabe-quasi-standard has already evolved. But since this isn't official either there's a slim chance that files with cover art embedded as base64-encoded tag can cause some players to behave in a weird fashion. For instance, if your player doesn't expect such really loooong ascii tags and likes to display all of'em by default you'll see a lot of garbage on your screen... Though I personally don't like the 2nd solution (the comment packet is misused) it looks like the best approach which doesn't break too much. Edit: Ogg Skeleton may be a way to describe a secondary stream (holding a picture) as album art in the distant future. Cheers! SG This post has been edited by SebastianG: Feb 24 2007, 19:40 |
|
|
|
Feb 22 2007, 09:18
Post
#10
|
|
|
Group: Members Posts: 498 Joined: 2-October 01 Member No.: 168 |
Uhm... not so clear:
1. is there any tool to achieve this ? 2. which players are able to display the embedded pic, then ? |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 05:55 |