Cover of flac file

grisha grish.vanika at gmail.com
Tue Oct 23 11:30:24 UTC 2012


Lukáš Lalinský <lalinsky <at> gmail.com> writes:

> 
> On Tue, Oct 16, 2012 at 7:26 PM, Гриша Ваника <grish.vanika <at> gmail.com> 
wrote:
> > But it doesn't work. Function pictureList() of TagLib::FLAC::File always
> > return empty list (file is valid and has cover) and file does not have ID3v2
> > tag.
> >
> > I test it on Windows 32 bit and Ubuntu 12.04 32 bit ( TagLib 1.8 ). Can you
> > help me?
> 
> Are you sure the file has the images attached the official way? Can
> you run metaflac --list on the file and post the results? It should
> have a block of type "6 (PICTURE)" in it.
> 

Hi,

metaflac --list result

METADATA block #0
  type: 0 (STREAMINFO)
  is last: false
  length: 34
  minumum blocksize: 4608 samples
  maximum blocksize: 4608 samples
  minimum framesize: 14 bytes
  maximum framesize: 14996 bytes
  sample_rate: 44100 Hz
  channels: 2
  bits-per-sample: 16
  total samples: 11345460
  MD5 signature: 094da33116633a08ee23b8b622585e82
METADATA block #1
  type: 4 (VORBIS_COMMENT)
  is last: false
  length: 37420
  vendor string: reference libFLAC 1.1.2 20050205
  comments: 7
    comment[0]: DATE=1983
    comment[1]: ALBUM=Kill 'Em All
    comment[2]: ARTIST=Metallica
    comment[3]: GENRE=Metal
    comment[4]: TITLE=Hit The Lights
    comment[5]: TRACKNUMBER=1
    comment[6]: METADATA_BLOCK_PICTURE=AAAAAAAAAA etc...
METADATA block #2
  type: 1 (PADDING)
  is last: true
  length: 4096

What should I do to get the picture in this case?
Thank you.



More information about the taglib-devel mailing list