[Vorbis-dev] command line perl tool to create ogg/Vorbis picture comments

Ian Malone ibmalone at gmail.com
Tue Apr 17 15:44:20 PDT 2012


On 17 April 2012 12:36, Silvia Pfeiffer <silvia at silvia-pfeiffer.de> wrote:
> On Tue, Apr 17, 2012 at 8:58 PM, Ian Malone <ibmalone at gmail.com> wrote:


>> Adding linked image handling would need some work and I'd need a bit
>> of feedback on it. Was never particularly taken with that bit of the
>> specification due to security implications for remote links and the
>> fragility of local links, has to be done carefully.
>
> Are you suggesting we have two ways of associating images with
> chapters: URLs and base64 images? If so, we should have two different
> vorbiscomment headers for these.
>

We do have two ways of associating images, this is a consequence of
using a FLAC/ID3V2-like block for the images.
http://wiki.xiph.org/VorbisComment#Linked_images added some
restrictions about what was allowed.
The tool creates the block preamble for track art as set out in
http://wiki.xiph.org/VorbisComment#METADATA_BLOCK_PICTURE

I have to admit I hadn't really been following this chapter
discussion. It looks like straight base64 encoding of the images was
suggested, I think it may be best to try and stick with the FLAC block
format, if only so people writing a Ogg comment handler have a single
type of image container to deal with. You may want to disallow links
altogether in the spec for chapter images, the only other thing that
would be required would be explicitly saying the restriction to one of
each picture type doesn't apply to different chapters.

-- 
imalone
http://ibmalone.blogspot.co.uk


More information about the Vorbis-dev mailing list