ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: wampek on July 07, 2010, 04:56:55 PM

Title: FLAC covers not showing and therefore can't be extracted
Post by: wampek on July 07, 2010, 04:56:55 PM
Hello.

Very nice application. Works out of the box on NAS devices with perl.

I have a question about FLAC file detection. I would like to extract cover art inside FLAC file but its not even listed.

I am using exiftool 8.24 and the current output of a FLAC file that 100% has a cover art inside is:

ExifTool Version Number         : 8.24
File Name                       : 12. Vanilla Ninja - Silence.flac
Directory                       : /tmp
File Size                       : 30 MB
File Modification Date/Time     : 2010:07:07 21:14:37+02:00
File Permissions                : rwxrwxrwx
File Type                       : FLAC
MIME Type                       : audio/flac
Block Size Min                  : 4096
Block Size Max                  : 4096
Frame Size Min                  : 764
Frame Size Max                  : 13855
Sample Rate                     : 44100
Channels                        : 2
Bits Per Sample                 : 16
Total Samples                   : 11982264
Vendor                          : reference libFLAC 1.2.1 20070917
Comment                         : Track 12
Title                           : Silence
Artist                          : Vanilla Ninja
Album                           : Love Is War
Genre                           : Rock
Discogs Release Id              : 1140552
Discogs Catalog                 : 0946 3 62719 2 7
Mediatype                       : CD, Album, Copy Protected
Discogs Country                 : Europe
Style                           : Pop Rock
Date                            : 2006
Organization                    : Capitol Music
Track Number                    : 12
Duration                        : 04:31


Using alternative application to check for info in FLAC file shows me:

General
Complete name                    : /tmp/12. Vanilla Ninja - Silence.flac
Format                           : FLAC
Format/Info                      : Free Lossless Audio Codec
File size                        : 29.6 MiB
Duration                         : 4mn 31s
Overall bit rate                 : 915 Kbps
Album                            : Love Is War
Track name                       : Silence
Track name/Position              : 12
Performer                        : Vanilla Ninja
Producer                         : Capitol Music
Genre                            : Rock
Recorded date                    : 2006
Cover                            : Yes
Cover type                       : Cover (front)
Cover MIME                       : image/jpeg
Comment                          : Track 12
Discogs_Release_ID               : 1140552
Discogs_Catalog                  : 0946 3 62719 2 7
Mediatype                        : CD, Album, Copy Protected
Discogs_Country                  : Europe
Style                            : Pop Rock

Audio
Format                           : FLAC
Format/Info                      : Free Lossless Audio Codec
Duration                         : 4mn 31s
Bit rate mode                    : Variable
Bit rate                         : 911 Kbps
Channel(s)                       : 2 channels
Sampling rate                    : 44.1 KHz
Bit depth                        : 16 bits
Stream size                      : 29.5 MiB (100%)
Writing library                  : libFLAC 1.2.1 (UTC 2007-09-17)


As you can see cover gets detected with that application, just not by exiftool.

Is it possible to add this in next version?

Thank you.
Title: Re: FLAC covers not showing and therefore can't be extracted
Post by: Phil Harvey on July 08, 2010, 06:25:23 AM
Thanks for this report.

If you can either attach a sample or post a URL where I can download a sample then I should be able to add support for extracting this.

- Phil
Title: Re: FLAC covers not showing and therefore can't be extracted
Post by: wampek on July 08, 2010, 08:02:58 AM
Sent you a private message in forum with URL to one of the FLAC file with cover inside.

Thank you again.
Title: Re: FLAC covers not showing and therefore can't be extracted
Post by: Phil Harvey on July 09, 2010, 07:38:51 AM
Thanks for the sample.  I'll see what I can do to add this feature to the next release.

- Phil
Title: Re: FLAC covers not showing and therefore can't be extracted
Post by: Phil Harvey on July 13, 2010, 08:40:12 AM
There you go.  Version 8.25 (just released) should extract this information.

- Phil
Title: Re: FLAC covers not showing and therefore can't be extracted
Post by: ryerman on July 13, 2010, 09:01:57 PM
Thanks Phil.

I also appreciate this feature for FLAC files.
Works fine for me.

Jim

[edit: remove blank lines]
Title: Re: FLAC covers not showing and therefore can't be extracted
Post by: wampek on July 21, 2010, 02:28:50 AM
Thank you. Works perfectly.